@remnic/core 9.43.0 → 9.45.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 (258) hide show
  1. package/dist/access-admin-ops-surface.d.ts +5 -5
  2. package/dist/access-admin-ops-surface.js +42 -41
  3. package/dist/access-authorization-probe.d.ts +5 -5
  4. package/dist/access-authorization-probe.js +43 -42
  5. package/dist/access-boundary.d.ts +5 -5
  6. package/dist/access-boundary.js +42 -41
  7. package/dist/access-cli.js +100 -97
  8. package/dist/access-cli.js.map +1 -1
  9. package/dist/access-extraction-force-flush.d.ts +5 -5
  10. package/dist/access-extraction-force-flush.js +42 -41
  11. package/dist/access-http-lcm-compaction.d.ts +5 -5
  12. package/dist/access-http-lifecycle-flush.d.ts +5 -5
  13. package/dist/access-http-query.d.ts +8 -0
  14. package/dist/access-http-query.js +180 -0
  15. package/dist/access-http.d.ts +5 -5
  16. package/dist/access-http.js +51 -49
  17. package/dist/access-identity-continuity-surface.d.ts +4 -4
  18. package/dist/access-identity-continuity-surface.js +42 -41
  19. package/dist/access-lcm-surface.d.ts +5 -5
  20. package/dist/access-lcm-surface.js +42 -41
  21. package/dist/access-mcp.d.ts +5 -5
  22. package/dist/access-mcp.js +47 -46
  23. package/dist/access-namespace-preflight.js +42 -41
  24. package/dist/access-observe-write-surface.d.ts +5 -5
  25. package/dist/access-observe-write-surface.js +42 -41
  26. package/dist/access-operations-batch.js +44 -43
  27. package/dist/access-operations.d.ts +8 -8
  28. package/dist/access-operations.js +46 -45
  29. package/dist/access-recall-concurrency.d.ts +5 -5
  30. package/dist/access-recall-concurrency.js +42 -41
  31. package/dist/access-recall-response.d.ts +5 -5
  32. package/dist/access-recall-response.js +42 -41
  33. package/dist/access-recall-surface.d.ts +5 -5
  34. package/dist/access-recall-surface.js +42 -41
  35. package/dist/access-schema.d.ts +84 -84
  36. package/dist/access-schema.js +3 -3
  37. package/dist/{access-service-D1BkxwSf.d.ts → access-service-DBo88Dmm.d.ts} +14 -4
  38. package/dist/access-service-helpers.d.ts +5 -5
  39. package/dist/access-service.d.ts +5 -5
  40. package/dist/access-service.js +42 -41
  41. package/dist/access-surface-catalog.d.ts +5 -5
  42. package/dist/access-surface-catalog.js +5 -0
  43. package/dist/access-surface-catalog.js.map +1 -1
  44. package/dist/access-wearables-meetings-surface.d.ts +2 -2
  45. package/dist/{auto-sync-UPTUVE4X.js → auto-sync-5OE5QOZB.js} +3 -3
  46. package/dist/bootstrap.d.ts +4 -4
  47. package/dist/briefing.d.ts +1 -1
  48. package/dist/briefing.js +9 -8
  49. package/dist/buffer.d.ts +1 -1
  50. package/dist/buffer.js +6 -6
  51. package/dist/causal-behavior.js +2 -2
  52. package/dist/causal-chain.js +2 -2
  53. package/dist/causal-consolidation.js +13 -12
  54. package/dist/causal-consolidation.js.map +1 -1
  55. package/dist/causal-retrieval.js +2 -2
  56. package/dist/causal-trajectory-graph.js +2 -2
  57. package/dist/causal-trajectory.js +1 -1
  58. package/dist/{chunk-LEPOP46W.js → chunk-227UFSEQ.js} +4 -4
  59. package/dist/{chunk-CMENJQ6I.js → chunk-2QR2RRH6.js} +2 -2
  60. package/dist/{chunk-ZERSIPFC.js → chunk-3HKQOFOV.js} +22 -20
  61. package/dist/{chunk-ZERSIPFC.js.map → chunk-3HKQOFOV.js.map} +1 -1
  62. package/dist/{chunk-4DYBLQZC.js → chunk-3HLCRYBV.js} +3 -3
  63. package/dist/{chunk-L2DPF4DF.js → chunk-3SHB4YAW.js} +4 -4
  64. package/dist/{chunk-UV72DEZD.js → chunk-4B77XSG5.js} +5 -5
  65. package/dist/{chunk-GUQYMOPU.js → chunk-4LMA77JH.js} +5 -5
  66. package/dist/{chunk-Q53RLEW7.js → chunk-5SM35XZR.js} +2 -2
  67. package/dist/{chunk-YJHU5B3M.js → chunk-5YGO5VEH.js} +2 -2
  68. package/dist/{chunk-AX2J2LC4.js → chunk-5ZE7QHTK.js} +2 -2
  69. package/dist/{chunk-5QZEVMLY.js → chunk-65V4K4MT.js} +56 -38
  70. package/dist/chunk-65V4K4MT.js.map +1 -0
  71. package/dist/{chunk-YFHMW37V.js → chunk-6CZPDBJS.js} +5 -5
  72. package/dist/{chunk-BI6RE2ZS.js → chunk-6OLQJJYE.js} +2 -2
  73. package/dist/chunk-6UWB5PTR.js +413 -0
  74. package/dist/chunk-6UWB5PTR.js.map +1 -0
  75. package/dist/chunk-6ZYQ36IB.js +30 -0
  76. package/dist/chunk-6ZYQ36IB.js.map +1 -0
  77. package/dist/{chunk-GS5UVGQK.js → chunk-7JO6RVBI.js} +6 -6
  78. package/dist/{chunk-MBTPUVHZ.js → chunk-7PVFOFPJ.js} +2 -2
  79. package/dist/{chunk-KPJQTSRJ.js → chunk-C7EI7CA6.js} +2 -2
  80. package/dist/{chunk-NRV4Y3PM.js → chunk-CAGPP5NB.js} +1 -1
  81. package/dist/{chunk-NF3U3MPG.js → chunk-ECK75GDJ.js} +2 -2
  82. package/dist/{chunk-KDXD2AM6.js → chunk-FLBPATMZ.js} +44 -44
  83. package/dist/{chunk-OEXKYYVH.js → chunk-FVGQ5LIS.js} +6 -6
  84. package/dist/{chunk-AR2FSZBP.js → chunk-G24XIK6H.js} +2 -2
  85. package/dist/{chunk-5TOV3D6U.js → chunk-GBJJUPNV.js} +6 -6
  86. package/dist/{chunk-UP67AFRN.js → chunk-GOPWZYZH.js} +29 -29
  87. package/dist/chunk-GOPWZYZH.js.map +1 -0
  88. package/dist/{chunk-EPQ76W5T.js → chunk-GQBZ7EVF.js} +2 -2
  89. package/dist/{chunk-BGXHVOBI.js → chunk-HLPD7B7P.js} +2 -2
  90. package/dist/{chunk-KQAFEZQX.js → chunk-IPLYGWQF.js} +5 -5
  91. package/dist/{chunk-JDXDA5OO.js → chunk-J4OKD6QX.js} +2 -2
  92. package/dist/{chunk-LZ5JKQCS.js → chunk-JZ7SSAQ5.js} +3 -3
  93. package/dist/chunk-K6OTW3TP.js +24 -0
  94. package/dist/chunk-K6OTW3TP.js.map +1 -0
  95. package/dist/{chunk-EHKDORQN.js → chunk-NVRYW264.js} +9 -9
  96. package/dist/{chunk-MU7ZHSZE.js → chunk-PO5LSKQO.js} +2 -2
  97. package/dist/{chunk-ONHRRJZM.js → chunk-QJAQNXWI.js} +6 -6
  98. package/dist/{chunk-WGCTFGLW.js → chunk-QQ3NDJOM.js} +3 -3
  99. package/dist/{chunk-BEQOZOYZ.js → chunk-RVLJEII5.js} +30 -511
  100. package/dist/chunk-RVLJEII5.js.map +1 -0
  101. package/dist/chunk-S5SLVSVY.js +517 -0
  102. package/dist/chunk-S5SLVSVY.js.map +1 -0
  103. package/dist/{chunk-QY66HJ4X.js → chunk-SS7YWVPF.js} +5 -5
  104. package/dist/{chunk-ZVVASRUT.js → chunk-U5G66ORD.js} +90 -88
  105. package/dist/chunk-U5G66ORD.js.map +1 -0
  106. package/dist/{chunk-JYIFGGEM.js → chunk-UZGJFIIG.js} +2 -2
  107. package/dist/{chunk-NHRNYJPJ.js → chunk-VCGPO2VD.js} +7 -7
  108. package/dist/{chunk-F2KMAFEB.js → chunk-VRYJSKOM.js} +2 -2
  109. package/dist/{chunk-HNZKVLAN.js → chunk-W6ROK2KU.js} +2 -2
  110. package/dist/{chunk-SEUSFKNS.js → chunk-WC4SPYHX.js} +14 -14
  111. package/dist/{chunk-MSXWUXFE.js → chunk-WG2PI44B.js} +2 -2
  112. package/dist/{chunk-4VXGRIH6.js → chunk-WUNIWKY4.js} +5 -5
  113. package/dist/{chunk-3C2TGBDB.js → chunk-XFQRFWVS.js} +2 -2
  114. package/dist/{chunk-5N26WBPQ.js → chunk-XMZV27S5.js} +5 -5
  115. package/dist/{chunk-JGXXPDM2.js → chunk-YQQK7W7T.js} +3 -3
  116. package/dist/{chunk-3F2LKUMU.js → chunk-ZAB5PG65.js} +2 -2
  117. package/dist/{chunk-MVW234LO.js → chunk-ZPJJE7MF.js} +2 -2
  118. package/dist/{chunk-6GIMMNVK.js → chunk-ZS5UZU5M.js} +4 -4
  119. package/dist/{cli-IUhV-lmk.d.ts → cli-DQ4VhjqX.d.ts} +3 -3
  120. package/dist/cli.d.ts +6 -6
  121. package/dist/cli.js +69 -67
  122. package/dist/compounding/engine.d.ts +1 -1
  123. package/dist/compounding/engine.js +9 -8
  124. package/dist/connectors/codex-materialize-runner.js +9 -8
  125. package/dist/connectors/index.js +9 -8
  126. package/dist/consolidation-provenance-check.d.ts +1 -1
  127. package/dist/consolidation-undo.d.ts +1 -1
  128. package/dist/contradiction/index.d.ts +1 -1
  129. package/dist/convergence-refresh.d.ts +24 -0
  130. package/dist/convergence-refresh.js +75 -0
  131. package/dist/convergence-refresh.js.map +1 -0
  132. package/dist/conversation-index/backend.js +2 -2
  133. package/dist/corpus-watermark.js +20 -19
  134. package/dist/entity-retrieval.d.ts +1 -1
  135. package/dist/entity-retrieval.js +9 -8
  136. package/dist/explicit-capture.d.ts +4 -4
  137. package/dist/explicit-capture.js +4 -3
  138. package/dist/extraction.js +15 -14
  139. package/dist/{graph-edge-decay-Z6ENALU2.js → graph-edge-decay-GF3ZSGSP.js} +4 -4
  140. package/dist/graph-edge-decay-GF3ZSGSP.js.map +1 -0
  141. package/dist/graph-snapshot.js +3 -3
  142. package/dist/graph.js +2 -2
  143. package/dist/index.d.ts +398 -398
  144. package/dist/index.js +161 -158
  145. package/dist/lcm/index.js +3 -3
  146. package/dist/maintenance/memory-governance.js +10 -9
  147. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +1 -1
  148. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +9 -8
  149. package/dist/maintenance/rebuild-memory-projection.d.ts +1 -1
  150. package/dist/maintenance/rebuild-memory-projection.js +11 -10
  151. package/dist/{maintenance-DVBLXkFw.d.ts → maintenance-_RV38GlE.d.ts} +1 -1
  152. package/dist/mcp-memory-inspector-app.d.ts +5 -5
  153. package/dist/memory-worth-outcomes.d.ts +1 -1
  154. package/dist/namespaces/migrate.d.ts +1 -1
  155. package/dist/namespaces/migrate.js +19 -18
  156. package/dist/namespaces/search.js +9 -9
  157. package/dist/namespaces/storage.d.ts +1 -1
  158. package/dist/namespaces/storage.js +9 -8
  159. package/dist/offline-sync-impression-drain.js +4 -4
  160. package/dist/operator-doctor-corpus.js +21 -20
  161. package/dist/operator-toolkit.d.ts +1 -1
  162. package/dist/operator-toolkit.js +30 -29
  163. package/dist/orchestration/compression-guideline-coordinator.d.ts +1 -1
  164. package/dist/orchestration/maintenance.d.ts +2 -2
  165. package/dist/orchestration/maintenance.js +16 -15
  166. package/dist/{orchestrator-fYTncnLy.d.ts → orchestrator-B2ecFpRO.d.ts} +4 -4
  167. package/dist/orchestrator.d.ts +4 -4
  168. package/dist/orchestrator.js +101 -98
  169. package/dist/qmd.js +4 -4
  170. package/dist/reconcile/manifest.d.ts +33 -0
  171. package/dist/reconcile/manifest.js +248 -0
  172. package/dist/reconcile/manifest.js.map +1 -0
  173. package/dist/reconcile/plan.d.ts +1 -1
  174. package/dist/reconcile/plan.js +8 -404
  175. package/dist/reconcile/plan.js.map +1 -1
  176. package/dist/resume-bundles.js +1 -1
  177. package/dist/schemas.d.ts +76 -76
  178. package/dist/search/factory.js +8 -8
  179. package/dist/search/index.js +14 -14
  180. package/dist/semantic-consolidation.js +11 -10
  181. package/dist/semantic-rule-promotion.js +9 -8
  182. package/dist/semantic-rule-verifier.js +10 -9
  183. package/dist/{service-CLuMO-pa.d.ts → service-DW06sY3P.d.ts} +1 -1
  184. package/dist/shared-context/manager.d.ts +8 -8
  185. package/dist/source-agent-qualifier.js +14 -13
  186. package/dist/{storage-Blr71GpS.d.ts → storage-qRIQPA6F.d.ts} +12 -0
  187. package/dist/storage.d.ts +1 -1
  188. package/dist/storage.js +8 -7
  189. package/dist/temporal-supersession.d.ts +1 -1
  190. package/dist/tier-migration.d.ts +1 -1
  191. package/dist/transfer/autodetect.js +1 -1
  192. package/dist/transfer/backup.js +1 -1
  193. package/dist/transfer/capsule-export.js +2 -2
  194. package/dist/transfer/types.d.ts +66 -66
  195. package/dist/verified-recall.js +10 -9
  196. package/package.json +12 -2
  197. package/src/access-http-query.ts +25 -0
  198. package/src/access-http.test.ts +136 -0
  199. package/src/access-http.ts +26 -26
  200. package/src/access-service-offline-file-content.test.ts +40 -0
  201. package/src/access-service.ts +34 -0
  202. package/src/access-surface-catalog.ts +5 -0
  203. package/src/convergence-refresh.ts +28 -0
  204. package/src/orchestrator-convergence-refresh.test.ts +114 -0
  205. package/src/orchestrator.ts +5 -4
  206. package/src/reconcile/manifest.test.ts +261 -0
  207. package/src/reconcile/manifest.ts +278 -0
  208. package/src/reconcile/plan.ts +1 -0
  209. package/src/storage/content-hash-index.ts +26 -0
  210. package/dist/chunk-5QZEVMLY.js.map +0 -1
  211. package/dist/chunk-BEQOZOYZ.js.map +0 -1
  212. package/dist/chunk-UP67AFRN.js.map +0 -1
  213. package/dist/chunk-ZVVASRUT.js.map +0 -1
  214. /package/dist/{graph-edge-decay-Z6ENALU2.js.map → access-http-query.js.map} +0 -0
  215. /package/dist/{auto-sync-UPTUVE4X.js.map → auto-sync-5OE5QOZB.js.map} +0 -0
  216. /package/dist/{chunk-LEPOP46W.js.map → chunk-227UFSEQ.js.map} +0 -0
  217. /package/dist/{chunk-CMENJQ6I.js.map → chunk-2QR2RRH6.js.map} +0 -0
  218. /package/dist/{chunk-4DYBLQZC.js.map → chunk-3HLCRYBV.js.map} +0 -0
  219. /package/dist/{chunk-L2DPF4DF.js.map → chunk-3SHB4YAW.js.map} +0 -0
  220. /package/dist/{chunk-UV72DEZD.js.map → chunk-4B77XSG5.js.map} +0 -0
  221. /package/dist/{chunk-GUQYMOPU.js.map → chunk-4LMA77JH.js.map} +0 -0
  222. /package/dist/{chunk-Q53RLEW7.js.map → chunk-5SM35XZR.js.map} +0 -0
  223. /package/dist/{chunk-YJHU5B3M.js.map → chunk-5YGO5VEH.js.map} +0 -0
  224. /package/dist/{chunk-AX2J2LC4.js.map → chunk-5ZE7QHTK.js.map} +0 -0
  225. /package/dist/{chunk-YFHMW37V.js.map → chunk-6CZPDBJS.js.map} +0 -0
  226. /package/dist/{chunk-BI6RE2ZS.js.map → chunk-6OLQJJYE.js.map} +0 -0
  227. /package/dist/{chunk-GS5UVGQK.js.map → chunk-7JO6RVBI.js.map} +0 -0
  228. /package/dist/{chunk-MBTPUVHZ.js.map → chunk-7PVFOFPJ.js.map} +0 -0
  229. /package/dist/{chunk-KPJQTSRJ.js.map → chunk-C7EI7CA6.js.map} +0 -0
  230. /package/dist/{chunk-NRV4Y3PM.js.map → chunk-CAGPP5NB.js.map} +0 -0
  231. /package/dist/{chunk-NF3U3MPG.js.map → chunk-ECK75GDJ.js.map} +0 -0
  232. /package/dist/{chunk-KDXD2AM6.js.map → chunk-FLBPATMZ.js.map} +0 -0
  233. /package/dist/{chunk-OEXKYYVH.js.map → chunk-FVGQ5LIS.js.map} +0 -0
  234. /package/dist/{chunk-AR2FSZBP.js.map → chunk-G24XIK6H.js.map} +0 -0
  235. /package/dist/{chunk-5TOV3D6U.js.map → chunk-GBJJUPNV.js.map} +0 -0
  236. /package/dist/{chunk-EPQ76W5T.js.map → chunk-GQBZ7EVF.js.map} +0 -0
  237. /package/dist/{chunk-BGXHVOBI.js.map → chunk-HLPD7B7P.js.map} +0 -0
  238. /package/dist/{chunk-KQAFEZQX.js.map → chunk-IPLYGWQF.js.map} +0 -0
  239. /package/dist/{chunk-JDXDA5OO.js.map → chunk-J4OKD6QX.js.map} +0 -0
  240. /package/dist/{chunk-LZ5JKQCS.js.map → chunk-JZ7SSAQ5.js.map} +0 -0
  241. /package/dist/{chunk-EHKDORQN.js.map → chunk-NVRYW264.js.map} +0 -0
  242. /package/dist/{chunk-MU7ZHSZE.js.map → chunk-PO5LSKQO.js.map} +0 -0
  243. /package/dist/{chunk-ONHRRJZM.js.map → chunk-QJAQNXWI.js.map} +0 -0
  244. /package/dist/{chunk-WGCTFGLW.js.map → chunk-QQ3NDJOM.js.map} +0 -0
  245. /package/dist/{chunk-QY66HJ4X.js.map → chunk-SS7YWVPF.js.map} +0 -0
  246. /package/dist/{chunk-JYIFGGEM.js.map → chunk-UZGJFIIG.js.map} +0 -0
  247. /package/dist/{chunk-NHRNYJPJ.js.map → chunk-VCGPO2VD.js.map} +0 -0
  248. /package/dist/{chunk-F2KMAFEB.js.map → chunk-VRYJSKOM.js.map} +0 -0
  249. /package/dist/{chunk-HNZKVLAN.js.map → chunk-W6ROK2KU.js.map} +0 -0
  250. /package/dist/{chunk-SEUSFKNS.js.map → chunk-WC4SPYHX.js.map} +0 -0
  251. /package/dist/{chunk-MSXWUXFE.js.map → chunk-WG2PI44B.js.map} +0 -0
  252. /package/dist/{chunk-4VXGRIH6.js.map → chunk-WUNIWKY4.js.map} +0 -0
  253. /package/dist/{chunk-3C2TGBDB.js.map → chunk-XFQRFWVS.js.map} +0 -0
  254. /package/dist/{chunk-5N26WBPQ.js.map → chunk-XMZV27S5.js.map} +0 -0
  255. /package/dist/{chunk-JGXXPDM2.js.map → chunk-YQQK7W7T.js.map} +0 -0
  256. /package/dist/{chunk-3F2LKUMU.js.map → chunk-ZAB5PG65.js.map} +0 -0
  257. /package/dist/{chunk-MVW234LO.js.map → chunk-ZPJJE7MF.js.map} +0 -0
  258. /package/dist/{chunk-6GIMMNVK.js.map → chunk-ZS5UZU5M.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-fYTncnLy.js';
5
+ export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-B2ecFpRO.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-Blr71GpS.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-Blr71GpS.js';
15
+ import { S as StorageManager, a as MeetingRecordStore } from './storage-qRIQPA6F.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-qRIQPA6F.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 { bv as ActivityExtractionMode, aE as ActivitySourceConfig, t as AgentAcc
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 { f as EngramAccessService } from './access-service-D1BkxwSf.js';
31
- export { P as ProcedureStatsConfigSnapshot, I as ProcedureStatsRecent, J as ProcedureStatsReport, K as ProcedureStatusCounts, L as computeProcedureStats, N as formatProcedureStatsText } from './access-service-D1BkxwSf.js';
30
+ import { f as EngramAccessService } from './access-service-DBo88Dmm.js';
31
+ export { P as ProcedureStatsConfigSnapshot, I as ProcedureStatsRecent, J as ProcedureStatsReport, K as ProcedureStatusCounts, L as computeProcedureStats, N as formatProcedureStatsText } from './access-service-DBo88Dmm.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-Cs76XC-p.js';
91
- export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-IUhV-lmk.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-CLuMO-pa.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-CLuMO-pa.js';
94
- import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-DVBLXkFw.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-DVBLXkFw.js';
91
+ export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-DQ4VhjqX.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-DW06sY3P.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-DW06sY3P.js';
94
+ import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-_RV38GlE.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-_RV38GlE.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';
@@ -874,15 +874,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
874
874
  locator: z.ZodOptional<z.ZodString>;
875
875
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
876
876
  }, "strict", z.ZodTypeAny, {
877
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
878
877
  id: string;
879
878
  label: string;
879
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
880
880
  capture: "at_action" | "historical_lookup" | "fixture";
881
881
  locator?: string | undefined;
882
882
  }, {
883
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
884
883
  id: string;
885
884
  label: string;
885
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
886
886
  capture: "at_action" | "historical_lookup" | "fixture";
887
887
  locator?: string | undefined;
888
888
  }>;
@@ -899,15 +899,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
899
899
  locator: z.ZodOptional<z.ZodString>;
900
900
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
901
901
  }, "strict", z.ZodTypeAny, {
902
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
903
902
  id: string;
904
903
  label: string;
904
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
905
905
  capture: "at_action" | "historical_lookup" | "fixture";
906
906
  locator?: string | undefined;
907
907
  }, {
908
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
909
908
  id: string;
910
909
  label: string;
910
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
911
911
  capture: "at_action" | "historical_lookup" | "fixture";
912
912
  locator?: string | undefined;
913
913
  }>, "many">>;
@@ -915,9 +915,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
915
915
  kind: "mission_started";
916
916
  title: string;
917
917
  evidence: {
918
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
919
918
  id: string;
920
919
  label: string;
920
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
921
921
  capture: "at_action" | "historical_lookup" | "fixture";
922
922
  locator?: string | undefined;
923
923
  }[];
@@ -929,9 +929,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
929
929
  objective: string;
930
930
  runMode: "replay" | "fixture" | "live";
931
931
  evidence?: {
932
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
933
932
  id: string;
934
933
  label: string;
934
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
935
935
  capture: "at_action" | "historical_lookup" | "fixture";
936
936
  locator?: string | undefined;
937
937
  }[] | undefined;
@@ -947,15 +947,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
947
947
  locator: z.ZodOptional<z.ZodString>;
948
948
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
949
949
  }, "strict", z.ZodTypeAny, {
950
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
951
950
  id: string;
952
951
  label: string;
952
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
953
953
  capture: "at_action" | "historical_lookup" | "fixture";
954
954
  locator?: string | undefined;
955
955
  }, {
956
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
957
956
  id: string;
958
957
  label: string;
958
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
959
959
  capture: "at_action" | "historical_lookup" | "fixture";
960
960
  locator?: string | undefined;
961
961
  }>, "many">>;
@@ -963,32 +963,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
963
963
  sessionId: z.ZodString;
964
964
  kind: z.ZodLiteral<"agent_status">;
965
965
  }, "strict", z.ZodTypeAny, {
966
- kind: "agent_status";
966
+ label: string;
967
967
  status: "failed" | "complete" | "blocked" | "working" | "idle";
968
+ kind: "agent_status";
968
969
  role: string;
969
- label: string;
970
970
  agentId: string;
971
971
  sessionId: string;
972
972
  evidence: {
973
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
974
973
  id: string;
975
974
  label: string;
975
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
976
976
  capture: "at_action" | "historical_lookup" | "fixture";
977
977
  locator?: string | undefined;
978
978
  }[];
979
979
  detail?: string | undefined;
980
980
  }, {
981
- kind: "agent_status";
981
+ label: string;
982
982
  status: "failed" | "complete" | "blocked" | "working" | "idle";
983
+ kind: "agent_status";
983
984
  role: string;
984
- label: string;
985
985
  agentId: string;
986
986
  sessionId: string;
987
987
  detail?: string | undefined;
988
988
  evidence?: {
989
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
990
989
  id: string;
991
990
  label: string;
991
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
992
992
  capture: "at_action" | "historical_lookup" | "fixture";
993
993
  locator?: string | undefined;
994
994
  }[] | undefined;
@@ -1002,15 +1002,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1002
1002
  locator: z.ZodOptional<z.ZodString>;
1003
1003
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1004
1004
  }, "strict", z.ZodTypeAny, {
1005
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1006
1005
  id: string;
1007
1006
  label: string;
1007
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1008
1008
  capture: "at_action" | "historical_lookup" | "fixture";
1009
1009
  locator?: string | undefined;
1010
1010
  }, {
1011
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1012
1011
  id: string;
1013
1012
  label: string;
1013
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1014
1014
  capture: "at_action" | "historical_lookup" | "fixture";
1015
1015
  locator?: string | undefined;
1016
1016
  }>, "many">>;
@@ -1018,28 +1018,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1018
1018
  sessionId: z.ZodString;
1019
1019
  kind: z.ZodLiteral<"agent_output">;
1020
1020
  }, "strict", z.ZodTypeAny, {
1021
- kind: "agent_output";
1022
1021
  summary: string;
1022
+ kind: "agent_output";
1023
1023
  agentId: string;
1024
1024
  sessionId: string;
1025
1025
  evidence: {
1026
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1027
1026
  id: string;
1028
1027
  label: string;
1028
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1029
1029
  capture: "at_action" | "historical_lookup" | "fixture";
1030
1030
  locator?: string | undefined;
1031
1031
  }[];
1032
1032
  outputId: string;
1033
1033
  }, {
1034
- kind: "agent_output";
1035
1034
  summary: string;
1035
+ kind: "agent_output";
1036
1036
  agentId: string;
1037
1037
  sessionId: string;
1038
1038
  outputId: string;
1039
1039
  evidence?: {
1040
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1041
1040
  id: string;
1042
1041
  label: string;
1042
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1043
1043
  capture: "at_action" | "historical_lookup" | "fixture";
1044
1044
  locator?: string | undefined;
1045
1045
  }[] | undefined;
@@ -1055,15 +1055,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1055
1055
  locator: z.ZodOptional<z.ZodString>;
1056
1056
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1057
1057
  }, "strict", z.ZodTypeAny, {
1058
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1059
1058
  id: string;
1060
1059
  label: string;
1060
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1061
1061
  capture: "at_action" | "historical_lookup" | "fixture";
1062
1062
  locator?: string | undefined;
1063
1063
  }, {
1064
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1065
1064
  id: string;
1066
1065
  label: string;
1066
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1067
1067
  capture: "at_action" | "historical_lookup" | "fixture";
1068
1068
  locator?: string | undefined;
1069
1069
  }>, "many">>;
@@ -1076,9 +1076,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1076
1076
  statement: string;
1077
1077
  sessionId: string;
1078
1078
  evidence: {
1079
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1080
1079
  id: string;
1081
1080
  label: string;
1081
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1082
1082
  capture: "at_action" | "historical_lookup" | "fixture";
1083
1083
  locator?: string | undefined;
1084
1084
  }[];
@@ -1094,9 +1094,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1094
1094
  decisionId: string;
1095
1095
  confidence?: number | undefined;
1096
1096
  evidence?: {
1097
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1098
1097
  id: string;
1099
1098
  label: string;
1099
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1100
1100
  capture: "at_action" | "historical_lookup" | "fixture";
1101
1101
  locator?: string | undefined;
1102
1102
  }[] | undefined;
@@ -1113,25 +1113,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1113
1113
  locator: z.ZodOptional<z.ZodString>;
1114
1114
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1115
1115
  }, "strict", z.ZodTypeAny, {
1116
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1117
1116
  id: string;
1118
1117
  label: string;
1118
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1119
1119
  capture: "at_action" | "historical_lookup" | "fixture";
1120
1120
  locator?: string | undefined;
1121
1121
  }, {
1122
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1123
1122
  id: string;
1124
1123
  label: string;
1124
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1125
1125
  capture: "at_action" | "historical_lookup" | "fixture";
1126
1126
  locator?: string | undefined;
1127
1127
  }>, "many">>;
1128
1128
  }, "strict", z.ZodTypeAny, {
1129
- kind: "conflict_detected";
1130
1129
  summary: string;
1130
+ kind: "conflict_detected";
1131
1131
  evidence: {
1132
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1133
1132
  id: string;
1134
1133
  label: string;
1134
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1135
1135
  capture: "at_action" | "historical_lookup" | "fixture";
1136
1136
  locator?: string | undefined;
1137
1137
  }[];
@@ -1139,15 +1139,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1139
1139
  decisionIds: string[];
1140
1140
  agentIds: string[];
1141
1141
  }, {
1142
- kind: "conflict_detected";
1143
1142
  summary: string;
1143
+ kind: "conflict_detected";
1144
1144
  conflictId: string;
1145
1145
  decisionIds: string[];
1146
1146
  agentIds: string[];
1147
1147
  evidence?: {
1148
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1149
1148
  id: string;
1150
1149
  label: string;
1150
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1151
1151
  capture: "at_action" | "historical_lookup" | "fixture";
1152
1152
  locator?: string | undefined;
1153
1153
  }[] | undefined;
@@ -1167,27 +1167,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1167
1167
  locator: z.ZodOptional<z.ZodString>;
1168
1168
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1169
1169
  }, "strict", z.ZodTypeAny, {
1170
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1171
1170
  id: string;
1172
1171
  label: string;
1172
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1173
1173
  capture: "at_action" | "historical_lookup" | "fixture";
1174
1174
  locator?: string | undefined;
1175
1175
  }, {
1176
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1177
1176
  id: string;
1178
1177
  label: string;
1178
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1179
1179
  capture: "at_action" | "historical_lookup" | "fixture";
1180
1180
  locator?: string | undefined;
1181
1181
  }>, "many">>;
1182
1182
  }, "strict", z.ZodTypeAny, {
1183
- kind: "test_result";
1184
1183
  summary: string;
1185
1184
  status: "error" | "failed" | "passed";
1185
+ kind: "test_result";
1186
1186
  command: string;
1187
1187
  evidence: {
1188
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1189
1188
  id: string;
1190
1189
  label: string;
1190
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1191
1191
  capture: "at_action" | "historical_lookup" | "fixture";
1192
1192
  locator?: string | undefined;
1193
1193
  }[];
@@ -1196,17 +1196,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1196
1196
  durationMs?: number | undefined;
1197
1197
  correctionId?: string | undefined;
1198
1198
  }, {
1199
- kind: "test_result";
1200
1199
  summary: string;
1201
1200
  status: "error" | "failed" | "passed";
1201
+ kind: "test_result";
1202
1202
  command: string;
1203
1203
  decisionId: string;
1204
1204
  testId: string;
1205
1205
  durationMs?: number | undefined;
1206
1206
  evidence?: {
1207
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1208
1207
  id: string;
1209
1208
  label: string;
1209
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1210
1210
  capture: "at_action" | "historical_lookup" | "fixture";
1211
1211
  locator?: string | undefined;
1212
1212
  }[] | undefined;
@@ -1227,15 +1227,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1227
1227
  locator: z.ZodOptional<z.ZodString>;
1228
1228
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1229
1229
  }, "strict", z.ZodTypeAny, {
1230
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1231
1230
  id: string;
1232
1231
  label: string;
1232
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1233
1233
  capture: "at_action" | "historical_lookup" | "fixture";
1234
1234
  locator?: string | undefined;
1235
1235
  }, {
1236
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1237
1236
  id: string;
1238
1237
  label: string;
1238
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1239
1239
  capture: "at_action" | "historical_lookup" | "fixture";
1240
1240
  locator?: string | undefined;
1241
1241
  }>, "many">>;
@@ -1244,9 +1244,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1244
1244
  rationale: string;
1245
1245
  statement: string;
1246
1246
  evidence: {
1247
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1248
1247
  id: string;
1249
1248
  label: string;
1249
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1250
1250
  capture: "at_action" | "historical_lookup" | "fixture";
1251
1251
  locator?: string | undefined;
1252
1252
  }[];
@@ -1265,9 +1265,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1265
1265
  supersedesDecisionIds: string[];
1266
1266
  proposedBy: string;
1267
1267
  evidence?: {
1268
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1269
1268
  id: string;
1270
1269
  label: string;
1270
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1271
1271
  capture: "at_action" | "historical_lookup" | "fixture";
1272
1272
  locator?: string | undefined;
1273
1273
  }[] | undefined;
@@ -1279,13 +1279,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1279
1279
  id: z.ZodString;
1280
1280
  label: z.ZodString;
1281
1281
  }, "strict", z.ZodTypeAny, {
1282
- kind: "agent" | "human";
1283
1282
  id: string;
1284
1283
  label: string;
1285
- }, {
1286
1284
  kind: "agent" | "human";
1285
+ }, {
1287
1286
  id: string;
1288
1287
  label: string;
1288
+ kind: "agent" | "human";
1289
1289
  }>;
1290
1290
  note: z.ZodOptional<z.ZodString>;
1291
1291
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1295,47 +1295,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1295
1295
  locator: z.ZodOptional<z.ZodString>;
1296
1296
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1297
1297
  }, "strict", z.ZodTypeAny, {
1298
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1299
1298
  id: string;
1300
1299
  label: string;
1300
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1301
1301
  capture: "at_action" | "historical_lookup" | "fixture";
1302
1302
  locator?: string | undefined;
1303
1303
  }, {
1304
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1305
1304
  id: string;
1306
1305
  label: string;
1306
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1307
1307
  capture: "at_action" | "historical_lookup" | "fixture";
1308
1308
  locator?: string | undefined;
1309
1309
  }>, "many">>;
1310
1310
  }, "strict", z.ZodTypeAny, {
1311
1311
  kind: "correction_approved";
1312
1312
  evidence: {
1313
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1314
1313
  id: string;
1315
1314
  label: string;
1315
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1316
1316
  capture: "at_action" | "historical_lookup" | "fixture";
1317
1317
  locator?: string | undefined;
1318
1318
  }[];
1319
1319
  correctionId: string;
1320
1320
  approvedBy: {
1321
- kind: "agent" | "human";
1322
1321
  id: string;
1323
1322
  label: string;
1323
+ kind: "agent" | "human";
1324
1324
  };
1325
1325
  note?: string | undefined;
1326
1326
  }, {
1327
1327
  kind: "correction_approved";
1328
1328
  correctionId: string;
1329
1329
  approvedBy: {
1330
- kind: "agent" | "human";
1331
1330
  id: string;
1332
1331
  label: string;
1332
+ kind: "agent" | "human";
1333
1333
  };
1334
1334
  note?: string | undefined;
1335
1335
  evidence?: {
1336
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1337
1336
  id: string;
1338
1337
  label: string;
1338
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1339
1339
  capture: "at_action" | "historical_lookup" | "fixture";
1340
1340
  locator?: string | undefined;
1341
1341
  }[] | undefined;
@@ -1351,24 +1351,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1351
1351
  locator: z.ZodOptional<z.ZodString>;
1352
1352
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1353
1353
  }, "strict", z.ZodTypeAny, {
1354
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1355
1354
  id: string;
1356
1355
  label: string;
1356
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1357
1357
  capture: "at_action" | "historical_lookup" | "fixture";
1358
1358
  locator?: string | undefined;
1359
1359
  }, {
1360
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1361
1360
  id: string;
1362
1361
  label: string;
1362
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1363
1363
  capture: "at_action" | "historical_lookup" | "fixture";
1364
1364
  locator?: string | undefined;
1365
1365
  }>, "many">>;
1366
1366
  }, "strict", z.ZodTypeAny, {
1367
1367
  kind: "decision_superseded";
1368
1368
  evidence: {
1369
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1370
1369
  id: string;
1371
1370
  label: string;
1371
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1372
1372
  capture: "at_action" | "historical_lookup" | "fixture";
1373
1373
  locator?: string | undefined;
1374
1374
  }[];
@@ -1381,9 +1381,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1381
1381
  correctionId: string;
1382
1382
  replacementDecisionId: string;
1383
1383
  evidence?: {
1384
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1385
1384
  id: string;
1386
1385
  label: string;
1386
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1387
1387
  capture: "at_action" | "historical_lookup" | "fixture";
1388
1388
  locator?: string | undefined;
1389
1389
  }[] | undefined;
@@ -1399,15 +1399,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1399
1399
  locator: z.ZodOptional<z.ZodString>;
1400
1400
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1401
1401
  }, "strict", z.ZodTypeAny, {
1402
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1403
1402
  id: string;
1404
1403
  label: string;
1404
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1405
1405
  capture: "at_action" | "historical_lookup" | "fixture";
1406
1406
  locator?: string | undefined;
1407
1407
  }, {
1408
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1409
1408
  id: string;
1410
1409
  label: string;
1410
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1411
1411
  capture: "at_action" | "historical_lookup" | "fixture";
1412
1412
  locator?: string | undefined;
1413
1413
  }>, "many">>;
@@ -1420,9 +1420,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1420
1420
  agentId: string;
1421
1421
  sessionId: string;
1422
1422
  evidence: {
1423
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1424
1423
  id: string;
1425
1424
  label: string;
1425
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1426
1426
  capture: "at_action" | "historical_lookup" | "fixture";
1427
1427
  locator?: string | undefined;
1428
1428
  }[];
@@ -1438,9 +1438,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1438
1438
  recallReceiptId: string;
1439
1439
  capturedAtAction: boolean;
1440
1440
  evidence?: {
1441
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1442
1441
  id: string;
1443
1442
  label: string;
1443
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1444
1444
  capture: "at_action" | "historical_lookup" | "fixture";
1445
1445
  locator?: string | undefined;
1446
1446
  }[] | undefined;
@@ -1456,15 +1456,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1456
1456
  locator: z.ZodOptional<z.ZodString>;
1457
1457
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1458
1458
  }, "strict", z.ZodTypeAny, {
1459
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1460
1459
  id: string;
1461
1460
  label: string;
1461
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1462
1462
  capture: "at_action" | "historical_lookup" | "fixture";
1463
1463
  locator?: string | undefined;
1464
1464
  }, {
1465
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1466
1465
  id: string;
1467
1466
  label: string;
1467
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1468
1468
  capture: "at_action" | "historical_lookup" | "fixture";
1469
1469
  locator?: string | undefined;
1470
1470
  }>, "many">>;
@@ -1476,9 +1476,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1476
1476
  agentId: string;
1477
1477
  sessionId: string;
1478
1478
  evidence: {
1479
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1480
1479
  id: string;
1481
1480
  label: string;
1481
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1482
1482
  capture: "at_action" | "historical_lookup" | "fixture";
1483
1483
  locator?: string | undefined;
1484
1484
  }[];
@@ -1495,9 +1495,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1495
1495
  recallReceiptId: string;
1496
1496
  staleDecisionAbsent: boolean;
1497
1497
  evidence?: {
1498
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1499
1498
  id: string;
1500
1499
  label: string;
1500
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1501
1501
  capture: "at_action" | "historical_lookup" | "fixture";
1502
1502
  locator?: string | undefined;
1503
1503
  }[] | undefined;
@@ -1512,37 +1512,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1512
1512
  locator: z.ZodOptional<z.ZodString>;
1513
1513
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1514
1514
  }, "strict", z.ZodTypeAny, {
1515
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1516
1515
  id: string;
1517
1516
  label: string;
1517
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1518
1518
  capture: "at_action" | "historical_lookup" | "fixture";
1519
1519
  locator?: string | undefined;
1520
1520
  }, {
1521
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1522
1521
  id: string;
1523
1522
  label: string;
1523
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1524
1524
  capture: "at_action" | "historical_lookup" | "fixture";
1525
1525
  locator?: string | undefined;
1526
1526
  }>, "many">>;
1527
1527
  }, "strict", z.ZodTypeAny, {
1528
- kind: "mission_completed";
1529
1528
  summary: string;
1529
+ kind: "mission_completed";
1530
1530
  outcome: "failed" | "recovered" | "inconclusive";
1531
1531
  evidence: {
1532
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1533
1532
  id: string;
1534
1533
  label: string;
1534
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1535
1535
  capture: "at_action" | "historical_lookup" | "fixture";
1536
1536
  locator?: string | undefined;
1537
1537
  }[];
1538
1538
  }, {
1539
- kind: "mission_completed";
1540
1539
  summary: string;
1540
+ kind: "mission_completed";
1541
1541
  outcome: "failed" | "recovered" | "inconclusive";
1542
1542
  evidence?: {
1543
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1544
1543
  id: string;
1545
1544
  label: string;
1545
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1546
1546
  capture: "at_action" | "historical_lookup" | "fixture";
1547
1547
  locator?: string | undefined;
1548
1548
  }[] | undefined;
@@ -1550,38 +1550,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1550
1550
  kind: "mission_started";
1551
1551
  title: string;
1552
1552
  evidence: {
1553
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1554
1553
  id: string;
1555
1554
  label: string;
1555
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1556
1556
  capture: "at_action" | "historical_lookup" | "fixture";
1557
1557
  locator?: string | undefined;
1558
1558
  }[];
1559
1559
  objective: string;
1560
1560
  runMode: "replay" | "fixture" | "live";
1561
1561
  } | {
1562
- kind: "agent_status";
1562
+ label: string;
1563
1563
  status: "failed" | "complete" | "blocked" | "working" | "idle";
1564
+ kind: "agent_status";
1564
1565
  role: string;
1565
- label: string;
1566
1566
  agentId: string;
1567
1567
  sessionId: string;
1568
1568
  evidence: {
1569
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1570
1569
  id: string;
1571
1570
  label: string;
1571
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1572
1572
  capture: "at_action" | "historical_lookup" | "fixture";
1573
1573
  locator?: string | undefined;
1574
1574
  }[];
1575
1575
  detail?: string | undefined;
1576
1576
  } | {
1577
- kind: "agent_output";
1578
1577
  summary: string;
1578
+ kind: "agent_output";
1579
1579
  agentId: string;
1580
1580
  sessionId: string;
1581
1581
  evidence: {
1582
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1583
1582
  id: string;
1584
1583
  label: string;
1584
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1585
1585
  capture: "at_action" | "historical_lookup" | "fixture";
1586
1586
  locator?: string | undefined;
1587
1587
  }[];
@@ -1592,9 +1592,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1592
1592
  statement: string;
1593
1593
  sessionId: string;
1594
1594
  evidence: {
1595
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1596
1595
  id: string;
1597
1596
  label: string;
1597
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1598
1598
  capture: "at_action" | "historical_lookup" | "fixture";
1599
1599
  locator?: string | undefined;
1600
1600
  }[];
@@ -1602,12 +1602,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1602
1602
  decisionId: string;
1603
1603
  confidence?: number | undefined;
1604
1604
  } | {
1605
- kind: "conflict_detected";
1606
1605
  summary: string;
1606
+ kind: "conflict_detected";
1607
1607
  evidence: {
1608
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1609
1608
  id: string;
1610
1609
  label: string;
1610
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1611
1611
  capture: "at_action" | "historical_lookup" | "fixture";
1612
1612
  locator?: string | undefined;
1613
1613
  }[];
@@ -1615,14 +1615,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1615
1615
  decisionIds: string[];
1616
1616
  agentIds: string[];
1617
1617
  } | {
1618
- kind: "test_result";
1619
1618
  summary: string;
1620
1619
  status: "error" | "failed" | "passed";
1620
+ kind: "test_result";
1621
1621
  command: string;
1622
1622
  evidence: {
1623
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1624
1623
  id: string;
1625
1624
  label: string;
1625
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1626
1626
  capture: "at_action" | "historical_lookup" | "fixture";
1627
1627
  locator?: string | undefined;
1628
1628
  }[];
@@ -1635,9 +1635,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1635
1635
  rationale: string;
1636
1636
  statement: string;
1637
1637
  evidence: {
1638
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1639
1638
  id: string;
1640
1639
  label: string;
1640
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1641
1641
  capture: "at_action" | "historical_lookup" | "fixture";
1642
1642
  locator?: string | undefined;
1643
1643
  }[];
@@ -1649,25 +1649,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1649
1649
  } | {
1650
1650
  kind: "correction_approved";
1651
1651
  evidence: {
1652
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1653
1652
  id: string;
1654
1653
  label: string;
1654
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1655
1655
  capture: "at_action" | "historical_lookup" | "fixture";
1656
1656
  locator?: string | undefined;
1657
1657
  }[];
1658
1658
  correctionId: string;
1659
1659
  approvedBy: {
1660
- kind: "agent" | "human";
1661
1660
  id: string;
1662
1661
  label: string;
1662
+ kind: "agent" | "human";
1663
1663
  };
1664
1664
  note?: string | undefined;
1665
1665
  } | {
1666
1666
  kind: "decision_superseded";
1667
1667
  evidence: {
1668
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1669
1668
  id: string;
1670
1669
  label: string;
1670
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1671
1671
  capture: "at_action" | "historical_lookup" | "fixture";
1672
1672
  locator?: string | undefined;
1673
1673
  }[];
@@ -1680,9 +1680,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1680
1680
  agentId: string;
1681
1681
  sessionId: string;
1682
1682
  evidence: {
1683
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1684
1683
  id: string;
1685
1684
  label: string;
1685
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1686
1686
  capture: "at_action" | "historical_lookup" | "fixture";
1687
1687
  locator?: string | undefined;
1688
1688
  }[];
@@ -1694,9 +1694,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1694
1694
  agentId: string;
1695
1695
  sessionId: string;
1696
1696
  evidence: {
1697
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1698
1697
  id: string;
1699
1698
  label: string;
1699
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1700
1700
  capture: "at_action" | "historical_lookup" | "fixture";
1701
1701
  locator?: string | undefined;
1702
1702
  }[];
@@ -1705,13 +1705,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1705
1705
  recallReceiptId: string;
1706
1706
  staleDecisionAbsent: boolean;
1707
1707
  } | {
1708
- kind: "mission_completed";
1709
1708
  summary: string;
1709
+ kind: "mission_completed";
1710
1710
  outcome: "failed" | "recovered" | "inconclusive";
1711
1711
  evidence: {
1712
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1713
1712
  id: string;
1714
1713
  label: string;
1714
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1715
1715
  capture: "at_action" | "historical_lookup" | "fixture";
1716
1716
  locator?: string | undefined;
1717
1717
  }[];
@@ -1721,37 +1721,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1721
1721
  objective: string;
1722
1722
  runMode: "replay" | "fixture" | "live";
1723
1723
  evidence?: {
1724
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1725
1724
  id: string;
1726
1725
  label: string;
1726
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1727
1727
  capture: "at_action" | "historical_lookup" | "fixture";
1728
1728
  locator?: string | undefined;
1729
1729
  }[] | undefined;
1730
1730
  } | {
1731
- kind: "agent_status";
1731
+ label: string;
1732
1732
  status: "failed" | "complete" | "blocked" | "working" | "idle";
1733
+ kind: "agent_status";
1733
1734
  role: string;
1734
- label: string;
1735
1735
  agentId: string;
1736
1736
  sessionId: string;
1737
1737
  detail?: string | undefined;
1738
1738
  evidence?: {
1739
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1740
1739
  id: string;
1741
1740
  label: string;
1741
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1742
1742
  capture: "at_action" | "historical_lookup" | "fixture";
1743
1743
  locator?: string | undefined;
1744
1744
  }[] | undefined;
1745
1745
  } | {
1746
- kind: "agent_output";
1747
1746
  summary: string;
1747
+ kind: "agent_output";
1748
1748
  agentId: string;
1749
1749
  sessionId: string;
1750
1750
  outputId: string;
1751
1751
  evidence?: {
1752
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1753
1752
  id: string;
1754
1753
  label: string;
1754
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1755
1755
  capture: "at_action" | "historical_lookup" | "fixture";
1756
1756
  locator?: string | undefined;
1757
1757
  }[] | undefined;
@@ -1764,37 +1764,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1764
1764
  decisionId: string;
1765
1765
  confidence?: number | undefined;
1766
1766
  evidence?: {
1767
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1768
1767
  id: string;
1769
1768
  label: string;
1769
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1770
1770
  capture: "at_action" | "historical_lookup" | "fixture";
1771
1771
  locator?: string | undefined;
1772
1772
  }[] | undefined;
1773
1773
  } | {
1774
- kind: "conflict_detected";
1775
1774
  summary: string;
1775
+ kind: "conflict_detected";
1776
1776
  conflictId: string;
1777
1777
  decisionIds: string[];
1778
1778
  agentIds: string[];
1779
1779
  evidence?: {
1780
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1781
1780
  id: string;
1782
1781
  label: string;
1782
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1783
1783
  capture: "at_action" | "historical_lookup" | "fixture";
1784
1784
  locator?: string | undefined;
1785
1785
  }[] | undefined;
1786
1786
  } | {
1787
- kind: "test_result";
1788
1787
  summary: string;
1789
1788
  status: "error" | "failed" | "passed";
1789
+ kind: "test_result";
1790
1790
  command: string;
1791
1791
  decisionId: string;
1792
1792
  testId: string;
1793
1793
  durationMs?: number | undefined;
1794
1794
  evidence?: {
1795
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1796
1795
  id: string;
1797
1796
  label: string;
1797
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1798
1798
  capture: "at_action" | "historical_lookup" | "fixture";
1799
1799
  locator?: string | undefined;
1800
1800
  }[] | undefined;
@@ -1809,9 +1809,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1809
1809
  supersedesDecisionIds: string[];
1810
1810
  proposedBy: string;
1811
1811
  evidence?: {
1812
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1813
1812
  id: string;
1814
1813
  label: string;
1814
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1815
1815
  capture: "at_action" | "historical_lookup" | "fixture";
1816
1816
  locator?: string | undefined;
1817
1817
  }[] | undefined;
@@ -1819,15 +1819,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1819
1819
  kind: "correction_approved";
1820
1820
  correctionId: string;
1821
1821
  approvedBy: {
1822
- kind: "agent" | "human";
1823
1822
  id: string;
1824
1823
  label: string;
1824
+ kind: "agent" | "human";
1825
1825
  };
1826
1826
  note?: string | undefined;
1827
1827
  evidence?: {
1828
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1829
1828
  id: string;
1830
1829
  label: string;
1830
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1831
1831
  capture: "at_action" | "historical_lookup" | "fixture";
1832
1832
  locator?: string | undefined;
1833
1833
  }[] | undefined;
@@ -1837,9 +1837,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1837
1837
  correctionId: string;
1838
1838
  replacementDecisionId: string;
1839
1839
  evidence?: {
1840
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1841
1840
  id: string;
1842
1841
  label: string;
1842
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1843
1843
  capture: "at_action" | "historical_lookup" | "fixture";
1844
1844
  locator?: string | undefined;
1845
1845
  }[] | undefined;
@@ -1852,9 +1852,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1852
1852
  recallReceiptId: string;
1853
1853
  capturedAtAction: boolean;
1854
1854
  evidence?: {
1855
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1856
1855
  id: string;
1857
1856
  label: string;
1857
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1858
1858
  capture: "at_action" | "historical_lookup" | "fixture";
1859
1859
  locator?: string | undefined;
1860
1860
  }[] | undefined;
@@ -1867,20 +1867,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1867
1867
  recallReceiptId: string;
1868
1868
  staleDecisionAbsent: boolean;
1869
1869
  evidence?: {
1870
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1871
1870
  id: string;
1872
1871
  label: string;
1872
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1873
1873
  capture: "at_action" | "historical_lookup" | "fixture";
1874
1874
  locator?: string | undefined;
1875
1875
  }[] | undefined;
1876
1876
  } | {
1877
- kind: "mission_completed";
1878
1877
  summary: string;
1878
+ kind: "mission_completed";
1879
1879
  outcome: "failed" | "recovered" | "inconclusive";
1880
1880
  evidence?: {
1881
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1882
1881
  id: string;
1883
1882
  label: string;
1883
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1884
1884
  capture: "at_action" | "historical_lookup" | "fixture";
1885
1885
  locator?: string | undefined;
1886
1886
  }[] | undefined;
@@ -1901,15 +1901,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1901
1901
  locator: z.ZodOptional<z.ZodString>;
1902
1902
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1903
1903
  }, "strict", z.ZodTypeAny, {
1904
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1905
1904
  id: string;
1906
1905
  label: string;
1906
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1907
1907
  capture: "at_action" | "historical_lookup" | "fixture";
1908
1908
  locator?: string | undefined;
1909
1909
  }, {
1910
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1911
1910
  id: string;
1912
1911
  label: string;
1912
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1913
1913
  capture: "at_action" | "historical_lookup" | "fixture";
1914
1914
  locator?: string | undefined;
1915
1915
  }>, "many">>;
@@ -1917,9 +1917,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1917
1917
  kind: "mission_started";
1918
1918
  title: string;
1919
1919
  evidence: {
1920
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1921
1920
  id: string;
1922
1921
  label: string;
1922
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1923
1923
  capture: "at_action" | "historical_lookup" | "fixture";
1924
1924
  locator?: string | undefined;
1925
1925
  }[];
@@ -1931,9 +1931,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1931
1931
  objective: string;
1932
1932
  runMode: "replay" | "fixture" | "live";
1933
1933
  evidence?: {
1934
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1935
1934
  id: string;
1936
1935
  label: string;
1936
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1937
1937
  capture: "at_action" | "historical_lookup" | "fixture";
1938
1938
  locator?: string | undefined;
1939
1939
  }[] | undefined;
@@ -1949,15 +1949,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1949
1949
  locator: z.ZodOptional<z.ZodString>;
1950
1950
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1951
1951
  }, "strict", z.ZodTypeAny, {
1952
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1953
1952
  id: string;
1954
1953
  label: string;
1954
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1955
1955
  capture: "at_action" | "historical_lookup" | "fixture";
1956
1956
  locator?: string | undefined;
1957
1957
  }, {
1958
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1959
1958
  id: string;
1960
1959
  label: string;
1960
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1961
1961
  capture: "at_action" | "historical_lookup" | "fixture";
1962
1962
  locator?: string | undefined;
1963
1963
  }>, "many">>;
@@ -1965,32 +1965,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1965
1965
  sessionId: z.ZodString;
1966
1966
  kind: z.ZodLiteral<"agent_status">;
1967
1967
  }, "strict", z.ZodTypeAny, {
1968
- kind: "agent_status";
1968
+ label: string;
1969
1969
  status: "failed" | "complete" | "blocked" | "working" | "idle";
1970
+ kind: "agent_status";
1970
1971
  role: string;
1971
- label: string;
1972
1972
  agentId: string;
1973
1973
  sessionId: string;
1974
1974
  evidence: {
1975
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1976
1975
  id: string;
1977
1976
  label: string;
1977
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1978
1978
  capture: "at_action" | "historical_lookup" | "fixture";
1979
1979
  locator?: string | undefined;
1980
1980
  }[];
1981
1981
  detail?: string | undefined;
1982
1982
  }, {
1983
- kind: "agent_status";
1983
+ label: string;
1984
1984
  status: "failed" | "complete" | "blocked" | "working" | "idle";
1985
+ kind: "agent_status";
1985
1986
  role: string;
1986
- label: string;
1987
1987
  agentId: string;
1988
1988
  sessionId: string;
1989
1989
  detail?: string | undefined;
1990
1990
  evidence?: {
1991
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1992
1991
  id: string;
1993
1992
  label: string;
1993
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1994
1994
  capture: "at_action" | "historical_lookup" | "fixture";
1995
1995
  locator?: string | undefined;
1996
1996
  }[] | undefined;
@@ -2004,15 +2004,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2004
2004
  locator: z.ZodOptional<z.ZodString>;
2005
2005
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2006
2006
  }, "strict", z.ZodTypeAny, {
2007
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2008
2007
  id: string;
2009
2008
  label: string;
2009
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2010
2010
  capture: "at_action" | "historical_lookup" | "fixture";
2011
2011
  locator?: string | undefined;
2012
2012
  }, {
2013
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2014
2013
  id: string;
2015
2014
  label: string;
2015
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2016
2016
  capture: "at_action" | "historical_lookup" | "fixture";
2017
2017
  locator?: string | undefined;
2018
2018
  }>, "many">>;
@@ -2020,28 +2020,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2020
2020
  sessionId: z.ZodString;
2021
2021
  kind: z.ZodLiteral<"agent_output">;
2022
2022
  }, "strict", z.ZodTypeAny, {
2023
- kind: "agent_output";
2024
2023
  summary: string;
2024
+ kind: "agent_output";
2025
2025
  agentId: string;
2026
2026
  sessionId: string;
2027
2027
  evidence: {
2028
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2029
2028
  id: string;
2030
2029
  label: string;
2030
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2031
2031
  capture: "at_action" | "historical_lookup" | "fixture";
2032
2032
  locator?: string | undefined;
2033
2033
  }[];
2034
2034
  outputId: string;
2035
2035
  }, {
2036
- kind: "agent_output";
2037
2036
  summary: string;
2037
+ kind: "agent_output";
2038
2038
  agentId: string;
2039
2039
  sessionId: string;
2040
2040
  outputId: string;
2041
2041
  evidence?: {
2042
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2043
2042
  id: string;
2044
2043
  label: string;
2044
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2045
2045
  capture: "at_action" | "historical_lookup" | "fixture";
2046
2046
  locator?: string | undefined;
2047
2047
  }[] | undefined;
@@ -2057,15 +2057,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2057
2057
  locator: z.ZodOptional<z.ZodString>;
2058
2058
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2059
2059
  }, "strict", z.ZodTypeAny, {
2060
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2061
2060
  id: string;
2062
2061
  label: string;
2062
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2063
2063
  capture: "at_action" | "historical_lookup" | "fixture";
2064
2064
  locator?: string | undefined;
2065
2065
  }, {
2066
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2067
2066
  id: string;
2068
2067
  label: string;
2068
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2069
2069
  capture: "at_action" | "historical_lookup" | "fixture";
2070
2070
  locator?: string | undefined;
2071
2071
  }>, "many">>;
@@ -2078,9 +2078,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2078
2078
  statement: string;
2079
2079
  sessionId: string;
2080
2080
  evidence: {
2081
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2082
2081
  id: string;
2083
2082
  label: string;
2083
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2084
2084
  capture: "at_action" | "historical_lookup" | "fixture";
2085
2085
  locator?: string | undefined;
2086
2086
  }[];
@@ -2096,9 +2096,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2096
2096
  decisionId: string;
2097
2097
  confidence?: number | undefined;
2098
2098
  evidence?: {
2099
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2100
2099
  id: string;
2101
2100
  label: string;
2101
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2102
2102
  capture: "at_action" | "historical_lookup" | "fixture";
2103
2103
  locator?: string | undefined;
2104
2104
  }[] | undefined;
@@ -2115,25 +2115,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2115
2115
  locator: z.ZodOptional<z.ZodString>;
2116
2116
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2117
2117
  }, "strict", z.ZodTypeAny, {
2118
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2119
2118
  id: string;
2120
2119
  label: string;
2120
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2121
2121
  capture: "at_action" | "historical_lookup" | "fixture";
2122
2122
  locator?: string | undefined;
2123
2123
  }, {
2124
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2125
2124
  id: string;
2126
2125
  label: string;
2126
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2127
2127
  capture: "at_action" | "historical_lookup" | "fixture";
2128
2128
  locator?: string | undefined;
2129
2129
  }>, "many">>;
2130
2130
  }, "strict", z.ZodTypeAny, {
2131
- kind: "conflict_detected";
2132
2131
  summary: string;
2132
+ kind: "conflict_detected";
2133
2133
  evidence: {
2134
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2135
2134
  id: string;
2136
2135
  label: string;
2136
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2137
2137
  capture: "at_action" | "historical_lookup" | "fixture";
2138
2138
  locator?: string | undefined;
2139
2139
  }[];
@@ -2141,15 +2141,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2141
2141
  decisionIds: string[];
2142
2142
  agentIds: string[];
2143
2143
  }, {
2144
- kind: "conflict_detected";
2145
2144
  summary: string;
2145
+ kind: "conflict_detected";
2146
2146
  conflictId: string;
2147
2147
  decisionIds: string[];
2148
2148
  agentIds: string[];
2149
2149
  evidence?: {
2150
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2151
2150
  id: string;
2152
2151
  label: string;
2152
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2153
2153
  capture: "at_action" | "historical_lookup" | "fixture";
2154
2154
  locator?: string | undefined;
2155
2155
  }[] | undefined;
@@ -2169,27 +2169,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2169
2169
  locator: z.ZodOptional<z.ZodString>;
2170
2170
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2171
2171
  }, "strict", z.ZodTypeAny, {
2172
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2173
2172
  id: string;
2174
2173
  label: string;
2174
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2175
2175
  capture: "at_action" | "historical_lookup" | "fixture";
2176
2176
  locator?: string | undefined;
2177
2177
  }, {
2178
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2179
2178
  id: string;
2180
2179
  label: string;
2180
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2181
2181
  capture: "at_action" | "historical_lookup" | "fixture";
2182
2182
  locator?: string | undefined;
2183
2183
  }>, "many">>;
2184
2184
  }, "strict", z.ZodTypeAny, {
2185
- kind: "test_result";
2186
2185
  summary: string;
2187
2186
  status: "error" | "failed" | "passed";
2187
+ kind: "test_result";
2188
2188
  command: string;
2189
2189
  evidence: {
2190
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2191
2190
  id: string;
2192
2191
  label: string;
2192
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2193
2193
  capture: "at_action" | "historical_lookup" | "fixture";
2194
2194
  locator?: string | undefined;
2195
2195
  }[];
@@ -2198,17 +2198,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2198
2198
  durationMs?: number | undefined;
2199
2199
  correctionId?: string | undefined;
2200
2200
  }, {
2201
- kind: "test_result";
2202
2201
  summary: string;
2203
2202
  status: "error" | "failed" | "passed";
2203
+ kind: "test_result";
2204
2204
  command: string;
2205
2205
  decisionId: string;
2206
2206
  testId: string;
2207
2207
  durationMs?: number | undefined;
2208
2208
  evidence?: {
2209
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2210
2209
  id: string;
2211
2210
  label: string;
2211
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2212
2212
  capture: "at_action" | "historical_lookup" | "fixture";
2213
2213
  locator?: string | undefined;
2214
2214
  }[] | undefined;
@@ -2229,15 +2229,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2229
2229
  locator: z.ZodOptional<z.ZodString>;
2230
2230
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2231
2231
  }, "strict", z.ZodTypeAny, {
2232
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2233
2232
  id: string;
2234
2233
  label: string;
2234
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2235
2235
  capture: "at_action" | "historical_lookup" | "fixture";
2236
2236
  locator?: string | undefined;
2237
2237
  }, {
2238
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2239
2238
  id: string;
2240
2239
  label: string;
2240
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2241
2241
  capture: "at_action" | "historical_lookup" | "fixture";
2242
2242
  locator?: string | undefined;
2243
2243
  }>, "many">>;
@@ -2246,9 +2246,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2246
2246
  rationale: string;
2247
2247
  statement: string;
2248
2248
  evidence: {
2249
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2250
2249
  id: string;
2251
2250
  label: string;
2251
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2252
2252
  capture: "at_action" | "historical_lookup" | "fixture";
2253
2253
  locator?: string | undefined;
2254
2254
  }[];
@@ -2267,9 +2267,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2267
2267
  supersedesDecisionIds: string[];
2268
2268
  proposedBy: string;
2269
2269
  evidence?: {
2270
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2271
2270
  id: string;
2272
2271
  label: string;
2272
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2273
2273
  capture: "at_action" | "historical_lookup" | "fixture";
2274
2274
  locator?: string | undefined;
2275
2275
  }[] | undefined;
@@ -2281,13 +2281,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2281
2281
  id: z.ZodString;
2282
2282
  label: z.ZodString;
2283
2283
  }, "strict", z.ZodTypeAny, {
2284
- kind: "agent" | "human";
2285
2284
  id: string;
2286
2285
  label: string;
2287
- }, {
2288
2286
  kind: "agent" | "human";
2287
+ }, {
2289
2288
  id: string;
2290
2289
  label: string;
2290
+ kind: "agent" | "human";
2291
2291
  }>;
2292
2292
  note: z.ZodOptional<z.ZodString>;
2293
2293
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2297,47 +2297,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2297
2297
  locator: z.ZodOptional<z.ZodString>;
2298
2298
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2299
2299
  }, "strict", z.ZodTypeAny, {
2300
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2301
2300
  id: string;
2302
2301
  label: string;
2302
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2303
2303
  capture: "at_action" | "historical_lookup" | "fixture";
2304
2304
  locator?: string | undefined;
2305
2305
  }, {
2306
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2307
2306
  id: string;
2308
2307
  label: string;
2308
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2309
2309
  capture: "at_action" | "historical_lookup" | "fixture";
2310
2310
  locator?: string | undefined;
2311
2311
  }>, "many">>;
2312
2312
  }, "strict", z.ZodTypeAny, {
2313
2313
  kind: "correction_approved";
2314
2314
  evidence: {
2315
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2316
2315
  id: string;
2317
2316
  label: string;
2317
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2318
2318
  capture: "at_action" | "historical_lookup" | "fixture";
2319
2319
  locator?: string | undefined;
2320
2320
  }[];
2321
2321
  correctionId: string;
2322
2322
  approvedBy: {
2323
- kind: "agent" | "human";
2324
2323
  id: string;
2325
2324
  label: string;
2325
+ kind: "agent" | "human";
2326
2326
  };
2327
2327
  note?: string | undefined;
2328
2328
  }, {
2329
2329
  kind: "correction_approved";
2330
2330
  correctionId: string;
2331
2331
  approvedBy: {
2332
- kind: "agent" | "human";
2333
2332
  id: string;
2334
2333
  label: string;
2334
+ kind: "agent" | "human";
2335
2335
  };
2336
2336
  note?: string | undefined;
2337
2337
  evidence?: {
2338
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2339
2338
  id: string;
2340
2339
  label: string;
2340
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2341
2341
  capture: "at_action" | "historical_lookup" | "fixture";
2342
2342
  locator?: string | undefined;
2343
2343
  }[] | undefined;
@@ -2353,24 +2353,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2353
2353
  locator: z.ZodOptional<z.ZodString>;
2354
2354
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2355
2355
  }, "strict", z.ZodTypeAny, {
2356
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2357
2356
  id: string;
2358
2357
  label: string;
2358
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2359
2359
  capture: "at_action" | "historical_lookup" | "fixture";
2360
2360
  locator?: string | undefined;
2361
2361
  }, {
2362
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2363
2362
  id: string;
2364
2363
  label: string;
2364
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2365
2365
  capture: "at_action" | "historical_lookup" | "fixture";
2366
2366
  locator?: string | undefined;
2367
2367
  }>, "many">>;
2368
2368
  }, "strict", z.ZodTypeAny, {
2369
2369
  kind: "decision_superseded";
2370
2370
  evidence: {
2371
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2372
2371
  id: string;
2373
2372
  label: string;
2373
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2374
2374
  capture: "at_action" | "historical_lookup" | "fixture";
2375
2375
  locator?: string | undefined;
2376
2376
  }[];
@@ -2383,9 +2383,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2383
2383
  correctionId: string;
2384
2384
  replacementDecisionId: string;
2385
2385
  evidence?: {
2386
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2387
2386
  id: string;
2388
2387
  label: string;
2388
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2389
2389
  capture: "at_action" | "historical_lookup" | "fixture";
2390
2390
  locator?: string | undefined;
2391
2391
  }[] | undefined;
@@ -2401,15 +2401,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2401
2401
  locator: z.ZodOptional<z.ZodString>;
2402
2402
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2403
2403
  }, "strict", z.ZodTypeAny, {
2404
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2405
2404
  id: string;
2406
2405
  label: string;
2406
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2407
2407
  capture: "at_action" | "historical_lookup" | "fixture";
2408
2408
  locator?: string | undefined;
2409
2409
  }, {
2410
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2411
2410
  id: string;
2412
2411
  label: string;
2412
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2413
2413
  capture: "at_action" | "historical_lookup" | "fixture";
2414
2414
  locator?: string | undefined;
2415
2415
  }>, "many">>;
@@ -2422,9 +2422,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2422
2422
  agentId: string;
2423
2423
  sessionId: string;
2424
2424
  evidence: {
2425
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2426
2425
  id: string;
2427
2426
  label: string;
2427
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2428
2428
  capture: "at_action" | "historical_lookup" | "fixture";
2429
2429
  locator?: string | undefined;
2430
2430
  }[];
@@ -2440,9 +2440,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2440
2440
  recallReceiptId: string;
2441
2441
  capturedAtAction: boolean;
2442
2442
  evidence?: {
2443
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2444
2443
  id: string;
2445
2444
  label: string;
2445
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2446
2446
  capture: "at_action" | "historical_lookup" | "fixture";
2447
2447
  locator?: string | undefined;
2448
2448
  }[] | undefined;
@@ -2458,15 +2458,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2458
2458
  locator: z.ZodOptional<z.ZodString>;
2459
2459
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2460
2460
  }, "strict", z.ZodTypeAny, {
2461
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2462
2461
  id: string;
2463
2462
  label: string;
2463
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2464
2464
  capture: "at_action" | "historical_lookup" | "fixture";
2465
2465
  locator?: string | undefined;
2466
2466
  }, {
2467
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2468
2467
  id: string;
2469
2468
  label: string;
2469
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2470
2470
  capture: "at_action" | "historical_lookup" | "fixture";
2471
2471
  locator?: string | undefined;
2472
2472
  }>, "many">>;
@@ -2478,9 +2478,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2478
2478
  agentId: string;
2479
2479
  sessionId: string;
2480
2480
  evidence: {
2481
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2482
2481
  id: string;
2483
2482
  label: string;
2483
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2484
2484
  capture: "at_action" | "historical_lookup" | "fixture";
2485
2485
  locator?: string | undefined;
2486
2486
  }[];
@@ -2497,9 +2497,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2497
2497
  recallReceiptId: string;
2498
2498
  staleDecisionAbsent: boolean;
2499
2499
  evidence?: {
2500
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2501
2500
  id: string;
2502
2501
  label: string;
2502
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2503
2503
  capture: "at_action" | "historical_lookup" | "fixture";
2504
2504
  locator?: string | undefined;
2505
2505
  }[] | undefined;
@@ -2514,37 +2514,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2514
2514
  locator: z.ZodOptional<z.ZodString>;
2515
2515
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2516
2516
  }, "strict", z.ZodTypeAny, {
2517
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2518
2517
  id: string;
2519
2518
  label: string;
2519
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2520
2520
  capture: "at_action" | "historical_lookup" | "fixture";
2521
2521
  locator?: string | undefined;
2522
2522
  }, {
2523
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2524
2523
  id: string;
2525
2524
  label: string;
2525
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2526
2526
  capture: "at_action" | "historical_lookup" | "fixture";
2527
2527
  locator?: string | undefined;
2528
2528
  }>, "many">>;
2529
2529
  }, "strict", z.ZodTypeAny, {
2530
- kind: "mission_completed";
2531
2530
  summary: string;
2531
+ kind: "mission_completed";
2532
2532
  outcome: "failed" | "recovered" | "inconclusive";
2533
2533
  evidence: {
2534
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2535
2534
  id: string;
2536
2535
  label: string;
2536
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2537
2537
  capture: "at_action" | "historical_lookup" | "fixture";
2538
2538
  locator?: string | undefined;
2539
2539
  }[];
2540
2540
  }, {
2541
- kind: "mission_completed";
2542
2541
  summary: string;
2542
+ kind: "mission_completed";
2543
2543
  outcome: "failed" | "recovered" | "inconclusive";
2544
2544
  evidence?: {
2545
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2546
2545
  id: string;
2547
2546
  label: string;
2547
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2548
2548
  capture: "at_action" | "historical_lookup" | "fixture";
2549
2549
  locator?: string | undefined;
2550
2550
  }[] | undefined;
@@ -2552,38 +2552,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2552
2552
  kind: "mission_started";
2553
2553
  title: string;
2554
2554
  evidence: {
2555
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2556
2555
  id: string;
2557
2556
  label: string;
2557
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2558
2558
  capture: "at_action" | "historical_lookup" | "fixture";
2559
2559
  locator?: string | undefined;
2560
2560
  }[];
2561
2561
  objective: string;
2562
2562
  runMode: "replay" | "fixture" | "live";
2563
2563
  } | {
2564
- kind: "agent_status";
2564
+ label: string;
2565
2565
  status: "failed" | "complete" | "blocked" | "working" | "idle";
2566
+ kind: "agent_status";
2566
2567
  role: string;
2567
- label: string;
2568
2568
  agentId: string;
2569
2569
  sessionId: string;
2570
2570
  evidence: {
2571
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2572
2571
  id: string;
2573
2572
  label: string;
2573
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2574
2574
  capture: "at_action" | "historical_lookup" | "fixture";
2575
2575
  locator?: string | undefined;
2576
2576
  }[];
2577
2577
  detail?: string | undefined;
2578
2578
  } | {
2579
- kind: "agent_output";
2580
2579
  summary: string;
2580
+ kind: "agent_output";
2581
2581
  agentId: string;
2582
2582
  sessionId: string;
2583
2583
  evidence: {
2584
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2585
2584
  id: string;
2586
2585
  label: string;
2586
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2587
2587
  capture: "at_action" | "historical_lookup" | "fixture";
2588
2588
  locator?: string | undefined;
2589
2589
  }[];
@@ -2594,9 +2594,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2594
2594
  statement: string;
2595
2595
  sessionId: string;
2596
2596
  evidence: {
2597
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2598
2597
  id: string;
2599
2598
  label: string;
2599
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2600
2600
  capture: "at_action" | "historical_lookup" | "fixture";
2601
2601
  locator?: string | undefined;
2602
2602
  }[];
@@ -2604,12 +2604,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2604
2604
  decisionId: string;
2605
2605
  confidence?: number | undefined;
2606
2606
  } | {
2607
- kind: "conflict_detected";
2608
2607
  summary: string;
2608
+ kind: "conflict_detected";
2609
2609
  evidence: {
2610
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2611
2610
  id: string;
2612
2611
  label: string;
2612
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2613
2613
  capture: "at_action" | "historical_lookup" | "fixture";
2614
2614
  locator?: string | undefined;
2615
2615
  }[];
@@ -2617,14 +2617,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2617
2617
  decisionIds: string[];
2618
2618
  agentIds: string[];
2619
2619
  } | {
2620
- kind: "test_result";
2621
2620
  summary: string;
2622
2621
  status: "error" | "failed" | "passed";
2622
+ kind: "test_result";
2623
2623
  command: string;
2624
2624
  evidence: {
2625
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2626
2625
  id: string;
2627
2626
  label: string;
2627
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2628
2628
  capture: "at_action" | "historical_lookup" | "fixture";
2629
2629
  locator?: string | undefined;
2630
2630
  }[];
@@ -2637,9 +2637,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2637
2637
  rationale: string;
2638
2638
  statement: string;
2639
2639
  evidence: {
2640
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2641
2640
  id: string;
2642
2641
  label: string;
2642
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2643
2643
  capture: "at_action" | "historical_lookup" | "fixture";
2644
2644
  locator?: string | undefined;
2645
2645
  }[];
@@ -2651,25 +2651,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2651
2651
  } | {
2652
2652
  kind: "correction_approved";
2653
2653
  evidence: {
2654
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2655
2654
  id: string;
2656
2655
  label: string;
2656
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2657
2657
  capture: "at_action" | "historical_lookup" | "fixture";
2658
2658
  locator?: string | undefined;
2659
2659
  }[];
2660
2660
  correctionId: string;
2661
2661
  approvedBy: {
2662
- kind: "agent" | "human";
2663
2662
  id: string;
2664
2663
  label: string;
2664
+ kind: "agent" | "human";
2665
2665
  };
2666
2666
  note?: string | undefined;
2667
2667
  } | {
2668
2668
  kind: "decision_superseded";
2669
2669
  evidence: {
2670
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2671
2670
  id: string;
2672
2671
  label: string;
2672
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2673
2673
  capture: "at_action" | "historical_lookup" | "fixture";
2674
2674
  locator?: string | undefined;
2675
2675
  }[];
@@ -2682,9 +2682,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2682
2682
  agentId: string;
2683
2683
  sessionId: string;
2684
2684
  evidence: {
2685
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2686
2685
  id: string;
2687
2686
  label: string;
2687
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2688
2688
  capture: "at_action" | "historical_lookup" | "fixture";
2689
2689
  locator?: string | undefined;
2690
2690
  }[];
@@ -2696,9 +2696,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2696
2696
  agentId: string;
2697
2697
  sessionId: string;
2698
2698
  evidence: {
2699
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2700
2699
  id: string;
2701
2700
  label: string;
2701
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2702
2702
  capture: "at_action" | "historical_lookup" | "fixture";
2703
2703
  locator?: string | undefined;
2704
2704
  }[];
@@ -2707,13 +2707,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2707
2707
  recallReceiptId: string;
2708
2708
  staleDecisionAbsent: boolean;
2709
2709
  } | {
2710
- kind: "mission_completed";
2711
2710
  summary: string;
2711
+ kind: "mission_completed";
2712
2712
  outcome: "failed" | "recovered" | "inconclusive";
2713
2713
  evidence: {
2714
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2715
2714
  id: string;
2716
2715
  label: string;
2716
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2717
2717
  capture: "at_action" | "historical_lookup" | "fixture";
2718
2718
  locator?: string | undefined;
2719
2719
  }[];
@@ -2723,37 +2723,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2723
2723
  objective: string;
2724
2724
  runMode: "replay" | "fixture" | "live";
2725
2725
  evidence?: {
2726
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2727
2726
  id: string;
2728
2727
  label: string;
2728
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2729
2729
  capture: "at_action" | "historical_lookup" | "fixture";
2730
2730
  locator?: string | undefined;
2731
2731
  }[] | undefined;
2732
2732
  } | {
2733
- kind: "agent_status";
2733
+ label: string;
2734
2734
  status: "failed" | "complete" | "blocked" | "working" | "idle";
2735
+ kind: "agent_status";
2735
2736
  role: string;
2736
- label: string;
2737
2737
  agentId: string;
2738
2738
  sessionId: string;
2739
2739
  detail?: string | undefined;
2740
2740
  evidence?: {
2741
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2742
2741
  id: string;
2743
2742
  label: string;
2743
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2744
2744
  capture: "at_action" | "historical_lookup" | "fixture";
2745
2745
  locator?: string | undefined;
2746
2746
  }[] | undefined;
2747
2747
  } | {
2748
- kind: "agent_output";
2749
2748
  summary: string;
2749
+ kind: "agent_output";
2750
2750
  agentId: string;
2751
2751
  sessionId: string;
2752
2752
  outputId: string;
2753
2753
  evidence?: {
2754
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2755
2754
  id: string;
2756
2755
  label: string;
2756
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2757
2757
  capture: "at_action" | "historical_lookup" | "fixture";
2758
2758
  locator?: string | undefined;
2759
2759
  }[] | undefined;
@@ -2766,37 +2766,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2766
2766
  decisionId: string;
2767
2767
  confidence?: number | undefined;
2768
2768
  evidence?: {
2769
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2770
2769
  id: string;
2771
2770
  label: string;
2771
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2772
2772
  capture: "at_action" | "historical_lookup" | "fixture";
2773
2773
  locator?: string | undefined;
2774
2774
  }[] | undefined;
2775
2775
  } | {
2776
- kind: "conflict_detected";
2777
2776
  summary: string;
2777
+ kind: "conflict_detected";
2778
2778
  conflictId: string;
2779
2779
  decisionIds: string[];
2780
2780
  agentIds: string[];
2781
2781
  evidence?: {
2782
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2783
2782
  id: string;
2784
2783
  label: string;
2784
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2785
2785
  capture: "at_action" | "historical_lookup" | "fixture";
2786
2786
  locator?: string | undefined;
2787
2787
  }[] | undefined;
2788
2788
  } | {
2789
- kind: "test_result";
2790
2789
  summary: string;
2791
2790
  status: "error" | "failed" | "passed";
2791
+ kind: "test_result";
2792
2792
  command: string;
2793
2793
  decisionId: string;
2794
2794
  testId: string;
2795
2795
  durationMs?: number | undefined;
2796
2796
  evidence?: {
2797
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2798
2797
  id: string;
2799
2798
  label: string;
2799
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2800
2800
  capture: "at_action" | "historical_lookup" | "fixture";
2801
2801
  locator?: string | undefined;
2802
2802
  }[] | undefined;
@@ -2811,9 +2811,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2811
2811
  supersedesDecisionIds: string[];
2812
2812
  proposedBy: string;
2813
2813
  evidence?: {
2814
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2815
2814
  id: string;
2816
2815
  label: string;
2816
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2817
2817
  capture: "at_action" | "historical_lookup" | "fixture";
2818
2818
  locator?: string | undefined;
2819
2819
  }[] | undefined;
@@ -2821,15 +2821,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2821
2821
  kind: "correction_approved";
2822
2822
  correctionId: string;
2823
2823
  approvedBy: {
2824
- kind: "agent" | "human";
2825
2824
  id: string;
2826
2825
  label: string;
2826
+ kind: "agent" | "human";
2827
2827
  };
2828
2828
  note?: string | undefined;
2829
2829
  evidence?: {
2830
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2831
2830
  id: string;
2832
2831
  label: string;
2832
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2833
2833
  capture: "at_action" | "historical_lookup" | "fixture";
2834
2834
  locator?: string | undefined;
2835
2835
  }[] | undefined;
@@ -2839,9 +2839,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2839
2839
  correctionId: string;
2840
2840
  replacementDecisionId: string;
2841
2841
  evidence?: {
2842
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2843
2842
  id: string;
2844
2843
  label: string;
2844
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2845
2845
  capture: "at_action" | "historical_lookup" | "fixture";
2846
2846
  locator?: string | undefined;
2847
2847
  }[] | undefined;
@@ -2854,9 +2854,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2854
2854
  recallReceiptId: string;
2855
2855
  capturedAtAction: boolean;
2856
2856
  evidence?: {
2857
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2858
2857
  id: string;
2859
2858
  label: string;
2859
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2860
2860
  capture: "at_action" | "historical_lookup" | "fixture";
2861
2861
  locator?: string | undefined;
2862
2862
  }[] | undefined;
@@ -2869,20 +2869,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2869
2869
  recallReceiptId: string;
2870
2870
  staleDecisionAbsent: boolean;
2871
2871
  evidence?: {
2872
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2873
2872
  id: string;
2874
2873
  label: string;
2874
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2875
2875
  capture: "at_action" | "historical_lookup" | "fixture";
2876
2876
  locator?: string | undefined;
2877
2877
  }[] | undefined;
2878
2878
  } | {
2879
- kind: "mission_completed";
2880
2879
  summary: string;
2880
+ kind: "mission_completed";
2881
2881
  outcome: "failed" | "recovered" | "inconclusive";
2882
2882
  evidence?: {
2883
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2884
2883
  id: string;
2885
2884
  label: string;
2885
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2886
2886
  capture: "at_action" | "historical_lookup" | "fixture";
2887
2887
  locator?: string | undefined;
2888
2888
  }[] | undefined;
@@ -2892,38 +2892,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2892
2892
  kind: "mission_started";
2893
2893
  title: string;
2894
2894
  evidence: {
2895
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2896
2895
  id: string;
2897
2896
  label: string;
2897
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2898
2898
  capture: "at_action" | "historical_lookup" | "fixture";
2899
2899
  locator?: string | undefined;
2900
2900
  }[];
2901
2901
  objective: string;
2902
2902
  runMode: "replay" | "fixture" | "live";
2903
2903
  } | {
2904
- kind: "agent_status";
2904
+ label: string;
2905
2905
  status: "failed" | "complete" | "blocked" | "working" | "idle";
2906
+ kind: "agent_status";
2906
2907
  role: string;
2907
- label: string;
2908
2908
  agentId: string;
2909
2909
  sessionId: string;
2910
2910
  evidence: {
2911
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2912
2911
  id: string;
2913
2912
  label: string;
2913
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2914
2914
  capture: "at_action" | "historical_lookup" | "fixture";
2915
2915
  locator?: string | undefined;
2916
2916
  }[];
2917
2917
  detail?: string | undefined;
2918
2918
  } | {
2919
- kind: "agent_output";
2920
2919
  summary: string;
2920
+ kind: "agent_output";
2921
2921
  agentId: string;
2922
2922
  sessionId: string;
2923
2923
  evidence: {
2924
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2925
2924
  id: string;
2926
2925
  label: string;
2926
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2927
2927
  capture: "at_action" | "historical_lookup" | "fixture";
2928
2928
  locator?: string | undefined;
2929
2929
  }[];
@@ -2934,9 +2934,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2934
2934
  statement: string;
2935
2935
  sessionId: string;
2936
2936
  evidence: {
2937
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2938
2937
  id: string;
2939
2938
  label: string;
2939
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2940
2940
  capture: "at_action" | "historical_lookup" | "fixture";
2941
2941
  locator?: string | undefined;
2942
2942
  }[];
@@ -2944,12 +2944,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2944
2944
  decisionId: string;
2945
2945
  confidence?: number | undefined;
2946
2946
  } | {
2947
- kind: "conflict_detected";
2948
2947
  summary: string;
2948
+ kind: "conflict_detected";
2949
2949
  evidence: {
2950
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2951
2950
  id: string;
2952
2951
  label: string;
2952
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2953
2953
  capture: "at_action" | "historical_lookup" | "fixture";
2954
2954
  locator?: string | undefined;
2955
2955
  }[];
@@ -2957,14 +2957,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2957
2957
  decisionIds: string[];
2958
2958
  agentIds: string[];
2959
2959
  } | {
2960
- kind: "test_result";
2961
2960
  summary: string;
2962
2961
  status: "error" | "failed" | "passed";
2962
+ kind: "test_result";
2963
2963
  command: string;
2964
2964
  evidence: {
2965
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2966
2965
  id: string;
2967
2966
  label: string;
2967
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2968
2968
  capture: "at_action" | "historical_lookup" | "fixture";
2969
2969
  locator?: string | undefined;
2970
2970
  }[];
@@ -2977,9 +2977,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2977
2977
  rationale: string;
2978
2978
  statement: string;
2979
2979
  evidence: {
2980
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2981
2980
  id: string;
2982
2981
  label: string;
2982
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2983
2983
  capture: "at_action" | "historical_lookup" | "fixture";
2984
2984
  locator?: string | undefined;
2985
2985
  }[];
@@ -2991,25 +2991,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2991
2991
  } | {
2992
2992
  kind: "correction_approved";
2993
2993
  evidence: {
2994
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2995
2994
  id: string;
2996
2995
  label: string;
2996
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2997
2997
  capture: "at_action" | "historical_lookup" | "fixture";
2998
2998
  locator?: string | undefined;
2999
2999
  }[];
3000
3000
  correctionId: string;
3001
3001
  approvedBy: {
3002
- kind: "agent" | "human";
3003
3002
  id: string;
3004
3003
  label: string;
3004
+ kind: "agent" | "human";
3005
3005
  };
3006
3006
  note?: string | undefined;
3007
3007
  } | {
3008
3008
  kind: "decision_superseded";
3009
3009
  evidence: {
3010
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3011
3010
  id: string;
3012
3011
  label: string;
3012
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3013
3013
  capture: "at_action" | "historical_lookup" | "fixture";
3014
3014
  locator?: string | undefined;
3015
3015
  }[];
@@ -3022,9 +3022,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3022
3022
  agentId: string;
3023
3023
  sessionId: string;
3024
3024
  evidence: {
3025
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3026
3025
  id: string;
3027
3026
  label: string;
3027
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3028
3028
  capture: "at_action" | "historical_lookup" | "fixture";
3029
3029
  locator?: string | undefined;
3030
3030
  }[];
@@ -3036,9 +3036,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3036
3036
  agentId: string;
3037
3037
  sessionId: string;
3038
3038
  evidence: {
3039
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3040
3039
  id: string;
3041
3040
  label: string;
3041
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3042
3042
  capture: "at_action" | "historical_lookup" | "fixture";
3043
3043
  locator?: string | undefined;
3044
3044
  }[];
@@ -3047,13 +3047,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3047
3047
  recallReceiptId: string;
3048
3048
  staleDecisionAbsent: boolean;
3049
3049
  } | {
3050
- kind: "mission_completed";
3051
3050
  summary: string;
3051
+ kind: "mission_completed";
3052
3052
  outcome: "failed" | "recovered" | "inconclusive";
3053
3053
  evidence: {
3054
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3055
3054
  id: string;
3056
3055
  label: string;
3056
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3057
3057
  capture: "at_action" | "historical_lookup" | "fixture";
3058
3058
  locator?: string | undefined;
3059
3059
  }[];
@@ -3067,37 +3067,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3067
3067
  objective: string;
3068
3068
  runMode: "replay" | "fixture" | "live";
3069
3069
  evidence?: {
3070
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3071
3070
  id: string;
3072
3071
  label: string;
3072
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3073
3073
  capture: "at_action" | "historical_lookup" | "fixture";
3074
3074
  locator?: string | undefined;
3075
3075
  }[] | undefined;
3076
3076
  } | {
3077
- kind: "agent_status";
3077
+ label: string;
3078
3078
  status: "failed" | "complete" | "blocked" | "working" | "idle";
3079
+ kind: "agent_status";
3079
3080
  role: string;
3080
- label: string;
3081
3081
  agentId: string;
3082
3082
  sessionId: string;
3083
3083
  detail?: string | undefined;
3084
3084
  evidence?: {
3085
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3086
3085
  id: string;
3087
3086
  label: string;
3087
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3088
3088
  capture: "at_action" | "historical_lookup" | "fixture";
3089
3089
  locator?: string | undefined;
3090
3090
  }[] | undefined;
3091
3091
  } | {
3092
- kind: "agent_output";
3093
3092
  summary: string;
3093
+ kind: "agent_output";
3094
3094
  agentId: string;
3095
3095
  sessionId: string;
3096
3096
  outputId: string;
3097
3097
  evidence?: {
3098
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3099
3098
  id: string;
3100
3099
  label: string;
3100
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3101
3101
  capture: "at_action" | "historical_lookup" | "fixture";
3102
3102
  locator?: string | undefined;
3103
3103
  }[] | undefined;
@@ -3110,37 +3110,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3110
3110
  decisionId: string;
3111
3111
  confidence?: number | undefined;
3112
3112
  evidence?: {
3113
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3114
3113
  id: string;
3115
3114
  label: string;
3115
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3116
3116
  capture: "at_action" | "historical_lookup" | "fixture";
3117
3117
  locator?: string | undefined;
3118
3118
  }[] | undefined;
3119
3119
  } | {
3120
- kind: "conflict_detected";
3121
3120
  summary: string;
3121
+ kind: "conflict_detected";
3122
3122
  conflictId: string;
3123
3123
  decisionIds: string[];
3124
3124
  agentIds: string[];
3125
3125
  evidence?: {
3126
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3127
3126
  id: string;
3128
3127
  label: string;
3128
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3129
3129
  capture: "at_action" | "historical_lookup" | "fixture";
3130
3130
  locator?: string | undefined;
3131
3131
  }[] | undefined;
3132
3132
  } | {
3133
- kind: "test_result";
3134
3133
  summary: string;
3135
3134
  status: "error" | "failed" | "passed";
3135
+ kind: "test_result";
3136
3136
  command: string;
3137
3137
  decisionId: string;
3138
3138
  testId: string;
3139
3139
  durationMs?: number | undefined;
3140
3140
  evidence?: {
3141
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3142
3141
  id: string;
3143
3142
  label: string;
3143
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3144
3144
  capture: "at_action" | "historical_lookup" | "fixture";
3145
3145
  locator?: string | undefined;
3146
3146
  }[] | undefined;
@@ -3155,9 +3155,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3155
3155
  supersedesDecisionIds: string[];
3156
3156
  proposedBy: string;
3157
3157
  evidence?: {
3158
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3159
3158
  id: string;
3160
3159
  label: string;
3160
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3161
3161
  capture: "at_action" | "historical_lookup" | "fixture";
3162
3162
  locator?: string | undefined;
3163
3163
  }[] | undefined;
@@ -3165,15 +3165,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3165
3165
  kind: "correction_approved";
3166
3166
  correctionId: string;
3167
3167
  approvedBy: {
3168
- kind: "agent" | "human";
3169
3168
  id: string;
3170
3169
  label: string;
3170
+ kind: "agent" | "human";
3171
3171
  };
3172
3172
  note?: string | undefined;
3173
3173
  evidence?: {
3174
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3175
3174
  id: string;
3176
3175
  label: string;
3176
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3177
3177
  capture: "at_action" | "historical_lookup" | "fixture";
3178
3178
  locator?: string | undefined;
3179
3179
  }[] | undefined;
@@ -3183,9 +3183,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3183
3183
  correctionId: string;
3184
3184
  replacementDecisionId: string;
3185
3185
  evidence?: {
3186
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3187
3186
  id: string;
3188
3187
  label: string;
3188
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3189
3189
  capture: "at_action" | "historical_lookup" | "fixture";
3190
3190
  locator?: string | undefined;
3191
3191
  }[] | undefined;
@@ -3198,9 +3198,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3198
3198
  recallReceiptId: string;
3199
3199
  capturedAtAction: boolean;
3200
3200
  evidence?: {
3201
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3202
3201
  id: string;
3203
3202
  label: string;
3203
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3204
3204
  capture: "at_action" | "historical_lookup" | "fixture";
3205
3205
  locator?: string | undefined;
3206
3206
  }[] | undefined;
@@ -3213,20 +3213,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3213
3213
  recallReceiptId: string;
3214
3214
  staleDecisionAbsent: boolean;
3215
3215
  evidence?: {
3216
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3217
3216
  id: string;
3218
3217
  label: string;
3218
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3219
3219
  capture: "at_action" | "historical_lookup" | "fixture";
3220
3220
  locator?: string | undefined;
3221
3221
  }[] | undefined;
3222
3222
  } | {
3223
- kind: "mission_completed";
3224
3223
  summary: string;
3224
+ kind: "mission_completed";
3225
3225
  outcome: "failed" | "recovered" | "inconclusive";
3226
3226
  evidence?: {
3227
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3228
3227
  id: string;
3229
3228
  label: string;
3229
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3230
3230
  capture: "at_action" | "historical_lookup" | "fixture";
3231
3231
  locator?: string | undefined;
3232
3232
  }[] | undefined;
@@ -3256,15 +3256,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3256
3256
  locator: z.ZodOptional<z.ZodString>;
3257
3257
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3258
3258
  }, "strict", z.ZodTypeAny, {
3259
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3260
3259
  id: string;
3261
3260
  label: string;
3261
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3262
3262
  capture: "at_action" | "historical_lookup" | "fixture";
3263
3263
  locator?: string | undefined;
3264
3264
  }, {
3265
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3266
3265
  id: string;
3267
3266
  label: string;
3267
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3268
3268
  capture: "at_action" | "historical_lookup" | "fixture";
3269
3269
  locator?: string | undefined;
3270
3270
  }>, "many">>;
@@ -3272,9 +3272,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3272
3272
  kind: "mission_started";
3273
3273
  title: string;
3274
3274
  evidence: {
3275
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3276
3275
  id: string;
3277
3276
  label: string;
3277
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3278
3278
  capture: "at_action" | "historical_lookup" | "fixture";
3279
3279
  locator?: string | undefined;
3280
3280
  }[];
@@ -3286,9 +3286,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3286
3286
  objective: string;
3287
3287
  runMode: "replay" | "fixture" | "live";
3288
3288
  evidence?: {
3289
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3290
3289
  id: string;
3291
3290
  label: string;
3291
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3292
3292
  capture: "at_action" | "historical_lookup" | "fixture";
3293
3293
  locator?: string | undefined;
3294
3294
  }[] | undefined;
@@ -3304,15 +3304,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3304
3304
  locator: z.ZodOptional<z.ZodString>;
3305
3305
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3306
3306
  }, "strict", z.ZodTypeAny, {
3307
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3308
3307
  id: string;
3309
3308
  label: string;
3309
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3310
3310
  capture: "at_action" | "historical_lookup" | "fixture";
3311
3311
  locator?: string | undefined;
3312
3312
  }, {
3313
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3314
3313
  id: string;
3315
3314
  label: string;
3315
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3316
3316
  capture: "at_action" | "historical_lookup" | "fixture";
3317
3317
  locator?: string | undefined;
3318
3318
  }>, "many">>;
@@ -3320,32 +3320,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3320
3320
  sessionId: z.ZodString;
3321
3321
  kind: z.ZodLiteral<"agent_status">;
3322
3322
  }, "strict", z.ZodTypeAny, {
3323
- kind: "agent_status";
3323
+ label: string;
3324
3324
  status: "failed" | "complete" | "blocked" | "working" | "idle";
3325
+ kind: "agent_status";
3325
3326
  role: string;
3326
- label: string;
3327
3327
  agentId: string;
3328
3328
  sessionId: string;
3329
3329
  evidence: {
3330
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3331
3330
  id: string;
3332
3331
  label: string;
3332
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3333
3333
  capture: "at_action" | "historical_lookup" | "fixture";
3334
3334
  locator?: string | undefined;
3335
3335
  }[];
3336
3336
  detail?: string | undefined;
3337
3337
  }, {
3338
- kind: "agent_status";
3338
+ label: string;
3339
3339
  status: "failed" | "complete" | "blocked" | "working" | "idle";
3340
+ kind: "agent_status";
3340
3341
  role: string;
3341
- label: string;
3342
3342
  agentId: string;
3343
3343
  sessionId: string;
3344
3344
  detail?: string | undefined;
3345
3345
  evidence?: {
3346
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3347
3346
  id: string;
3348
3347
  label: string;
3348
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3349
3349
  capture: "at_action" | "historical_lookup" | "fixture";
3350
3350
  locator?: string | undefined;
3351
3351
  }[] | undefined;
@@ -3359,15 +3359,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3359
3359
  locator: z.ZodOptional<z.ZodString>;
3360
3360
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3361
3361
  }, "strict", z.ZodTypeAny, {
3362
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3363
3362
  id: string;
3364
3363
  label: string;
3364
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3365
3365
  capture: "at_action" | "historical_lookup" | "fixture";
3366
3366
  locator?: string | undefined;
3367
3367
  }, {
3368
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3369
3368
  id: string;
3370
3369
  label: string;
3370
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3371
3371
  capture: "at_action" | "historical_lookup" | "fixture";
3372
3372
  locator?: string | undefined;
3373
3373
  }>, "many">>;
@@ -3375,28 +3375,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3375
3375
  sessionId: z.ZodString;
3376
3376
  kind: z.ZodLiteral<"agent_output">;
3377
3377
  }, "strict", z.ZodTypeAny, {
3378
- kind: "agent_output";
3379
3378
  summary: string;
3379
+ kind: "agent_output";
3380
3380
  agentId: string;
3381
3381
  sessionId: string;
3382
3382
  evidence: {
3383
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3384
3383
  id: string;
3385
3384
  label: string;
3385
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3386
3386
  capture: "at_action" | "historical_lookup" | "fixture";
3387
3387
  locator?: string | undefined;
3388
3388
  }[];
3389
3389
  outputId: string;
3390
3390
  }, {
3391
- kind: "agent_output";
3392
3391
  summary: string;
3392
+ kind: "agent_output";
3393
3393
  agentId: string;
3394
3394
  sessionId: string;
3395
3395
  outputId: string;
3396
3396
  evidence?: {
3397
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3398
3397
  id: string;
3399
3398
  label: string;
3399
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3400
3400
  capture: "at_action" | "historical_lookup" | "fixture";
3401
3401
  locator?: string | undefined;
3402
3402
  }[] | undefined;
@@ -3412,15 +3412,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3412
3412
  locator: z.ZodOptional<z.ZodString>;
3413
3413
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3414
3414
  }, "strict", z.ZodTypeAny, {
3415
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3416
3415
  id: string;
3417
3416
  label: string;
3417
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3418
3418
  capture: "at_action" | "historical_lookup" | "fixture";
3419
3419
  locator?: string | undefined;
3420
3420
  }, {
3421
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3422
3421
  id: string;
3423
3422
  label: string;
3423
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3424
3424
  capture: "at_action" | "historical_lookup" | "fixture";
3425
3425
  locator?: string | undefined;
3426
3426
  }>, "many">>;
@@ -3433,9 +3433,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3433
3433
  statement: string;
3434
3434
  sessionId: string;
3435
3435
  evidence: {
3436
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3437
3436
  id: string;
3438
3437
  label: string;
3438
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3439
3439
  capture: "at_action" | "historical_lookup" | "fixture";
3440
3440
  locator?: string | undefined;
3441
3441
  }[];
@@ -3451,9 +3451,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3451
3451
  decisionId: string;
3452
3452
  confidence?: number | undefined;
3453
3453
  evidence?: {
3454
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3455
3454
  id: string;
3456
3455
  label: string;
3456
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3457
3457
  capture: "at_action" | "historical_lookup" | "fixture";
3458
3458
  locator?: string | undefined;
3459
3459
  }[] | undefined;
@@ -3470,25 +3470,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3470
3470
  locator: z.ZodOptional<z.ZodString>;
3471
3471
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3472
3472
  }, "strict", z.ZodTypeAny, {
3473
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3474
3473
  id: string;
3475
3474
  label: string;
3475
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3476
3476
  capture: "at_action" | "historical_lookup" | "fixture";
3477
3477
  locator?: string | undefined;
3478
3478
  }, {
3479
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3480
3479
  id: string;
3481
3480
  label: string;
3481
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3482
3482
  capture: "at_action" | "historical_lookup" | "fixture";
3483
3483
  locator?: string | undefined;
3484
3484
  }>, "many">>;
3485
3485
  }, "strict", z.ZodTypeAny, {
3486
- kind: "conflict_detected";
3487
3486
  summary: string;
3487
+ kind: "conflict_detected";
3488
3488
  evidence: {
3489
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3490
3489
  id: string;
3491
3490
  label: string;
3491
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3492
3492
  capture: "at_action" | "historical_lookup" | "fixture";
3493
3493
  locator?: string | undefined;
3494
3494
  }[];
@@ -3496,15 +3496,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3496
3496
  decisionIds: string[];
3497
3497
  agentIds: string[];
3498
3498
  }, {
3499
- kind: "conflict_detected";
3500
3499
  summary: string;
3500
+ kind: "conflict_detected";
3501
3501
  conflictId: string;
3502
3502
  decisionIds: string[];
3503
3503
  agentIds: string[];
3504
3504
  evidence?: {
3505
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3506
3505
  id: string;
3507
3506
  label: string;
3507
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3508
3508
  capture: "at_action" | "historical_lookup" | "fixture";
3509
3509
  locator?: string | undefined;
3510
3510
  }[] | undefined;
@@ -3524,27 +3524,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3524
3524
  locator: z.ZodOptional<z.ZodString>;
3525
3525
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3526
3526
  }, "strict", z.ZodTypeAny, {
3527
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3528
3527
  id: string;
3529
3528
  label: string;
3529
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3530
3530
  capture: "at_action" | "historical_lookup" | "fixture";
3531
3531
  locator?: string | undefined;
3532
3532
  }, {
3533
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3534
3533
  id: string;
3535
3534
  label: string;
3535
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3536
3536
  capture: "at_action" | "historical_lookup" | "fixture";
3537
3537
  locator?: string | undefined;
3538
3538
  }>, "many">>;
3539
3539
  }, "strict", z.ZodTypeAny, {
3540
- kind: "test_result";
3541
3540
  summary: string;
3542
3541
  status: "error" | "failed" | "passed";
3542
+ kind: "test_result";
3543
3543
  command: string;
3544
3544
  evidence: {
3545
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3546
3545
  id: string;
3547
3546
  label: string;
3547
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3548
3548
  capture: "at_action" | "historical_lookup" | "fixture";
3549
3549
  locator?: string | undefined;
3550
3550
  }[];
@@ -3553,17 +3553,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3553
3553
  durationMs?: number | undefined;
3554
3554
  correctionId?: string | undefined;
3555
3555
  }, {
3556
- kind: "test_result";
3557
3556
  summary: string;
3558
3557
  status: "error" | "failed" | "passed";
3558
+ kind: "test_result";
3559
3559
  command: string;
3560
3560
  decisionId: string;
3561
3561
  testId: string;
3562
3562
  durationMs?: number | undefined;
3563
3563
  evidence?: {
3564
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3565
3564
  id: string;
3566
3565
  label: string;
3566
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3567
3567
  capture: "at_action" | "historical_lookup" | "fixture";
3568
3568
  locator?: string | undefined;
3569
3569
  }[] | undefined;
@@ -3584,15 +3584,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3584
3584
  locator: z.ZodOptional<z.ZodString>;
3585
3585
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3586
3586
  }, "strict", z.ZodTypeAny, {
3587
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3588
3587
  id: string;
3589
3588
  label: string;
3589
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3590
3590
  capture: "at_action" | "historical_lookup" | "fixture";
3591
3591
  locator?: string | undefined;
3592
3592
  }, {
3593
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3594
3593
  id: string;
3595
3594
  label: string;
3595
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3596
3596
  capture: "at_action" | "historical_lookup" | "fixture";
3597
3597
  locator?: string | undefined;
3598
3598
  }>, "many">>;
@@ -3601,9 +3601,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3601
3601
  rationale: string;
3602
3602
  statement: string;
3603
3603
  evidence: {
3604
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3605
3604
  id: string;
3606
3605
  label: string;
3606
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3607
3607
  capture: "at_action" | "historical_lookup" | "fixture";
3608
3608
  locator?: string | undefined;
3609
3609
  }[];
@@ -3622,9 +3622,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3622
3622
  supersedesDecisionIds: string[];
3623
3623
  proposedBy: string;
3624
3624
  evidence?: {
3625
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3626
3625
  id: string;
3627
3626
  label: string;
3627
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3628
3628
  capture: "at_action" | "historical_lookup" | "fixture";
3629
3629
  locator?: string | undefined;
3630
3630
  }[] | undefined;
@@ -3636,13 +3636,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3636
3636
  id: z.ZodString;
3637
3637
  label: z.ZodString;
3638
3638
  }, "strict", z.ZodTypeAny, {
3639
- kind: "agent" | "human";
3640
3639
  id: string;
3641
3640
  label: string;
3642
- }, {
3643
3641
  kind: "agent" | "human";
3642
+ }, {
3644
3643
  id: string;
3645
3644
  label: string;
3645
+ kind: "agent" | "human";
3646
3646
  }>;
3647
3647
  note: z.ZodOptional<z.ZodString>;
3648
3648
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3652,47 +3652,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3652
3652
  locator: z.ZodOptional<z.ZodString>;
3653
3653
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3654
3654
  }, "strict", z.ZodTypeAny, {
3655
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3656
3655
  id: string;
3657
3656
  label: string;
3657
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3658
3658
  capture: "at_action" | "historical_lookup" | "fixture";
3659
3659
  locator?: string | undefined;
3660
3660
  }, {
3661
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3662
3661
  id: string;
3663
3662
  label: string;
3663
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3664
3664
  capture: "at_action" | "historical_lookup" | "fixture";
3665
3665
  locator?: string | undefined;
3666
3666
  }>, "many">>;
3667
3667
  }, "strict", z.ZodTypeAny, {
3668
3668
  kind: "correction_approved";
3669
3669
  evidence: {
3670
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3671
3670
  id: string;
3672
3671
  label: string;
3672
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3673
3673
  capture: "at_action" | "historical_lookup" | "fixture";
3674
3674
  locator?: string | undefined;
3675
3675
  }[];
3676
3676
  correctionId: string;
3677
3677
  approvedBy: {
3678
- kind: "agent" | "human";
3679
3678
  id: string;
3680
3679
  label: string;
3680
+ kind: "agent" | "human";
3681
3681
  };
3682
3682
  note?: string | undefined;
3683
3683
  }, {
3684
3684
  kind: "correction_approved";
3685
3685
  correctionId: string;
3686
3686
  approvedBy: {
3687
- kind: "agent" | "human";
3688
3687
  id: string;
3689
3688
  label: string;
3689
+ kind: "agent" | "human";
3690
3690
  };
3691
3691
  note?: string | undefined;
3692
3692
  evidence?: {
3693
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3694
3693
  id: string;
3695
3694
  label: string;
3695
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3696
3696
  capture: "at_action" | "historical_lookup" | "fixture";
3697
3697
  locator?: string | undefined;
3698
3698
  }[] | undefined;
@@ -3708,24 +3708,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3708
3708
  locator: z.ZodOptional<z.ZodString>;
3709
3709
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3710
3710
  }, "strict", z.ZodTypeAny, {
3711
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3712
3711
  id: string;
3713
3712
  label: string;
3713
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3714
3714
  capture: "at_action" | "historical_lookup" | "fixture";
3715
3715
  locator?: string | undefined;
3716
3716
  }, {
3717
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3718
3717
  id: string;
3719
3718
  label: string;
3719
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3720
3720
  capture: "at_action" | "historical_lookup" | "fixture";
3721
3721
  locator?: string | undefined;
3722
3722
  }>, "many">>;
3723
3723
  }, "strict", z.ZodTypeAny, {
3724
3724
  kind: "decision_superseded";
3725
3725
  evidence: {
3726
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3727
3726
  id: string;
3728
3727
  label: string;
3728
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3729
3729
  capture: "at_action" | "historical_lookup" | "fixture";
3730
3730
  locator?: string | undefined;
3731
3731
  }[];
@@ -3738,9 +3738,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3738
3738
  correctionId: string;
3739
3739
  replacementDecisionId: string;
3740
3740
  evidence?: {
3741
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3742
3741
  id: string;
3743
3742
  label: string;
3743
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3744
3744
  capture: "at_action" | "historical_lookup" | "fixture";
3745
3745
  locator?: string | undefined;
3746
3746
  }[] | undefined;
@@ -3756,15 +3756,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3756
3756
  locator: z.ZodOptional<z.ZodString>;
3757
3757
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3758
3758
  }, "strict", z.ZodTypeAny, {
3759
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3760
3759
  id: string;
3761
3760
  label: string;
3761
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3762
3762
  capture: "at_action" | "historical_lookup" | "fixture";
3763
3763
  locator?: string | undefined;
3764
3764
  }, {
3765
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3766
3765
  id: string;
3767
3766
  label: string;
3767
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3768
3768
  capture: "at_action" | "historical_lookup" | "fixture";
3769
3769
  locator?: string | undefined;
3770
3770
  }>, "many">>;
@@ -3777,9 +3777,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3777
3777
  agentId: string;
3778
3778
  sessionId: string;
3779
3779
  evidence: {
3780
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3781
3780
  id: string;
3782
3781
  label: string;
3782
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3783
3783
  capture: "at_action" | "historical_lookup" | "fixture";
3784
3784
  locator?: string | undefined;
3785
3785
  }[];
@@ -3795,9 +3795,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3795
3795
  recallReceiptId: string;
3796
3796
  capturedAtAction: boolean;
3797
3797
  evidence?: {
3798
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3799
3798
  id: string;
3800
3799
  label: string;
3800
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3801
3801
  capture: "at_action" | "historical_lookup" | "fixture";
3802
3802
  locator?: string | undefined;
3803
3803
  }[] | undefined;
@@ -3813,15 +3813,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3813
3813
  locator: z.ZodOptional<z.ZodString>;
3814
3814
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3815
3815
  }, "strict", z.ZodTypeAny, {
3816
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3817
3816
  id: string;
3818
3817
  label: string;
3818
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3819
3819
  capture: "at_action" | "historical_lookup" | "fixture";
3820
3820
  locator?: string | undefined;
3821
3821
  }, {
3822
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3823
3822
  id: string;
3824
3823
  label: string;
3824
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3825
3825
  capture: "at_action" | "historical_lookup" | "fixture";
3826
3826
  locator?: string | undefined;
3827
3827
  }>, "many">>;
@@ -3833,9 +3833,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3833
3833
  agentId: string;
3834
3834
  sessionId: string;
3835
3835
  evidence: {
3836
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3837
3836
  id: string;
3838
3837
  label: string;
3838
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3839
3839
  capture: "at_action" | "historical_lookup" | "fixture";
3840
3840
  locator?: string | undefined;
3841
3841
  }[];
@@ -3852,9 +3852,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3852
3852
  recallReceiptId: string;
3853
3853
  staleDecisionAbsent: boolean;
3854
3854
  evidence?: {
3855
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3856
3855
  id: string;
3857
3856
  label: string;
3857
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3858
3858
  capture: "at_action" | "historical_lookup" | "fixture";
3859
3859
  locator?: string | undefined;
3860
3860
  }[] | undefined;
@@ -3869,37 +3869,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3869
3869
  locator: z.ZodOptional<z.ZodString>;
3870
3870
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3871
3871
  }, "strict", z.ZodTypeAny, {
3872
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3873
3872
  id: string;
3874
3873
  label: string;
3874
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3875
3875
  capture: "at_action" | "historical_lookup" | "fixture";
3876
3876
  locator?: string | undefined;
3877
3877
  }, {
3878
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3879
3878
  id: string;
3880
3879
  label: string;
3880
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3881
3881
  capture: "at_action" | "historical_lookup" | "fixture";
3882
3882
  locator?: string | undefined;
3883
3883
  }>, "many">>;
3884
3884
  }, "strict", z.ZodTypeAny, {
3885
- kind: "mission_completed";
3886
3885
  summary: string;
3886
+ kind: "mission_completed";
3887
3887
  outcome: "failed" | "recovered" | "inconclusive";
3888
3888
  evidence: {
3889
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3890
3889
  id: string;
3891
3890
  label: string;
3891
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3892
3892
  capture: "at_action" | "historical_lookup" | "fixture";
3893
3893
  locator?: string | undefined;
3894
3894
  }[];
3895
3895
  }, {
3896
- kind: "mission_completed";
3897
3896
  summary: string;
3897
+ kind: "mission_completed";
3898
3898
  outcome: "failed" | "recovered" | "inconclusive";
3899
3899
  evidence?: {
3900
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3901
3900
  id: string;
3902
3901
  label: string;
3902
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3903
3903
  capture: "at_action" | "historical_lookup" | "fixture";
3904
3904
  locator?: string | undefined;
3905
3905
  }[] | undefined;
@@ -3907,38 +3907,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3907
3907
  kind: "mission_started";
3908
3908
  title: string;
3909
3909
  evidence: {
3910
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3911
3910
  id: string;
3912
3911
  label: string;
3912
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3913
3913
  capture: "at_action" | "historical_lookup" | "fixture";
3914
3914
  locator?: string | undefined;
3915
3915
  }[];
3916
3916
  objective: string;
3917
3917
  runMode: "replay" | "fixture" | "live";
3918
3918
  } | {
3919
- kind: "agent_status";
3919
+ label: string;
3920
3920
  status: "failed" | "complete" | "blocked" | "working" | "idle";
3921
+ kind: "agent_status";
3921
3922
  role: string;
3922
- label: string;
3923
3923
  agentId: string;
3924
3924
  sessionId: string;
3925
3925
  evidence: {
3926
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3927
3926
  id: string;
3928
3927
  label: string;
3928
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3929
3929
  capture: "at_action" | "historical_lookup" | "fixture";
3930
3930
  locator?: string | undefined;
3931
3931
  }[];
3932
3932
  detail?: string | undefined;
3933
3933
  } | {
3934
- kind: "agent_output";
3935
3934
  summary: string;
3935
+ kind: "agent_output";
3936
3936
  agentId: string;
3937
3937
  sessionId: string;
3938
3938
  evidence: {
3939
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3940
3939
  id: string;
3941
3940
  label: string;
3941
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3942
3942
  capture: "at_action" | "historical_lookup" | "fixture";
3943
3943
  locator?: string | undefined;
3944
3944
  }[];
@@ -3949,9 +3949,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3949
3949
  statement: string;
3950
3950
  sessionId: string;
3951
3951
  evidence: {
3952
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3953
3952
  id: string;
3954
3953
  label: string;
3954
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3955
3955
  capture: "at_action" | "historical_lookup" | "fixture";
3956
3956
  locator?: string | undefined;
3957
3957
  }[];
@@ -3959,12 +3959,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3959
3959
  decisionId: string;
3960
3960
  confidence?: number | undefined;
3961
3961
  } | {
3962
- kind: "conflict_detected";
3963
3962
  summary: string;
3963
+ kind: "conflict_detected";
3964
3964
  evidence: {
3965
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3966
3965
  id: string;
3967
3966
  label: string;
3967
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3968
3968
  capture: "at_action" | "historical_lookup" | "fixture";
3969
3969
  locator?: string | undefined;
3970
3970
  }[];
@@ -3972,14 +3972,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3972
3972
  decisionIds: string[];
3973
3973
  agentIds: string[];
3974
3974
  } | {
3975
- kind: "test_result";
3976
3975
  summary: string;
3977
3976
  status: "error" | "failed" | "passed";
3977
+ kind: "test_result";
3978
3978
  command: string;
3979
3979
  evidence: {
3980
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3981
3980
  id: string;
3982
3981
  label: string;
3982
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3983
3983
  capture: "at_action" | "historical_lookup" | "fixture";
3984
3984
  locator?: string | undefined;
3985
3985
  }[];
@@ -3992,9 +3992,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3992
3992
  rationale: string;
3993
3993
  statement: string;
3994
3994
  evidence: {
3995
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3996
3995
  id: string;
3997
3996
  label: string;
3997
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3998
3998
  capture: "at_action" | "historical_lookup" | "fixture";
3999
3999
  locator?: string | undefined;
4000
4000
  }[];
@@ -4006,25 +4006,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4006
4006
  } | {
4007
4007
  kind: "correction_approved";
4008
4008
  evidence: {
4009
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4010
4009
  id: string;
4011
4010
  label: string;
4011
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4012
4012
  capture: "at_action" | "historical_lookup" | "fixture";
4013
4013
  locator?: string | undefined;
4014
4014
  }[];
4015
4015
  correctionId: string;
4016
4016
  approvedBy: {
4017
- kind: "agent" | "human";
4018
4017
  id: string;
4019
4018
  label: string;
4019
+ kind: "agent" | "human";
4020
4020
  };
4021
4021
  note?: string | undefined;
4022
4022
  } | {
4023
4023
  kind: "decision_superseded";
4024
4024
  evidence: {
4025
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4026
4025
  id: string;
4027
4026
  label: string;
4027
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4028
4028
  capture: "at_action" | "historical_lookup" | "fixture";
4029
4029
  locator?: string | undefined;
4030
4030
  }[];
@@ -4037,9 +4037,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4037
4037
  agentId: string;
4038
4038
  sessionId: string;
4039
4039
  evidence: {
4040
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4041
4040
  id: string;
4042
4041
  label: string;
4042
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4043
4043
  capture: "at_action" | "historical_lookup" | "fixture";
4044
4044
  locator?: string | undefined;
4045
4045
  }[];
@@ -4051,9 +4051,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4051
4051
  agentId: string;
4052
4052
  sessionId: string;
4053
4053
  evidence: {
4054
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4055
4054
  id: string;
4056
4055
  label: string;
4056
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4057
4057
  capture: "at_action" | "historical_lookup" | "fixture";
4058
4058
  locator?: string | undefined;
4059
4059
  }[];
@@ -4062,13 +4062,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4062
4062
  recallReceiptId: string;
4063
4063
  staleDecisionAbsent: boolean;
4064
4064
  } | {
4065
- kind: "mission_completed";
4066
4065
  summary: string;
4066
+ kind: "mission_completed";
4067
4067
  outcome: "failed" | "recovered" | "inconclusive";
4068
4068
  evidence: {
4069
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4070
4069
  id: string;
4071
4070
  label: string;
4071
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4072
4072
  capture: "at_action" | "historical_lookup" | "fixture";
4073
4073
  locator?: string | undefined;
4074
4074
  }[];
@@ -4078,37 +4078,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4078
4078
  objective: string;
4079
4079
  runMode: "replay" | "fixture" | "live";
4080
4080
  evidence?: {
4081
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4082
4081
  id: string;
4083
4082
  label: string;
4083
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4084
4084
  capture: "at_action" | "historical_lookup" | "fixture";
4085
4085
  locator?: string | undefined;
4086
4086
  }[] | undefined;
4087
4087
  } | {
4088
- kind: "agent_status";
4088
+ label: string;
4089
4089
  status: "failed" | "complete" | "blocked" | "working" | "idle";
4090
+ kind: "agent_status";
4090
4091
  role: string;
4091
- label: string;
4092
4092
  agentId: string;
4093
4093
  sessionId: string;
4094
4094
  detail?: string | undefined;
4095
4095
  evidence?: {
4096
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4097
4096
  id: string;
4098
4097
  label: string;
4098
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4099
4099
  capture: "at_action" | "historical_lookup" | "fixture";
4100
4100
  locator?: string | undefined;
4101
4101
  }[] | undefined;
4102
4102
  } | {
4103
- kind: "agent_output";
4104
4103
  summary: string;
4104
+ kind: "agent_output";
4105
4105
  agentId: string;
4106
4106
  sessionId: string;
4107
4107
  outputId: string;
4108
4108
  evidence?: {
4109
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4110
4109
  id: string;
4111
4110
  label: string;
4111
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4112
4112
  capture: "at_action" | "historical_lookup" | "fixture";
4113
4113
  locator?: string | undefined;
4114
4114
  }[] | undefined;
@@ -4121,37 +4121,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4121
4121
  decisionId: string;
4122
4122
  confidence?: number | undefined;
4123
4123
  evidence?: {
4124
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4125
4124
  id: string;
4126
4125
  label: string;
4126
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4127
4127
  capture: "at_action" | "historical_lookup" | "fixture";
4128
4128
  locator?: string | undefined;
4129
4129
  }[] | undefined;
4130
4130
  } | {
4131
- kind: "conflict_detected";
4132
4131
  summary: string;
4132
+ kind: "conflict_detected";
4133
4133
  conflictId: string;
4134
4134
  decisionIds: string[];
4135
4135
  agentIds: string[];
4136
4136
  evidence?: {
4137
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4138
4137
  id: string;
4139
4138
  label: string;
4139
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4140
4140
  capture: "at_action" | "historical_lookup" | "fixture";
4141
4141
  locator?: string | undefined;
4142
4142
  }[] | undefined;
4143
4143
  } | {
4144
- kind: "test_result";
4145
4144
  summary: string;
4146
4145
  status: "error" | "failed" | "passed";
4146
+ kind: "test_result";
4147
4147
  command: string;
4148
4148
  decisionId: string;
4149
4149
  testId: string;
4150
4150
  durationMs?: number | undefined;
4151
4151
  evidence?: {
4152
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4153
4152
  id: string;
4154
4153
  label: string;
4154
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4155
4155
  capture: "at_action" | "historical_lookup" | "fixture";
4156
4156
  locator?: string | undefined;
4157
4157
  }[] | undefined;
@@ -4166,9 +4166,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4166
4166
  supersedesDecisionIds: string[];
4167
4167
  proposedBy: string;
4168
4168
  evidence?: {
4169
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4170
4169
  id: string;
4171
4170
  label: string;
4171
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4172
4172
  capture: "at_action" | "historical_lookup" | "fixture";
4173
4173
  locator?: string | undefined;
4174
4174
  }[] | undefined;
@@ -4176,15 +4176,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4176
4176
  kind: "correction_approved";
4177
4177
  correctionId: string;
4178
4178
  approvedBy: {
4179
- kind: "agent" | "human";
4180
4179
  id: string;
4181
4180
  label: string;
4181
+ kind: "agent" | "human";
4182
4182
  };
4183
4183
  note?: string | undefined;
4184
4184
  evidence?: {
4185
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4186
4185
  id: string;
4187
4186
  label: string;
4187
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4188
4188
  capture: "at_action" | "historical_lookup" | "fixture";
4189
4189
  locator?: string | undefined;
4190
4190
  }[] | undefined;
@@ -4194,9 +4194,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4194
4194
  correctionId: string;
4195
4195
  replacementDecisionId: string;
4196
4196
  evidence?: {
4197
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4198
4197
  id: string;
4199
4198
  label: string;
4199
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4200
4200
  capture: "at_action" | "historical_lookup" | "fixture";
4201
4201
  locator?: string | undefined;
4202
4202
  }[] | undefined;
@@ -4209,9 +4209,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4209
4209
  recallReceiptId: string;
4210
4210
  capturedAtAction: boolean;
4211
4211
  evidence?: {
4212
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4213
4212
  id: string;
4214
4213
  label: string;
4214
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4215
4215
  capture: "at_action" | "historical_lookup" | "fixture";
4216
4216
  locator?: string | undefined;
4217
4217
  }[] | undefined;
@@ -4224,63 +4224,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4224
4224
  recallReceiptId: string;
4225
4225
  staleDecisionAbsent: boolean;
4226
4226
  evidence?: {
4227
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4228
4227
  id: string;
4229
4228
  label: string;
4229
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4230
4230
  capture: "at_action" | "historical_lookup" | "fixture";
4231
4231
  locator?: string | undefined;
4232
4232
  }[] | undefined;
4233
4233
  } | {
4234
- kind: "mission_completed";
4235
4234
  summary: string;
4235
+ kind: "mission_completed";
4236
4236
  outcome: "failed" | "recovered" | "inconclusive";
4237
4237
  evidence?: {
4238
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4239
4238
  id: string;
4240
4239
  label: string;
4240
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4241
4241
  capture: "at_action" | "historical_lookup" | "fixture";
4242
4242
  locator?: string | undefined;
4243
4243
  }[] | undefined;
4244
4244
  }>;
4245
4245
  }, "strict", z.ZodTypeAny, {
4246
- schemaVersion: "1";
4246
+ namespace: string;
4247
4247
  recordedAt: string;
4248
+ schemaVersion: "1";
4248
4249
  payload: {
4249
4250
  kind: "mission_started";
4250
4251
  title: string;
4251
4252
  evidence: {
4252
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4253
4253
  id: string;
4254
4254
  label: string;
4255
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4255
4256
  capture: "at_action" | "historical_lookup" | "fixture";
4256
4257
  locator?: string | undefined;
4257
4258
  }[];
4258
4259
  objective: string;
4259
4260
  runMode: "replay" | "fixture" | "live";
4260
4261
  } | {
4261
- kind: "agent_status";
4262
+ label: string;
4262
4263
  status: "failed" | "complete" | "blocked" | "working" | "idle";
4264
+ kind: "agent_status";
4263
4265
  role: string;
4264
- label: string;
4265
4266
  agentId: string;
4266
4267
  sessionId: string;
4267
4268
  evidence: {
4268
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4269
4269
  id: string;
4270
4270
  label: string;
4271
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4271
4272
  capture: "at_action" | "historical_lookup" | "fixture";
4272
4273
  locator?: string | undefined;
4273
4274
  }[];
4274
4275
  detail?: string | undefined;
4275
4276
  } | {
4276
- kind: "agent_output";
4277
4277
  summary: string;
4278
+ kind: "agent_output";
4278
4279
  agentId: string;
4279
4280
  sessionId: string;
4280
4281
  evidence: {
4281
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4282
4282
  id: string;
4283
4283
  label: string;
4284
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4284
4285
  capture: "at_action" | "historical_lookup" | "fixture";
4285
4286
  locator?: string | undefined;
4286
4287
  }[];
@@ -4291,9 +4292,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4291
4292
  statement: string;
4292
4293
  sessionId: string;
4293
4294
  evidence: {
4294
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4295
4295
  id: string;
4296
4296
  label: string;
4297
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4297
4298
  capture: "at_action" | "historical_lookup" | "fixture";
4298
4299
  locator?: string | undefined;
4299
4300
  }[];
@@ -4301,12 +4302,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4301
4302
  decisionId: string;
4302
4303
  confidence?: number | undefined;
4303
4304
  } | {
4304
- kind: "conflict_detected";
4305
4305
  summary: string;
4306
+ kind: "conflict_detected";
4306
4307
  evidence: {
4307
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4308
4308
  id: string;
4309
4309
  label: string;
4310
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4310
4311
  capture: "at_action" | "historical_lookup" | "fixture";
4311
4312
  locator?: string | undefined;
4312
4313
  }[];
@@ -4314,14 +4315,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4314
4315
  decisionIds: string[];
4315
4316
  agentIds: string[];
4316
4317
  } | {
4317
- kind: "test_result";
4318
4318
  summary: string;
4319
4319
  status: "error" | "failed" | "passed";
4320
+ kind: "test_result";
4320
4321
  command: string;
4321
4322
  evidence: {
4322
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4323
4323
  id: string;
4324
4324
  label: string;
4325
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4325
4326
  capture: "at_action" | "historical_lookup" | "fixture";
4326
4327
  locator?: string | undefined;
4327
4328
  }[];
@@ -4334,9 +4335,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4334
4335
  rationale: string;
4335
4336
  statement: string;
4336
4337
  evidence: {
4337
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4338
4338
  id: string;
4339
4339
  label: string;
4340
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4340
4341
  capture: "at_action" | "historical_lookup" | "fixture";
4341
4342
  locator?: string | undefined;
4342
4343
  }[];
@@ -4348,25 +4349,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4348
4349
  } | {
4349
4350
  kind: "correction_approved";
4350
4351
  evidence: {
4351
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4352
4352
  id: string;
4353
4353
  label: string;
4354
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4354
4355
  capture: "at_action" | "historical_lookup" | "fixture";
4355
4356
  locator?: string | undefined;
4356
4357
  }[];
4357
4358
  correctionId: string;
4358
4359
  approvedBy: {
4359
- kind: "agent" | "human";
4360
4360
  id: string;
4361
4361
  label: string;
4362
+ kind: "agent" | "human";
4362
4363
  };
4363
4364
  note?: string | undefined;
4364
4365
  } | {
4365
4366
  kind: "decision_superseded";
4366
4367
  evidence: {
4367
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4368
4368
  id: string;
4369
4369
  label: string;
4370
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4370
4371
  capture: "at_action" | "historical_lookup" | "fixture";
4371
4372
  locator?: string | undefined;
4372
4373
  }[];
@@ -4379,9 +4380,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4379
4380
  agentId: string;
4380
4381
  sessionId: string;
4381
4382
  evidence: {
4382
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4383
4383
  id: string;
4384
4384
  label: string;
4385
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4385
4386
  capture: "at_action" | "historical_lookup" | "fixture";
4386
4387
  locator?: string | undefined;
4387
4388
  }[];
@@ -4393,9 +4394,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4393
4394
  agentId: string;
4394
4395
  sessionId: string;
4395
4396
  evidence: {
4396
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4397
4397
  id: string;
4398
4398
  label: string;
4399
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4399
4400
  capture: "at_action" | "historical_lookup" | "fixture";
4400
4401
  locator?: string | undefined;
4401
4402
  }[];
@@ -4404,63 +4405,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4404
4405
  recallReceiptId: string;
4405
4406
  staleDecisionAbsent: boolean;
4406
4407
  } | {
4407
- kind: "mission_completed";
4408
4408
  summary: string;
4409
+ kind: "mission_completed";
4409
4410
  outcome: "failed" | "recovered" | "inconclusive";
4410
4411
  evidence: {
4411
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4412
4412
  id: string;
4413
4413
  label: string;
4414
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4414
4415
  capture: "at_action" | "historical_lookup" | "fixture";
4415
4416
  locator?: string | undefined;
4416
4417
  }[];
4417
4418
  };
4418
- namespace: string;
4419
4419
  eventId: string;
4420
4420
  occurredAt: string;
4421
4421
  missionId: string;
4422
4422
  authenticatedPrincipal?: string | undefined;
4423
4423
  idempotencyKey?: string | undefined;
4424
4424
  }, {
4425
- schemaVersion: "1";
4425
+ namespace: string;
4426
4426
  recordedAt: string;
4427
+ schemaVersion: "1";
4427
4428
  payload: {
4428
4429
  kind: "mission_started";
4429
4430
  title: string;
4430
4431
  objective: string;
4431
4432
  runMode: "replay" | "fixture" | "live";
4432
4433
  evidence?: {
4433
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4434
4434
  id: string;
4435
4435
  label: string;
4436
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4436
4437
  capture: "at_action" | "historical_lookup" | "fixture";
4437
4438
  locator?: string | undefined;
4438
4439
  }[] | undefined;
4439
4440
  } | {
4440
- kind: "agent_status";
4441
+ label: string;
4441
4442
  status: "failed" | "complete" | "blocked" | "working" | "idle";
4443
+ kind: "agent_status";
4442
4444
  role: string;
4443
- label: string;
4444
4445
  agentId: string;
4445
4446
  sessionId: string;
4446
4447
  detail?: string | undefined;
4447
4448
  evidence?: {
4448
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4449
4449
  id: string;
4450
4450
  label: string;
4451
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4451
4452
  capture: "at_action" | "historical_lookup" | "fixture";
4452
4453
  locator?: string | undefined;
4453
4454
  }[] | undefined;
4454
4455
  } | {
4455
- kind: "agent_output";
4456
4456
  summary: string;
4457
+ kind: "agent_output";
4457
4458
  agentId: string;
4458
4459
  sessionId: string;
4459
4460
  outputId: string;
4460
4461
  evidence?: {
4461
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4462
4462
  id: string;
4463
4463
  label: string;
4464
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4464
4465
  capture: "at_action" | "historical_lookup" | "fixture";
4465
4466
  locator?: string | undefined;
4466
4467
  }[] | undefined;
@@ -4473,37 +4474,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4473
4474
  decisionId: string;
4474
4475
  confidence?: number | undefined;
4475
4476
  evidence?: {
4476
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4477
4477
  id: string;
4478
4478
  label: string;
4479
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4479
4480
  capture: "at_action" | "historical_lookup" | "fixture";
4480
4481
  locator?: string | undefined;
4481
4482
  }[] | undefined;
4482
4483
  } | {
4483
- kind: "conflict_detected";
4484
4484
  summary: string;
4485
+ kind: "conflict_detected";
4485
4486
  conflictId: string;
4486
4487
  decisionIds: string[];
4487
4488
  agentIds: string[];
4488
4489
  evidence?: {
4489
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4490
4490
  id: string;
4491
4491
  label: string;
4492
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4492
4493
  capture: "at_action" | "historical_lookup" | "fixture";
4493
4494
  locator?: string | undefined;
4494
4495
  }[] | undefined;
4495
4496
  } | {
4496
- kind: "test_result";
4497
4497
  summary: string;
4498
4498
  status: "error" | "failed" | "passed";
4499
+ kind: "test_result";
4499
4500
  command: string;
4500
4501
  decisionId: string;
4501
4502
  testId: string;
4502
4503
  durationMs?: number | undefined;
4503
4504
  evidence?: {
4504
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4505
4505
  id: string;
4506
4506
  label: string;
4507
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4507
4508
  capture: "at_action" | "historical_lookup" | "fixture";
4508
4509
  locator?: string | undefined;
4509
4510
  }[] | undefined;
@@ -4518,9 +4519,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4518
4519
  supersedesDecisionIds: string[];
4519
4520
  proposedBy: string;
4520
4521
  evidence?: {
4521
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4522
4522
  id: string;
4523
4523
  label: string;
4524
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4524
4525
  capture: "at_action" | "historical_lookup" | "fixture";
4525
4526
  locator?: string | undefined;
4526
4527
  }[] | undefined;
@@ -4528,15 +4529,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4528
4529
  kind: "correction_approved";
4529
4530
  correctionId: string;
4530
4531
  approvedBy: {
4531
- kind: "agent" | "human";
4532
4532
  id: string;
4533
4533
  label: string;
4534
+ kind: "agent" | "human";
4534
4535
  };
4535
4536
  note?: string | undefined;
4536
4537
  evidence?: {
4537
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4538
4538
  id: string;
4539
4539
  label: string;
4540
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4540
4541
  capture: "at_action" | "historical_lookup" | "fixture";
4541
4542
  locator?: string | undefined;
4542
4543
  }[] | undefined;
@@ -4546,9 +4547,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4546
4547
  correctionId: string;
4547
4548
  replacementDecisionId: string;
4548
4549
  evidence?: {
4549
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4550
4550
  id: string;
4551
4551
  label: string;
4552
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4552
4553
  capture: "at_action" | "historical_lookup" | "fixture";
4553
4554
  locator?: string | undefined;
4554
4555
  }[] | undefined;
@@ -4561,9 +4562,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4561
4562
  recallReceiptId: string;
4562
4563
  capturedAtAction: boolean;
4563
4564
  evidence?: {
4564
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4565
4565
  id: string;
4566
4566
  label: string;
4567
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4567
4568
  capture: "at_action" | "historical_lookup" | "fixture";
4568
4569
  locator?: string | undefined;
4569
4570
  }[] | undefined;
@@ -4576,25 +4577,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4576
4577
  recallReceiptId: string;
4577
4578
  staleDecisionAbsent: boolean;
4578
4579
  evidence?: {
4579
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4580
4580
  id: string;
4581
4581
  label: string;
4582
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4582
4583
  capture: "at_action" | "historical_lookup" | "fixture";
4583
4584
  locator?: string | undefined;
4584
4585
  }[] | undefined;
4585
4586
  } | {
4586
- kind: "mission_completed";
4587
4587
  summary: string;
4588
+ kind: "mission_completed";
4588
4589
  outcome: "failed" | "recovered" | "inconclusive";
4589
4590
  evidence?: {
4590
- kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4591
4591
  id: string;
4592
4592
  label: string;
4593
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4593
4594
  capture: "at_action" | "historical_lookup" | "fixture";
4594
4595
  locator?: string | undefined;
4595
4596
  }[] | undefined;
4596
4597
  };
4597
- namespace: string;
4598
4598
  eventId: string;
4599
4599
  occurredAt: string;
4600
4600
  missionId: string;