@remnic/core 9.7.13 → 9.7.14

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 (282) hide show
  1. package/dist/access-admin-ops-surface.d.ts +6 -6
  2. package/dist/access-admin-ops-surface.js +7 -7
  3. package/dist/access-boundary.d.ts +6 -6
  4. package/dist/access-boundary.js +8 -8
  5. package/dist/access-cli.js +34 -34
  6. package/dist/access-http.d.ts +6 -6
  7. package/dist/access-http.js +12 -12
  8. package/dist/access-identity-continuity-surface.d.ts +5 -5
  9. package/dist/access-identity-continuity-surface.js +7 -7
  10. package/dist/access-lcm-surface.d.ts +6 -6
  11. package/dist/access-lcm-surface.js +7 -7
  12. package/dist/access-mcp.d.ts +6 -6
  13. package/dist/access-mcp.js +11 -11
  14. package/dist/access-observe-write-surface.d.ts +6 -6
  15. package/dist/access-observe-write-surface.js +7 -7
  16. package/dist/access-operations-batch.js +9 -9
  17. package/dist/access-operations.d.ts +9 -9
  18. package/dist/access-operations.js +10 -10
  19. package/dist/access-recall-surface.d.ts +6 -6
  20. package/dist/access-recall-surface.js +7 -7
  21. package/dist/access-schema.d.ts +64 -64
  22. package/dist/{access-service-tHd3eQpd.d.ts → access-service-CPhSnLOH.d.ts} +4 -4
  23. package/dist/access-service.d.ts +6 -6
  24. package/dist/access-service.js +7 -7
  25. package/dist/access-surface-catalog.d.ts +6 -6
  26. package/dist/action-confidence.d.ts +1 -1
  27. package/dist/active-memory-bridge.d.ts +1 -1
  28. package/dist/active-recall.d.ts +1 -1
  29. package/dist/active-recall.js +1 -1
  30. package/dist/behavior-learner.d.ts +1 -1
  31. package/dist/behavior-signals.d.ts +1 -1
  32. package/dist/bootstrap.d.ts +5 -5
  33. package/dist/briefing.d.ts +2 -2
  34. package/dist/briefing.js +3 -3
  35. package/dist/buffer-surprise-report.d.ts +1 -1
  36. package/dist/buffer.d.ts +2 -2
  37. package/dist/bulk-import/index.d.ts +3 -3
  38. package/dist/calibration.d.ts +1 -1
  39. package/dist/capabilities.d.ts +1 -1
  40. package/dist/{catalog-DEMiw6HZ.d.ts → catalog-uX9sT9ws.d.ts} +1 -1
  41. package/dist/causal-behavior.d.ts +1 -1
  42. package/dist/causal-consolidation.d.ts +1 -1
  43. package/dist/causal-consolidation.js +4 -4
  44. package/dist/causal-trajectory-graph.d.ts +1 -1
  45. package/dist/{chunk-2RSL6YRA.js → chunk-2E6G7FCE.js} +2 -2
  46. package/dist/{chunk-JKLJ6A7W.js → chunk-3D6AFGQR.js} +2 -2
  47. package/dist/{chunk-BQTSGK5Y.js → chunk-4B4MUS5D.js} +2 -2
  48. package/dist/{chunk-NVXQTRBL.js → chunk-4LEF6XWJ.js} +2 -2
  49. package/dist/{chunk-TMGK6YE7.js → chunk-5UNWK7KU.js} +2 -2
  50. package/dist/{chunk-OIFZII6J.js → chunk-67ZCJLJY.js} +2 -2
  51. package/dist/{chunk-ZRXSHGXT.js → chunk-6CALL5VN.js} +2 -2
  52. package/dist/{chunk-TRH533CA.js → chunk-7ICYQUOL.js} +2 -2
  53. package/dist/{chunk-I3GKTDM2.js → chunk-7LFXDGLH.js} +3 -3
  54. package/dist/{chunk-OCY3CRPG.js → chunk-A7B4RMQG.js} +3 -3
  55. package/dist/{chunk-2ZPQUTMW.js → chunk-AD6AMF2N.js} +4 -4
  56. package/dist/{chunk-Z6WN2KSH.js → chunk-ANADNYWK.js} +3 -3
  57. package/dist/{chunk-YI7XUXLX.js → chunk-ASKEM4AR.js} +18 -18
  58. package/dist/{chunk-G5PVJJRA.js → chunk-B3F4CWQR.js} +1 -1
  59. package/dist/chunk-B3F4CWQR.js.map +1 -0
  60. package/dist/{chunk-675YU5IK.js → chunk-DDGV7NAX.js} +2 -2
  61. package/dist/{chunk-CE3GMHT4.js → chunk-EEARRVZ2.js} +2 -2
  62. package/dist/{chunk-KQMKF4G2.js → chunk-F7AU34FC.js} +17 -17
  63. package/dist/{chunk-T6U7HDIY.js → chunk-FBNWOMCE.js} +2 -2
  64. package/dist/{chunk-QPZCAVDC.js → chunk-GMSDQUCR.js} +7 -7
  65. package/dist/{chunk-6N7R7TR2.js → chunk-IFJ23BHU.js} +6 -1
  66. package/dist/chunk-IFJ23BHU.js.map +1 -0
  67. package/dist/{chunk-IQULRIZM.js → chunk-IKSELOIV.js} +2 -2
  68. package/dist/{chunk-ZC3HG22I.js → chunk-JMBVCAR4.js} +2 -2
  69. package/dist/{chunk-CLFY35ED.js → chunk-KGWXHWAH.js} +3 -3
  70. package/dist/{chunk-RT7IP3D3.js → chunk-KSNVDPDF.js} +2 -2
  71. package/dist/{chunk-TWGGNUWJ.js → chunk-MKDRQAA3.js} +2 -2
  72. package/dist/{chunk-2V5QI6NQ.js → chunk-ND5M64JJ.js} +6 -6
  73. package/dist/{chunk-XUQUBZ7O.js → chunk-NUWYOKS6.js} +2 -2
  74. package/dist/{chunk-VY6LKKVN.js → chunk-NWTGD4AN.js} +6 -1
  75. package/dist/chunk-NWTGD4AN.js.map +1 -0
  76. package/dist/{chunk-D4TLWDYR.js → chunk-PK5XBDA6.js} +2 -2
  77. package/dist/{chunk-2AL7N3BH.js → chunk-RBQLJSJ7.js} +2 -2
  78. package/dist/{chunk-FUUF7FMX.js → chunk-TXVD7PLT.js} +2 -2
  79. package/dist/{chunk-UTZW3X2R.js → chunk-UN3CH3CO.js} +2 -2
  80. package/dist/{chunk-PA6DMYEK.js → chunk-VYOFVVNK.js} +6 -6
  81. package/dist/{chunk-3SIC3E65.js → chunk-W5NKDU24.js} +2 -2
  82. package/dist/{cli-D8Tsa4Sh.d.ts → cli-_Y2Bmt6A.d.ts} +5 -5
  83. package/dist/cli.d.ts +8 -8
  84. package/dist/cli.js +25 -25
  85. package/dist/compounding/engine.d.ts +2 -2
  86. package/dist/compounding/engine.js +3 -3
  87. package/dist/compounding/preference-consolidator.d.ts +1 -1
  88. package/dist/compression-optimizer.d.ts +1 -1
  89. package/dist/config.d.ts +1 -1
  90. package/dist/config.js +1 -1
  91. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  92. package/dist/connectors/codex-materialize-runner.js +3 -3
  93. package/dist/connectors/codex-materialize.d.ts +1 -1
  94. package/dist/connectors/index.d.ts +1 -1
  95. package/dist/connectors/index.js +3 -3
  96. package/dist/consolidation-provenance-check.d.ts +2 -2
  97. package/dist/consolidation-undo.d.ts +2 -2
  98. package/dist/contradiction/index.d.ts +2 -2
  99. package/dist/conversation-index/backend.d.ts +1 -1
  100. package/dist/conversation-index/chunker.d.ts +1 -1
  101. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  102. package/dist/conversation-index/indexer.d.ts +1 -1
  103. package/dist/conversation-index/search.d.ts +1 -1
  104. package/dist/day-summary.d.ts +1 -1
  105. package/dist/delinearize.d.ts +1 -1
  106. package/dist/direct-answer-wiring.d.ts +1 -1
  107. package/dist/direct-answer.d.ts +1 -1
  108. package/dist/embedding-fallback.d.ts +1 -1
  109. package/dist/enrichment/index.d.ts +1 -1
  110. package/dist/entity-retrieval.d.ts +2 -2
  111. package/dist/entity-retrieval.js +3 -3
  112. package/dist/entity-schema.d.ts +1 -1
  113. package/dist/explicit-capture.d.ts +5 -5
  114. package/dist/extraction-faithfulness.d.ts +1 -1
  115. package/dist/extraction-judge-telemetry.d.ts +1 -1
  116. package/dist/extraction-judge-training.d.ts +1 -1
  117. package/dist/extraction-judge.d.ts +1 -1
  118. package/dist/extraction.d.ts +1 -1
  119. package/dist/extraction.js +2 -2
  120. package/dist/fallback-llm.d.ts +1 -1
  121. package/dist/graph-dashboard-diff.d.ts +1 -1
  122. package/dist/graph-dashboard-key.d.ts +1 -1
  123. package/dist/graph-dashboard-parser.d.ts +1 -1
  124. package/dist/graph-edge-reinforcement.d.ts +1 -1
  125. package/dist/graph-snapshot.d.ts +1 -1
  126. package/dist/graph.d.ts +1 -1
  127. package/dist/identity-continuity.d.ts +1 -1
  128. package/dist/importance.d.ts +1 -1
  129. package/dist/importers/index.d.ts +1 -1
  130. package/dist/in-flight-reads.d.ts +1 -1
  131. package/dist/index.d.ts +386 -386
  132. package/dist/index.js +34 -34
  133. package/dist/intent.d.ts +1 -1
  134. package/dist/lcm/engine.d.ts +1 -1
  135. package/dist/lcm/index.d.ts +1 -1
  136. package/dist/lcm/tools.d.ts +1 -1
  137. package/dist/lifecycle.d.ts +1 -1
  138. package/dist/live-connectors-runner.d.ts +1 -1
  139. package/dist/local-llm.d.ts +1 -1
  140. package/dist/local-llm.js +1 -1
  141. package/dist/local-model-endpoint.d.ts +1 -1
  142. package/dist/maintenance/memory-governance.d.ts +1 -1
  143. package/dist/maintenance/memory-governance.js +3 -3
  144. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +3 -3
  145. package/dist/maintenance/rebuild-memory-projection.js +4 -4
  146. package/dist/mcp-memory-inspector-app.d.ts +6 -6
  147. package/dist/memory-action-policy.d.ts +1 -1
  148. package/dist/memory-cache.d.ts +1 -1
  149. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  150. package/dist/memory-projection-store.d.ts +1 -1
  151. package/dist/memory-provenance.d.ts +1 -1
  152. package/dist/memory-worth-outcomes.d.ts +2 -2
  153. package/dist/models-json.d.ts +1 -1
  154. package/dist/namespaces/migrate.d.ts +3 -3
  155. package/dist/namespaces/migrate.js +4 -4
  156. package/dist/namespaces/principal.d.ts +1 -1
  157. package/dist/namespaces/search.d.ts +1 -1
  158. package/dist/namespaces/storage.d.ts +3 -3
  159. package/dist/namespaces/storage.js +3 -3
  160. package/dist/native-knowledge.d.ts +1 -1
  161. package/dist/operator-toolkit.d.ts +2 -2
  162. package/dist/operator-toolkit.js +8 -8
  163. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  164. package/dist/orchestration/maintenance.d.ts +2 -2
  165. package/dist/orchestration/maintenance.js +5 -5
  166. package/dist/{orchestrator-B_WXBmuE.d.ts → orchestrator-BbZ_dQSU.d.ts} +4 -4
  167. package/dist/orchestrator.d.ts +5 -5
  168. package/dist/orchestrator.js +34 -34
  169. package/dist/patterns-cli.d.ts +1 -1
  170. package/dist/{pipeline-Dvtvt141.d.ts → pipeline-FRMDb1fn.d.ts} +1 -1
  171. package/dist/policy-runtime.d.ts +1 -1
  172. package/dist/provenance.d.ts +1 -1
  173. package/dist/qmd-preflight.d.ts +2 -2
  174. package/dist/qmd-recall-cache.d.ts +1 -1
  175. package/dist/{qmd-DwBLh_hl.d.ts → qmd-xJRrHFbA.d.ts} +1 -1
  176. package/dist/qmd.d.ts +2 -2
  177. package/dist/recall-disclosure-escalation.d.ts +1 -1
  178. package/dist/recall-explain-renderer.d.ts +1 -1
  179. package/dist/recall-explain-renderer.js +3 -3
  180. package/dist/recall-planner-llm.d.ts +1 -1
  181. package/dist/recall-state.d.ts +1 -1
  182. package/dist/recall-tag-filter.d.ts +1 -1
  183. package/dist/recall-timings.d.ts +1 -1
  184. package/dist/recall-xray-cli.d.ts +1 -1
  185. package/dist/recall-xray-cli.js +4 -4
  186. package/dist/recall-xray-renderer.d.ts +1 -1
  187. package/dist/recall-xray-renderer.js +3 -3
  188. package/dist/recall-xray.d.ts +1 -1
  189. package/dist/recall-xray.js +2 -2
  190. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  191. package/dist/replay/normalizers/claude.d.ts +1 -1
  192. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  193. package/dist/replay/normalizers/shared.d.ts +1 -1
  194. package/dist/replay/runner.d.ts +1 -1
  195. package/dist/replay/types.d.ts +1 -1
  196. package/dist/resolve-auth-token.d.ts +1 -1
  197. package/dist/resume-bundles.js +2 -2
  198. package/dist/retrieval-agents.d.ts +2 -2
  199. package/dist/retrieval-tiers.d.ts +1 -1
  200. package/dist/routing/engine.d.ts +1 -1
  201. package/dist/routing/store.d.ts +1 -1
  202. package/dist/schemas.d.ts +74 -74
  203. package/dist/search/embed-helper.d.ts +1 -1
  204. package/dist/search/factory.d.ts +1 -1
  205. package/dist/search/index.d.ts +1 -1
  206. package/dist/search/lancedb-backend.d.ts +1 -1
  207. package/dist/search/meilisearch-backend.d.ts +1 -1
  208. package/dist/search/noop-backend.d.ts +1 -1
  209. package/dist/search/orama-backend.d.ts +1 -1
  210. package/dist/search/port.d.ts +1 -1
  211. package/dist/search/remote-backend.d.ts +1 -1
  212. package/dist/{semantic-consolidation-Dia_6FOn.d.ts → semantic-consolidation-fvdZRa5Z.d.ts} +1 -1
  213. package/dist/semantic-consolidation.d.ts +2 -2
  214. package/dist/semantic-consolidation.js +4 -4
  215. package/dist/semantic-rule-promotion.js +3 -3
  216. package/dist/semantic-rule-verifier.d.ts +1 -1
  217. package/dist/semantic-rule-verifier.js +3 -3
  218. package/dist/session-observer-bands.d.ts +1 -1
  219. package/dist/session-observer-state.d.ts +1 -1
  220. package/dist/shared-context/manager.d.ts +9 -9
  221. package/dist/signal.d.ts +1 -1
  222. package/dist/{storage-RshM7i8-.d.ts → storage-CrvzaM9C.d.ts} +1 -1
  223. package/dist/storage.d.ts +2 -2
  224. package/dist/storage.js +2 -2
  225. package/dist/summarizer.d.ts +1 -1
  226. package/dist/summarizer.js +2 -2
  227. package/dist/summary-snapshot.d.ts +1 -1
  228. package/dist/temporal-supersession.d.ts +2 -2
  229. package/dist/temporal-timeline-recall.d.ts +1 -1
  230. package/dist/temporal-validity.d.ts +1 -1
  231. package/dist/threading.d.ts +1 -1
  232. package/dist/tier-migration.d.ts +2 -2
  233. package/dist/tier-routing.d.ts +1 -1
  234. package/dist/topics.d.ts +1 -1
  235. package/dist/transcript.d.ts +1 -1
  236. package/dist/transfer/types.d.ts +66 -66
  237. package/dist/trust-score-stage.d.ts +1 -1
  238. package/dist/trust-score.d.ts +1 -1
  239. package/dist/{types-CHSXOq7s.d.ts → types-Bl4BWDM8.d.ts} +6 -0
  240. package/dist/types.d.ts +1 -1
  241. package/dist/types.js +1 -1
  242. package/dist/utility-runtime.d.ts +1 -1
  243. package/dist/verified-recall.js +3 -3
  244. package/package.json +2 -2
  245. package/src/config.ts +9 -0
  246. package/src/local-llm-thinking.test.ts +55 -1
  247. package/src/local-llm.ts +14 -0
  248. package/src/types.ts +6 -0
  249. package/dist/chunk-6N7R7TR2.js.map +0 -1
  250. package/dist/chunk-G5PVJJRA.js.map +0 -1
  251. package/dist/chunk-VY6LKKVN.js.map +0 -1
  252. /package/dist/{chunk-2RSL6YRA.js.map → chunk-2E6G7FCE.js.map} +0 -0
  253. /package/dist/{chunk-JKLJ6A7W.js.map → chunk-3D6AFGQR.js.map} +0 -0
  254. /package/dist/{chunk-BQTSGK5Y.js.map → chunk-4B4MUS5D.js.map} +0 -0
  255. /package/dist/{chunk-NVXQTRBL.js.map → chunk-4LEF6XWJ.js.map} +0 -0
  256. /package/dist/{chunk-TMGK6YE7.js.map → chunk-5UNWK7KU.js.map} +0 -0
  257. /package/dist/{chunk-OIFZII6J.js.map → chunk-67ZCJLJY.js.map} +0 -0
  258. /package/dist/{chunk-ZRXSHGXT.js.map → chunk-6CALL5VN.js.map} +0 -0
  259. /package/dist/{chunk-TRH533CA.js.map → chunk-7ICYQUOL.js.map} +0 -0
  260. /package/dist/{chunk-I3GKTDM2.js.map → chunk-7LFXDGLH.js.map} +0 -0
  261. /package/dist/{chunk-OCY3CRPG.js.map → chunk-A7B4RMQG.js.map} +0 -0
  262. /package/dist/{chunk-2ZPQUTMW.js.map → chunk-AD6AMF2N.js.map} +0 -0
  263. /package/dist/{chunk-Z6WN2KSH.js.map → chunk-ANADNYWK.js.map} +0 -0
  264. /package/dist/{chunk-YI7XUXLX.js.map → chunk-ASKEM4AR.js.map} +0 -0
  265. /package/dist/{chunk-675YU5IK.js.map → chunk-DDGV7NAX.js.map} +0 -0
  266. /package/dist/{chunk-CE3GMHT4.js.map → chunk-EEARRVZ2.js.map} +0 -0
  267. /package/dist/{chunk-KQMKF4G2.js.map → chunk-F7AU34FC.js.map} +0 -0
  268. /package/dist/{chunk-T6U7HDIY.js.map → chunk-FBNWOMCE.js.map} +0 -0
  269. /package/dist/{chunk-QPZCAVDC.js.map → chunk-GMSDQUCR.js.map} +0 -0
  270. /package/dist/{chunk-IQULRIZM.js.map → chunk-IKSELOIV.js.map} +0 -0
  271. /package/dist/{chunk-ZC3HG22I.js.map → chunk-JMBVCAR4.js.map} +0 -0
  272. /package/dist/{chunk-CLFY35ED.js.map → chunk-KGWXHWAH.js.map} +0 -0
  273. /package/dist/{chunk-RT7IP3D3.js.map → chunk-KSNVDPDF.js.map} +0 -0
  274. /package/dist/{chunk-TWGGNUWJ.js.map → chunk-MKDRQAA3.js.map} +0 -0
  275. /package/dist/{chunk-2V5QI6NQ.js.map → chunk-ND5M64JJ.js.map} +0 -0
  276. /package/dist/{chunk-XUQUBZ7O.js.map → chunk-NUWYOKS6.js.map} +0 -0
  277. /package/dist/{chunk-D4TLWDYR.js.map → chunk-PK5XBDA6.js.map} +0 -0
  278. /package/dist/{chunk-2AL7N3BH.js.map → chunk-RBQLJSJ7.js.map} +0 -0
  279. /package/dist/{chunk-FUUF7FMX.js.map → chunk-TXVD7PLT.js.map} +0 -0
  280. /package/dist/{chunk-UTZW3X2R.js.map → chunk-UN3CH3CO.js.map} +0 -0
  281. /package/dist/{chunk-PA6DMYEK.js.map → chunk-VYOFVVNK.js.map} +0 -0
  282. /package/dist/{chunk-3SIC3E65.js.map → chunk-W5NKDU24.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -2,8 +2,8 @@ export { PluginEntryResolverOptions, resolvePluginEntry } from './plugin-entry-r
2
2
  export { isOpenaiApiKeyDisabled, parseConfig, resolveEnvVars } from './config.js';
3
3
  export { resolveRemnicConfigRecord } from './config-record.js';
4
4
  export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
5
- import { b as SpeakerRegistry, W as WearablesService } from './orchestrator-B_WXBmuE.js';
6
- export { D as DEFAULT_SELF_NAME, O as Orchestrator, c as ResolvedSpeaker, d as SpeakerOverride, e as WEARABLE_SOURCE_PREFIX, f as WearableDayTranscriptView, g as WearableMemoryGenDeps, h as WearableMemoryGenResult, i as WearableMemorySearchResult, j as WearableMemoryWriter, k as WearableSearchBackend, l as WearableStorageIo, m as WearableSyncDeps, n as WearableSyncOptions, o as WearableTranscriptSearchResult, p as WearablesServiceDeps, q as buildExtractionTurns, r as dateInTimezone, s as defaultTimezone, t as defaultWorkspaceDir, u as distinctSpeakerLabels, v as emptySpeakerRegistry, w as generateWearableMemories, x as importNativeMemories, y as loadSpeakerRegistry, z as locateTranscriptPath, A as memoryStatusForMode, B as resolveSpeaker, E as resolveSyncDates, F as sanitizeSessionKeyForFilename, H as saveSpeakerRegistry, J as speakerRegistryKey, K as speakersFilePath, L as syncWearableSource, M as wearableDayTag, N as wearableSourceLabel, Q as writeDailyDigestMemory } from './orchestrator-B_WXBmuE.js';
5
+ import { b as SpeakerRegistry, W as WearablesService } from './orchestrator-BbZ_dQSU.js';
6
+ export { D as DEFAULT_SELF_NAME, O as Orchestrator, c as ResolvedSpeaker, d as SpeakerOverride, e as WEARABLE_SOURCE_PREFIX, f as WearableDayTranscriptView, g as WearableMemoryGenDeps, h as WearableMemoryGenResult, i as WearableMemorySearchResult, j as WearableMemoryWriter, k as WearableSearchBackend, l as WearableStorageIo, m as WearableSyncDeps, n as WearableSyncOptions, o as WearableTranscriptSearchResult, p as WearablesServiceDeps, q as buildExtractionTurns, r as dateInTimezone, s as defaultTimezone, t as defaultWorkspaceDir, u as distinctSpeakerLabels, v as emptySpeakerRegistry, w as generateWearableMemories, x as importNativeMemories, y as loadSpeakerRegistry, z as locateTranscriptPath, A as memoryStatusForMode, B as resolveSpeaker, E as resolveSyncDates, F as sanitizeSessionKeyForFilename, H as saveSpeakerRegistry, J as speakerRegistryKey, K as speakersFilePath, L as syncWearableSource, M as wearableDayTag, N as wearableSourceLabel, Q as writeDailyDigestMemory } from './orchestrator-BbZ_dQSU.js';
7
7
  export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
8
8
  export { ModelCapabilities, ModelRegistry } from './model-registry.js';
9
9
  export { ACTIVE_STATUSES, ContradictionFilter, ContradictionJudgeBatchResult, ContradictionJudgeInput, ContradictionJudgeResult, ContradictionListResult, ContradictionVerdict, ResolutionResult, ResolutionVerb, ScanDependencies, ScanResult, computePairId, executeResolution, isCoolingDown, isValidResolutionVerb, judgeContradictionPairs, listPairs, readPair, resolvePair, runContradictionScan, writePair, writePairs } from './contradiction/index.js';
@@ -13,20 +13,20 @@ export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecall
13
13
  export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
14
14
  export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
15
15
  export { EventOrderRecallOptions, buildEventOrderRecallSection, shouldRecallEventOrderEvidence } from './event-order-recall.js';
16
- import { b as FusionConversationInput, c as FusedSpeaker, d as FusedSegment, e as FusedDisagreement, f as FusionOptions, g as FusionDayResult, S as StorageManager } from './storage-RshM7i8-.js';
17
- export { C as ContentHashIndex, D as DisagreementKind, h as FUSION_KIND, i as FusedContribution, j as FusedConversationProvenance, k as FusedDayFile, l as FusedDayMeta, m as FusedSegmentProvenance, a as FusedWearableConversation, n as FusionSegmentInput, M as MemoryWriteResult, o as SegmentPickReason, p as composeFusionDayMeta, q as hashFusionBody, r as normalizeAttributePairs, s as parseEntityFile, t as parseFusionDay, u as serializeEntityFile, v as serializeFusionDay } from './storage-RshM7i8-.js';
16
+ import { b as FusionConversationInput, c as FusedSpeaker, d as FusedSegment, e as FusedDisagreement, f as FusionOptions, g as FusionDayResult, S as StorageManager } from './storage-CrvzaM9C.js';
17
+ export { C as ContentHashIndex, D as DisagreementKind, h as FUSION_KIND, i as FusedContribution, j as FusedConversationProvenance, k as FusedDayFile, l as FusedDayMeta, m as FusedSegmentProvenance, a as FusedWearableConversation, n as FusionSegmentInput, M as MemoryWriteResult, o as SegmentPickReason, p as composeFusionDayMeta, q as hashFusionBody, r as normalizeAttributePairs, s as parseEntityFile, t as parseFusionDay, u as serializeEntityFile, v as serializeFusionDay } from './storage-CrvzaM9C.js';
18
18
  export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
19
19
  export { ExtractionEngine } from './extraction.js';
20
20
  export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOptions, CodexCliFallbackRequest, CodexCliFallbackResult, CodexCliFallbackRunner, setCodexCliFallbackRunnerForProcess } from './cli-fallback.js';
21
21
  export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
22
22
  export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
23
23
  export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
24
- import { aG as CodingContext, aZ as CodingModeConfig, aL as WearableConversation, P as PluginConfig, a_ as CodingKnowledgeConfig, u as MemoryCategory, a$ as WearableCleanupSettings, b0 as WearableFusionConfig, aM as WearableSourceSettings, aQ as WearablesConfig, aP as WearableSourceConnector, aU as WearableCorrectionRule, b1 as WearableDayTranscriptMeta, aT as WearableDayTranscript } from './types-CHSXOq7s.js';
25
- export { a3 as AgentAccessAuthToken, l as BriefingActiveThread, b2 as BriefingConfig, j as BriefingFocus, i as BriefingFollowup, b3 as BriefingOpenCommitment, n as BriefingRecentEntity, m as BriefingResult, h as BriefingSections, b4 as BriefingWindow, Z as BufferSurpriseEvent, b5 as BulkImportError, $ as BulkImportOptions, a1 as BulkImportResult, a0 as BulkImportSource, b6 as BulkImportSourceAdapter, k as CalendarEvent, C as CalendarSource, b7 as CodexCompatConfig, aY as ConsolidationObservation, ah as ContinuityImprovementLoop, b8 as DEFAULT_RECALL_DISCLOSURE, E as EntityFile, ad as EntityStructuredSection, b9 as ExtractedFact, G as GatewayConfig, ba as ImportSourceRole, _ as ImportTurn, bb as ImportTurnValidationIssue, am as MemoryActionEligibilityContext, bc as MemoryActionEligibilitySource, a7 as MemoryActionType, M as MemoryFile, p as MemoryFrontmatter, bd as MemoryObservation, be as MemoryScope, bf as RECALL_DISCLOSURE_LEVELS, R as RecallDisclosure, a2 as SecretRef, bg as WearableAuthCheck, bh as WearableFetchOptions, bi as WearableFetchPage, aO as WearableMemoryMode, aN as WearableNativeMemory, bj as WearableNativeMemoryPage, aS as WearableSourceStatus, aR as WearableSyncSummary, bk as WearableTranscriptSegment, bl as isImportRole, bm as isRecallDisclosure, bn as parseIsoTimestamp, bo as validateImportTurn } from './types-CHSXOq7s.js';
24
+ import { aG as CodingContext, aZ as CodingModeConfig, aL as WearableConversation, P as PluginConfig, a_ as CodingKnowledgeConfig, u as MemoryCategory, a$ as WearableCleanupSettings, b0 as WearableFusionConfig, aM as WearableSourceSettings, aQ as WearablesConfig, aP as WearableSourceConnector, aU as WearableCorrectionRule, b1 as WearableDayTranscriptMeta, aT as WearableDayTranscript } from './types-Bl4BWDM8.js';
25
+ export { a3 as AgentAccessAuthToken, l as BriefingActiveThread, b2 as BriefingConfig, j as BriefingFocus, i as BriefingFollowup, b3 as BriefingOpenCommitment, n as BriefingRecentEntity, m as BriefingResult, h as BriefingSections, b4 as BriefingWindow, Z as BufferSurpriseEvent, b5 as BulkImportError, $ as BulkImportOptions, a1 as BulkImportResult, a0 as BulkImportSource, b6 as BulkImportSourceAdapter, k as CalendarEvent, C as CalendarSource, b7 as CodexCompatConfig, aY as ConsolidationObservation, ah as ContinuityImprovementLoop, b8 as DEFAULT_RECALL_DISCLOSURE, E as EntityFile, ad as EntityStructuredSection, b9 as ExtractedFact, G as GatewayConfig, ba as ImportSourceRole, _ as ImportTurn, bb as ImportTurnValidationIssue, am as MemoryActionEligibilityContext, bc as MemoryActionEligibilitySource, a7 as MemoryActionType, M as MemoryFile, p as MemoryFrontmatter, bd as MemoryObservation, be as MemoryScope, bf as RECALL_DISCLOSURE_LEVELS, R as RecallDisclosure, a2 as SecretRef, bg as WearableAuthCheck, bh as WearableFetchOptions, bi as WearableFetchPage, aO as WearableMemoryMode, aN as WearableNativeMemory, bj as WearableNativeMemoryPage, aS as WearableSourceStatus, aR as WearableSyncSummary, bk as WearableTranscriptSegment, bl as isImportRole, bm as isRecallDisclosure, bn as parseIsoTimestamp, bo as validateImportTurn } from './types-Bl4BWDM8.js';
26
26
  export { JudgeBatchResult, JudgeCandidate, JudgeVerdict, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
27
27
  export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
28
- import { F as EngramAccessService } from './access-service-tHd3eQpd.js';
29
- export { G as EngramAccessInputError, P as ProcedureStatsConfigSnapshot, H as ProcedureStatsRecent, I as ProcedureStatsReport, J as ProcedureStatusCounts, K as computeProcedureStats, L as formatProcedureStatsText } from './access-service-tHd3eQpd.js';
28
+ import { F as EngramAccessService } from './access-service-CPhSnLOH.js';
29
+ export { G as EngramAccessInputError, P as ProcedureStatsConfigSnapshot, H as ProcedureStatsRecent, I as ProcedureStatsReport, J as ProcedureStatusCounts, K as computeProcedureStats, L as formatProcedureStatsText } from './access-service-CPhSnLOH.js';
30
30
  export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
31
31
  export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
32
32
  export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
@@ -34,13 +34,13 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
34
34
  export { USER_BOUNDARY_SCOPES, USER_CONTEXT_SCOPES, USER_MODEL_CORE_QUESTION, USER_MODEL_DIMENSIONS, UserBoundaryScope, UserContextScope, UserModelCoverage, UserModelDimension, UserModelFacet, facetHasBoundary, isUserBoundaryScope, isUserContextScope, isUserModelDimension, normalizeUserContextScope, normalizeUserModelDimension, summarizeUserModelCoverage } from './user-model.js';
35
35
  export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
36
36
  export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
37
- export { Q as QmdClient } from './qmd-DwBLh_hl.js';
37
+ export { Q as QmdClient } from './qmd-xJRrHFbA.js';
38
38
  export { LanceDbBackend } from './search/lancedb-backend.js';
39
39
  export { OramaBackend } from './search/orama-backend.js';
40
40
  export { MeilisearchBackend } from './search/meilisearch-backend.js';
41
41
  export { buildEntityRecallSection } from './entity-retrieval.js';
42
42
  export { resolvePrincipal } from './namespaces/principal.js';
43
- export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-DEMiw6HZ.js';
43
+ export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-uX9sT9ws.js';
44
44
  export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
45
45
  export { storagePathHash } from './storage-paths.js';
46
46
  export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
@@ -67,8 +67,8 @@ export { CitationBlock, CitationEntry, CitationMetadata, buildCitationGuidance,
67
67
  export { initLogger, log } from './logger.js';
68
68
  export { b as SemanticDedupDecision, a as SemanticDedupHit, S as SemanticDedupLookup, c as SemanticDedupOptions, d as decideSemanticDedup } from './semantic-TddhF0y7.js';
69
69
  export { OFFLINE_SYNC_APPLY_MAX_BODY_BYTES, OFFLINE_SYNC_CHANGESET_FORMAT, OFFLINE_SYNC_FILE_CONTENT_MAX_CHUNK_BYTES, OFFLINE_SYNC_FILE_CONTENT_TRANSFER_CHUNK_BYTES, OFFLINE_SYNC_SNAPSHOT_BASE_MAX_BODY_BYTES, OFFLINE_SYNC_SNAPSHOT_FORMAT, OFFLINE_SYNC_STATE_VERSION, OfflineSyncApplyChangesetResult, OfflineSyncApplyFileContentChunkResult, OfflineSyncApplySnapshotResult, OfflineSyncChange, OfflineSyncChangeset, OfflineSyncConflict, OfflineSyncFileContentChunk, OfflineSyncFileDigest, OfflineSyncFileRecord, OfflineSyncFileState, OfflineSyncFileTarget, OfflineSyncFileWriteTarget, OfflineSyncSnapshot, OfflineSyncState, applyOfflineSyncChangeset, applyOfflineSyncFileContentChunk, applyOfflineSyncSnapshot, buildOfflineSyncChangeset, buildOfflineSyncChangesetFromSnapshot, buildOfflineSyncSnapshot, buildOfflineSyncSnapshotForPaths, buildOfflineSyncSnapshotFromBase, compileOfflineSyncExcludeGlobs, defaultOfflineSyncStatePath, fileStatesFromSnapshot, globToRegExp, iterateOfflineSyncSnapshotFileRecords, normalizeOfflineSyncChangeset, normalizeOfflineSyncSnapshot, offlineSyncStateFromSnapshot, readOfflineSyncFileContentChunk, readOfflineSyncState, shouldPreferIncomingOfflineRuntimeFile, summarizeOfflineSyncChangeset, summarizeOfflineSyncPendingChanges, summarizeOfflineSyncPendingFiles, writeOfflineSyncState } from './offline-sync.js';
70
- import { D as DiscoveredExtension } from './semantic-consolidation-Dia_6FOn.js';
71
- export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-Dia_6FOn.js';
70
+ import { D as DiscoveredExtension } from './semantic-consolidation-fvdZRa5Z.js';
71
+ export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-fvdZRa5Z.js';
72
72
  export { ConnectorCapability, ConnectorInstance, ConnectorManifest, ConnectorRegistry, DoctorCheck, DoctorResult, InstallOptions, InstallResult, MARKETPLACE_MANIFEST_FILENAME, MARKETPLACE_SCHEMA_VERSION, MarketplaceConfig, MarketplaceEntry, MarketplaceInstallResult, MarketplaceInstallType, MarketplaceLogger, MarketplaceManifest, MarketplaceValidation, RemoveResult, checkMarketplaceManifest, coerceInstallExtension, doctorConnector, generateMarketplaceManifest, getConnectorToken, installConnector, installFromMarketplace, listConnectors, loadRegistry, removeConnector, saveRegistry, validateMarketplaceManifest, writeMarketplaceManifest } from './connectors/index.js';
73
73
  import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
74
74
  export { c as CONNECTOR_ID_PATTERN, C as ConnectorConfig, b as ConnectorCursor, a as ConnectorDocument, d as ConnectorDocumentSource, e as SyncIncrementalArgs, i as isValidConnectorId, p as persistableConnectorConfig, r as redactConnectorConfigSecrets } from './framework-CNDn2164.js';
@@ -83,8 +83,8 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
83
83
  export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
84
84
  export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
85
85
  export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
86
- export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-Dvtvt141.js';
87
- export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-D8Tsa4Sh.js';
86
+ export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-FRMDb1fn.js';
87
+ export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-_Y2Bmt6A.js';
88
88
  export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
89
89
  export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
90
90
  export { ComputeMemoryWorthInput, MemoryWorthResult, computeMemoryWorth } from './memory-worth.js';
@@ -852,15 +852,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
852
852
  locator: z.ZodOptional<z.ZodString>;
853
853
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
854
854
  }, "strict", z.ZodTypeAny, {
855
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
856
855
  id: string;
857
856
  label: string;
857
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
858
858
  capture: "at_action" | "historical_lookup" | "fixture";
859
859
  locator?: string | undefined;
860
860
  }, {
861
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
862
861
  id: string;
863
862
  label: string;
863
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
864
864
  capture: "at_action" | "historical_lookup" | "fixture";
865
865
  locator?: string | undefined;
866
866
  }>;
@@ -877,15 +877,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
877
877
  locator: z.ZodOptional<z.ZodString>;
878
878
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
879
879
  }, "strict", z.ZodTypeAny, {
880
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
881
880
  id: string;
882
881
  label: string;
882
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
883
883
  capture: "at_action" | "historical_lookup" | "fixture";
884
884
  locator?: string | undefined;
885
885
  }, {
886
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
887
886
  id: string;
888
887
  label: string;
888
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
889
889
  capture: "at_action" | "historical_lookup" | "fixture";
890
890
  locator?: string | undefined;
891
891
  }>, "many">>;
@@ -895,9 +895,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
895
895
  objective: string;
896
896
  runMode: "replay" | "fixture" | "live";
897
897
  evidence: {
898
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
899
898
  id: string;
900
899
  label: string;
900
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
901
901
  capture: "at_action" | "historical_lookup" | "fixture";
902
902
  locator?: string | undefined;
903
903
  }[];
@@ -907,9 +907,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
907
907
  objective: string;
908
908
  runMode: "replay" | "fixture" | "live";
909
909
  evidence?: {
910
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
911
910
  id: string;
912
911
  label: string;
912
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
913
913
  capture: "at_action" | "historical_lookup" | "fixture";
914
914
  locator?: string | undefined;
915
915
  }[] | undefined;
@@ -925,15 +925,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
925
925
  locator: z.ZodOptional<z.ZodString>;
926
926
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
927
927
  }, "strict", z.ZodTypeAny, {
928
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
929
928
  id: string;
930
929
  label: string;
930
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
931
931
  capture: "at_action" | "historical_lookup" | "fixture";
932
932
  locator?: string | undefined;
933
933
  }, {
934
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
935
934
  id: string;
936
935
  label: string;
936
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
937
937
  capture: "at_action" | "historical_lookup" | "fixture";
938
938
  locator?: string | undefined;
939
939
  }>, "many">>;
@@ -941,32 +941,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
941
941
  sessionId: z.ZodString;
942
942
  kind: z.ZodLiteral<"agent_status">;
943
943
  }, "strict", z.ZodTypeAny, {
944
+ label: string;
944
945
  kind: "agent_status";
945
946
  role: string;
946
947
  status: "failed" | "complete" | "working" | "blocked" | "idle";
947
- label: string;
948
948
  agentId: string;
949
949
  sessionId: string;
950
950
  evidence: {
951
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
952
951
  id: string;
953
952
  label: string;
953
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
954
954
  capture: "at_action" | "historical_lookup" | "fixture";
955
955
  locator?: string | undefined;
956
956
  }[];
957
957
  detail?: string | undefined;
958
958
  }, {
959
+ label: string;
959
960
  kind: "agent_status";
960
961
  role: string;
961
962
  status: "failed" | "complete" | "working" | "blocked" | "idle";
962
- label: string;
963
963
  agentId: string;
964
964
  sessionId: string;
965
965
  detail?: string | undefined;
966
966
  evidence?: {
967
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
968
967
  id: string;
969
968
  label: string;
969
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
970
970
  capture: "at_action" | "historical_lookup" | "fixture";
971
971
  locator?: string | undefined;
972
972
  }[] | undefined;
@@ -980,15 +980,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
980
980
  locator: z.ZodOptional<z.ZodString>;
981
981
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
982
982
  }, "strict", z.ZodTypeAny, {
983
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
984
983
  id: string;
985
984
  label: string;
985
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
986
986
  capture: "at_action" | "historical_lookup" | "fixture";
987
987
  locator?: string | undefined;
988
988
  }, {
989
- kind: "correction" | "source" | "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
  }>, "many">>;
@@ -996,28 +996,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
996
996
  sessionId: z.ZodString;
997
997
  kind: z.ZodLiteral<"agent_output">;
998
998
  }, "strict", z.ZodTypeAny, {
999
- kind: "agent_output";
1000
999
  summary: string;
1000
+ kind: "agent_output";
1001
1001
  agentId: string;
1002
1002
  sessionId: string;
1003
1003
  evidence: {
1004
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1005
1004
  id: string;
1006
1005
  label: string;
1006
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1007
1007
  capture: "at_action" | "historical_lookup" | "fixture";
1008
1008
  locator?: string | undefined;
1009
1009
  }[];
1010
1010
  outputId: string;
1011
1011
  }, {
1012
- kind: "agent_output";
1013
1012
  summary: string;
1013
+ kind: "agent_output";
1014
1014
  agentId: string;
1015
1015
  sessionId: string;
1016
1016
  outputId: string;
1017
1017
  evidence?: {
1018
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1019
1018
  id: string;
1020
1019
  label: string;
1020
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1021
1021
  capture: "at_action" | "historical_lookup" | "fixture";
1022
1022
  locator?: string | undefined;
1023
1023
  }[] | undefined;
@@ -1033,15 +1033,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1033
1033
  locator: z.ZodOptional<z.ZodString>;
1034
1034
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1035
1035
  }, "strict", z.ZodTypeAny, {
1036
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1037
1036
  id: string;
1038
1037
  label: string;
1038
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1039
1039
  capture: "at_action" | "historical_lookup" | "fixture";
1040
1040
  locator?: string | undefined;
1041
1041
  }, {
1042
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1043
1042
  id: string;
1044
1043
  label: string;
1044
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1045
1045
  capture: "at_action" | "historical_lookup" | "fixture";
1046
1046
  locator?: string | undefined;
1047
1047
  }>, "many">>;
@@ -1054,9 +1054,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1054
1054
  sessionId: string;
1055
1055
  statement: string;
1056
1056
  evidence: {
1057
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1058
1057
  id: string;
1059
1058
  label: string;
1059
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1060
1060
  capture: "at_action" | "historical_lookup" | "fixture";
1061
1061
  locator?: string | undefined;
1062
1062
  }[];
@@ -1072,9 +1072,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1072
1072
  decisionId: string;
1073
1073
  confidence?: number | undefined;
1074
1074
  evidence?: {
1075
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1076
1075
  id: string;
1077
1076
  label: string;
1077
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1078
1078
  capture: "at_action" | "historical_lookup" | "fixture";
1079
1079
  locator?: string | undefined;
1080
1080
  }[] | undefined;
@@ -1091,25 +1091,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1091
1091
  locator: z.ZodOptional<z.ZodString>;
1092
1092
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1093
1093
  }, "strict", z.ZodTypeAny, {
1094
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1095
1094
  id: string;
1096
1095
  label: string;
1096
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1097
1097
  capture: "at_action" | "historical_lookup" | "fixture";
1098
1098
  locator?: string | undefined;
1099
1099
  }, {
1100
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1101
1100
  id: string;
1102
1101
  label: string;
1102
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1103
1103
  capture: "at_action" | "historical_lookup" | "fixture";
1104
1104
  locator?: string | undefined;
1105
1105
  }>, "many">>;
1106
1106
  }, "strict", z.ZodTypeAny, {
1107
- kind: "conflict_detected";
1108
1107
  summary: string;
1108
+ kind: "conflict_detected";
1109
1109
  evidence: {
1110
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1111
1110
  id: string;
1112
1111
  label: string;
1112
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1113
1113
  capture: "at_action" | "historical_lookup" | "fixture";
1114
1114
  locator?: string | undefined;
1115
1115
  }[];
@@ -1117,15 +1117,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1117
1117
  decisionIds: string[];
1118
1118
  agentIds: string[];
1119
1119
  }, {
1120
- kind: "conflict_detected";
1121
1120
  summary: string;
1121
+ kind: "conflict_detected";
1122
1122
  conflictId: string;
1123
1123
  decisionIds: string[];
1124
1124
  agentIds: string[];
1125
1125
  evidence?: {
1126
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1127
1126
  id: string;
1128
1127
  label: string;
1128
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1129
1129
  capture: "at_action" | "historical_lookup" | "fixture";
1130
1130
  locator?: string | undefined;
1131
1131
  }[] | undefined;
@@ -1145,27 +1145,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1145
1145
  locator: z.ZodOptional<z.ZodString>;
1146
1146
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1147
1147
  }, "strict", z.ZodTypeAny, {
1148
- kind: "correction" | "source" | "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
  }, {
1154
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1155
1154
  id: string;
1156
1155
  label: string;
1156
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1157
1157
  capture: "at_action" | "historical_lookup" | "fixture";
1158
1158
  locator?: string | undefined;
1159
1159
  }>, "many">>;
1160
1160
  }, "strict", z.ZodTypeAny, {
1161
- kind: "test_result";
1162
1161
  summary: string;
1162
+ kind: "test_result";
1163
1163
  command: string;
1164
1164
  status: "error" | "failed" | "passed";
1165
1165
  evidence: {
1166
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1167
1166
  id: string;
1168
1167
  label: string;
1168
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1169
1169
  capture: "at_action" | "historical_lookup" | "fixture";
1170
1170
  locator?: string | undefined;
1171
1171
  }[];
@@ -1174,17 +1174,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1174
1174
  durationMs?: number | undefined;
1175
1175
  correctionId?: string | undefined;
1176
1176
  }, {
1177
- kind: "test_result";
1178
1177
  summary: string;
1178
+ kind: "test_result";
1179
1179
  command: string;
1180
1180
  status: "error" | "failed" | "passed";
1181
1181
  decisionId: string;
1182
1182
  testId: string;
1183
1183
  durationMs?: number | undefined;
1184
1184
  evidence?: {
1185
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1186
1185
  id: string;
1187
1186
  label: string;
1187
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1188
1188
  capture: "at_action" | "historical_lookup" | "fixture";
1189
1189
  locator?: string | undefined;
1190
1190
  }[] | undefined;
@@ -1205,15 +1205,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1205
1205
  locator: z.ZodOptional<z.ZodString>;
1206
1206
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1207
1207
  }, "strict", z.ZodTypeAny, {
1208
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1209
1208
  id: string;
1210
1209
  label: string;
1210
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1211
1211
  capture: "at_action" | "historical_lookup" | "fixture";
1212
1212
  locator?: string | undefined;
1213
1213
  }, {
1214
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1215
1214
  id: string;
1216
1215
  label: string;
1216
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1217
1217
  capture: "at_action" | "historical_lookup" | "fixture";
1218
1218
  locator?: string | undefined;
1219
1219
  }>, "many">>;
@@ -1222,9 +1222,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1222
1222
  rationale: string;
1223
1223
  statement: string;
1224
1224
  evidence: {
1225
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1226
1225
  id: string;
1227
1226
  label: string;
1227
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1228
1228
  capture: "at_action" | "historical_lookup" | "fixture";
1229
1229
  locator?: string | undefined;
1230
1230
  }[];
@@ -1243,9 +1243,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1243
1243
  supersedesDecisionIds: string[];
1244
1244
  proposedBy: string;
1245
1245
  evidence?: {
1246
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1247
1246
  id: string;
1248
1247
  label: string;
1248
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1249
1249
  capture: "at_action" | "historical_lookup" | "fixture";
1250
1250
  locator?: string | undefined;
1251
1251
  }[] | undefined;
@@ -1257,13 +1257,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1257
1257
  id: z.ZodString;
1258
1258
  label: z.ZodString;
1259
1259
  }, "strict", z.ZodTypeAny, {
1260
- kind: "agent" | "human";
1261
1260
  id: string;
1262
1261
  label: string;
1263
- }, {
1264
1262
  kind: "agent" | "human";
1263
+ }, {
1265
1264
  id: string;
1266
1265
  label: string;
1266
+ kind: "agent" | "human";
1267
1267
  }>;
1268
1268
  note: z.ZodOptional<z.ZodString>;
1269
1269
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1273,47 +1273,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1273
1273
  locator: z.ZodOptional<z.ZodString>;
1274
1274
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1275
1275
  }, "strict", z.ZodTypeAny, {
1276
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1277
1276
  id: string;
1278
1277
  label: string;
1278
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1279
1279
  capture: "at_action" | "historical_lookup" | "fixture";
1280
1280
  locator?: string | undefined;
1281
1281
  }, {
1282
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1283
1282
  id: string;
1284
1283
  label: string;
1284
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1285
1285
  capture: "at_action" | "historical_lookup" | "fixture";
1286
1286
  locator?: string | undefined;
1287
1287
  }>, "many">>;
1288
1288
  }, "strict", z.ZodTypeAny, {
1289
1289
  kind: "correction_approved";
1290
1290
  evidence: {
1291
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1292
1291
  id: string;
1293
1292
  label: string;
1293
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1294
1294
  capture: "at_action" | "historical_lookup" | "fixture";
1295
1295
  locator?: string | undefined;
1296
1296
  }[];
1297
1297
  correctionId: string;
1298
1298
  approvedBy: {
1299
- kind: "agent" | "human";
1300
1299
  id: string;
1301
1300
  label: string;
1301
+ kind: "agent" | "human";
1302
1302
  };
1303
1303
  note?: string | undefined;
1304
1304
  }, {
1305
1305
  kind: "correction_approved";
1306
1306
  correctionId: string;
1307
1307
  approvedBy: {
1308
- kind: "agent" | "human";
1309
1308
  id: string;
1310
1309
  label: string;
1310
+ kind: "agent" | "human";
1311
1311
  };
1312
1312
  note?: string | undefined;
1313
1313
  evidence?: {
1314
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1315
1314
  id: string;
1316
1315
  label: string;
1316
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1317
1317
  capture: "at_action" | "historical_lookup" | "fixture";
1318
1318
  locator?: string | undefined;
1319
1319
  }[] | undefined;
@@ -1329,24 +1329,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1329
1329
  locator: z.ZodOptional<z.ZodString>;
1330
1330
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1331
1331
  }, "strict", z.ZodTypeAny, {
1332
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1333
1332
  id: string;
1334
1333
  label: string;
1334
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1335
1335
  capture: "at_action" | "historical_lookup" | "fixture";
1336
1336
  locator?: string | undefined;
1337
1337
  }, {
1338
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1339
1338
  id: string;
1340
1339
  label: string;
1340
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1341
1341
  capture: "at_action" | "historical_lookup" | "fixture";
1342
1342
  locator?: string | undefined;
1343
1343
  }>, "many">>;
1344
1344
  }, "strict", z.ZodTypeAny, {
1345
1345
  kind: "decision_superseded";
1346
1346
  evidence: {
1347
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1348
1347
  id: string;
1349
1348
  label: string;
1349
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1350
1350
  capture: "at_action" | "historical_lookup" | "fixture";
1351
1351
  locator?: string | undefined;
1352
1352
  }[];
@@ -1359,9 +1359,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1359
1359
  correctionId: string;
1360
1360
  replacementDecisionId: string;
1361
1361
  evidence?: {
1362
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1363
1362
  id: string;
1364
1363
  label: string;
1364
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1365
1365
  capture: "at_action" | "historical_lookup" | "fixture";
1366
1366
  locator?: string | undefined;
1367
1367
  }[] | undefined;
@@ -1377,15 +1377,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1377
1377
  locator: z.ZodOptional<z.ZodString>;
1378
1378
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1379
1379
  }, "strict", z.ZodTypeAny, {
1380
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1381
1380
  id: string;
1382
1381
  label: string;
1382
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1383
1383
  capture: "at_action" | "historical_lookup" | "fixture";
1384
1384
  locator?: string | undefined;
1385
1385
  }, {
1386
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1387
1386
  id: string;
1388
1387
  label: string;
1388
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1389
1389
  capture: "at_action" | "historical_lookup" | "fixture";
1390
1390
  locator?: string | undefined;
1391
1391
  }>, "many">>;
@@ -1398,9 +1398,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1398
1398
  agentId: string;
1399
1399
  sessionId: string;
1400
1400
  evidence: {
1401
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1402
1401
  id: string;
1403
1402
  label: string;
1403
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1404
1404
  capture: "at_action" | "historical_lookup" | "fixture";
1405
1405
  locator?: string | undefined;
1406
1406
  }[];
@@ -1416,9 +1416,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1416
1416
  recallReceiptId: string;
1417
1417
  capturedAtAction: boolean;
1418
1418
  evidence?: {
1419
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1420
1419
  id: string;
1421
1420
  label: string;
1421
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1422
1422
  capture: "at_action" | "historical_lookup" | "fixture";
1423
1423
  locator?: string | undefined;
1424
1424
  }[] | undefined;
@@ -1434,15 +1434,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1434
1434
  locator: z.ZodOptional<z.ZodString>;
1435
1435
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1436
1436
  }, "strict", z.ZodTypeAny, {
1437
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1438
1437
  id: string;
1439
1438
  label: string;
1439
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1440
1440
  capture: "at_action" | "historical_lookup" | "fixture";
1441
1441
  locator?: string | undefined;
1442
1442
  }, {
1443
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1444
1443
  id: string;
1445
1444
  label: string;
1445
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1446
1446
  capture: "at_action" | "historical_lookup" | "fixture";
1447
1447
  locator?: string | undefined;
1448
1448
  }>, "many">>;
@@ -1454,9 +1454,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1454
1454
  agentId: string;
1455
1455
  sessionId: string;
1456
1456
  evidence: {
1457
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1458
1457
  id: string;
1459
1458
  label: string;
1459
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1460
1460
  capture: "at_action" | "historical_lookup" | "fixture";
1461
1461
  locator?: string | undefined;
1462
1462
  }[];
@@ -1473,9 +1473,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1473
1473
  recallReceiptId: string;
1474
1474
  staleDecisionAbsent: boolean;
1475
1475
  evidence?: {
1476
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1477
1476
  id: string;
1478
1477
  label: string;
1478
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1479
1479
  capture: "at_action" | "historical_lookup" | "fixture";
1480
1480
  locator?: string | undefined;
1481
1481
  }[] | undefined;
@@ -1490,37 +1490,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1490
1490
  locator: z.ZodOptional<z.ZodString>;
1491
1491
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1492
1492
  }, "strict", z.ZodTypeAny, {
1493
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1494
1493
  id: string;
1495
1494
  label: string;
1495
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1496
1496
  capture: "at_action" | "historical_lookup" | "fixture";
1497
1497
  locator?: string | undefined;
1498
1498
  }, {
1499
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1500
1499
  id: string;
1501
1500
  label: string;
1501
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1502
1502
  capture: "at_action" | "historical_lookup" | "fixture";
1503
1503
  locator?: string | undefined;
1504
1504
  }>, "many">>;
1505
1505
  }, "strict", z.ZodTypeAny, {
1506
- kind: "mission_completed";
1507
1506
  summary: string;
1507
+ kind: "mission_completed";
1508
1508
  outcome: "failed" | "recovered" | "inconclusive";
1509
1509
  evidence: {
1510
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1511
1510
  id: string;
1512
1511
  label: string;
1512
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1513
1513
  capture: "at_action" | "historical_lookup" | "fixture";
1514
1514
  locator?: string | undefined;
1515
1515
  }[];
1516
1516
  }, {
1517
- kind: "mission_completed";
1518
1517
  summary: string;
1518
+ kind: "mission_completed";
1519
1519
  outcome: "failed" | "recovered" | "inconclusive";
1520
1520
  evidence?: {
1521
- kind: "correction" | "source" | "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
  }[] | undefined;
@@ -1530,36 +1530,36 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1530
1530
  objective: string;
1531
1531
  runMode: "replay" | "fixture" | "live";
1532
1532
  evidence: {
1533
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1534
1533
  id: string;
1535
1534
  label: string;
1535
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1536
1536
  capture: "at_action" | "historical_lookup" | "fixture";
1537
1537
  locator?: string | undefined;
1538
1538
  }[];
1539
1539
  } | {
1540
+ label: string;
1540
1541
  kind: "agent_status";
1541
1542
  role: string;
1542
1543
  status: "failed" | "complete" | "working" | "blocked" | "idle";
1543
- label: string;
1544
1544
  agentId: string;
1545
1545
  sessionId: string;
1546
1546
  evidence: {
1547
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1548
1547
  id: string;
1549
1548
  label: string;
1549
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1550
1550
  capture: "at_action" | "historical_lookup" | "fixture";
1551
1551
  locator?: string | undefined;
1552
1552
  }[];
1553
1553
  detail?: string | undefined;
1554
1554
  } | {
1555
- kind: "agent_output";
1556
1555
  summary: string;
1556
+ kind: "agent_output";
1557
1557
  agentId: string;
1558
1558
  sessionId: string;
1559
1559
  evidence: {
1560
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1561
1560
  id: string;
1562
1561
  label: string;
1562
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1563
1563
  capture: "at_action" | "historical_lookup" | "fixture";
1564
1564
  locator?: string | undefined;
1565
1565
  }[];
@@ -1570,9 +1570,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1570
1570
  sessionId: string;
1571
1571
  statement: string;
1572
1572
  evidence: {
1573
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1574
1573
  id: string;
1575
1574
  label: string;
1575
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1576
1576
  capture: "at_action" | "historical_lookup" | "fixture";
1577
1577
  locator?: string | undefined;
1578
1578
  }[];
@@ -1580,12 +1580,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1580
1580
  decisionId: string;
1581
1581
  confidence?: number | undefined;
1582
1582
  } | {
1583
- kind: "conflict_detected";
1584
1583
  summary: string;
1584
+ kind: "conflict_detected";
1585
1585
  evidence: {
1586
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1587
1586
  id: string;
1588
1587
  label: string;
1588
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1589
1589
  capture: "at_action" | "historical_lookup" | "fixture";
1590
1590
  locator?: string | undefined;
1591
1591
  }[];
@@ -1593,14 +1593,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1593
1593
  decisionIds: string[];
1594
1594
  agentIds: string[];
1595
1595
  } | {
1596
- kind: "test_result";
1597
1596
  summary: string;
1597
+ kind: "test_result";
1598
1598
  command: string;
1599
1599
  status: "error" | "failed" | "passed";
1600
1600
  evidence: {
1601
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1602
1601
  id: string;
1603
1602
  label: string;
1603
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1604
1604
  capture: "at_action" | "historical_lookup" | "fixture";
1605
1605
  locator?: string | undefined;
1606
1606
  }[];
@@ -1613,9 +1613,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1613
1613
  rationale: string;
1614
1614
  statement: string;
1615
1615
  evidence: {
1616
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1617
1616
  id: string;
1618
1617
  label: string;
1618
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1619
1619
  capture: "at_action" | "historical_lookup" | "fixture";
1620
1620
  locator?: string | undefined;
1621
1621
  }[];
@@ -1627,25 +1627,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1627
1627
  } | {
1628
1628
  kind: "correction_approved";
1629
1629
  evidence: {
1630
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1631
1630
  id: string;
1632
1631
  label: string;
1632
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1633
1633
  capture: "at_action" | "historical_lookup" | "fixture";
1634
1634
  locator?: string | undefined;
1635
1635
  }[];
1636
1636
  correctionId: string;
1637
1637
  approvedBy: {
1638
- kind: "agent" | "human";
1639
1638
  id: string;
1640
1639
  label: string;
1640
+ kind: "agent" | "human";
1641
1641
  };
1642
1642
  note?: string | undefined;
1643
1643
  } | {
1644
1644
  kind: "decision_superseded";
1645
1645
  evidence: {
1646
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1647
1646
  id: string;
1648
1647
  label: string;
1648
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1649
1649
  capture: "at_action" | "historical_lookup" | "fixture";
1650
1650
  locator?: string | undefined;
1651
1651
  }[];
@@ -1658,9 +1658,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1658
1658
  agentId: string;
1659
1659
  sessionId: string;
1660
1660
  evidence: {
1661
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1662
1661
  id: string;
1663
1662
  label: string;
1663
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1664
1664
  capture: "at_action" | "historical_lookup" | "fixture";
1665
1665
  locator?: string | undefined;
1666
1666
  }[];
@@ -1672,9 +1672,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1672
1672
  agentId: string;
1673
1673
  sessionId: string;
1674
1674
  evidence: {
1675
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1676
1675
  id: string;
1677
1676
  label: string;
1677
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1678
1678
  capture: "at_action" | "historical_lookup" | "fixture";
1679
1679
  locator?: string | undefined;
1680
1680
  }[];
@@ -1683,13 +1683,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1683
1683
  recallReceiptId: string;
1684
1684
  staleDecisionAbsent: boolean;
1685
1685
  } | {
1686
- kind: "mission_completed";
1687
1686
  summary: string;
1687
+ kind: "mission_completed";
1688
1688
  outcome: "failed" | "recovered" | "inconclusive";
1689
1689
  evidence: {
1690
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1691
1690
  id: string;
1692
1691
  label: string;
1692
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1693
1693
  capture: "at_action" | "historical_lookup" | "fixture";
1694
1694
  locator?: string | undefined;
1695
1695
  }[];
@@ -1699,37 +1699,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1699
1699
  objective: string;
1700
1700
  runMode: "replay" | "fixture" | "live";
1701
1701
  evidence?: {
1702
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1703
1702
  id: string;
1704
1703
  label: string;
1704
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1705
1705
  capture: "at_action" | "historical_lookup" | "fixture";
1706
1706
  locator?: string | undefined;
1707
1707
  }[] | undefined;
1708
1708
  } | {
1709
+ label: string;
1709
1710
  kind: "agent_status";
1710
1711
  role: string;
1711
1712
  status: "failed" | "complete" | "working" | "blocked" | "idle";
1712
- label: string;
1713
1713
  agentId: string;
1714
1714
  sessionId: string;
1715
1715
  detail?: string | undefined;
1716
1716
  evidence?: {
1717
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1718
1717
  id: string;
1719
1718
  label: string;
1719
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1720
1720
  capture: "at_action" | "historical_lookup" | "fixture";
1721
1721
  locator?: string | undefined;
1722
1722
  }[] | undefined;
1723
1723
  } | {
1724
- kind: "agent_output";
1725
1724
  summary: string;
1725
+ kind: "agent_output";
1726
1726
  agentId: string;
1727
1727
  sessionId: string;
1728
1728
  outputId: string;
1729
1729
  evidence?: {
1730
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1731
1730
  id: string;
1732
1731
  label: string;
1732
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1733
1733
  capture: "at_action" | "historical_lookup" | "fixture";
1734
1734
  locator?: string | undefined;
1735
1735
  }[] | undefined;
@@ -1742,37 +1742,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1742
1742
  decisionId: string;
1743
1743
  confidence?: number | undefined;
1744
1744
  evidence?: {
1745
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1746
1745
  id: string;
1747
1746
  label: string;
1747
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1748
1748
  capture: "at_action" | "historical_lookup" | "fixture";
1749
1749
  locator?: string | undefined;
1750
1750
  }[] | undefined;
1751
1751
  } | {
1752
- kind: "conflict_detected";
1753
1752
  summary: string;
1753
+ kind: "conflict_detected";
1754
1754
  conflictId: string;
1755
1755
  decisionIds: string[];
1756
1756
  agentIds: string[];
1757
1757
  evidence?: {
1758
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1759
1758
  id: string;
1760
1759
  label: string;
1760
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1761
1761
  capture: "at_action" | "historical_lookup" | "fixture";
1762
1762
  locator?: string | undefined;
1763
1763
  }[] | undefined;
1764
1764
  } | {
1765
- kind: "test_result";
1766
1765
  summary: string;
1766
+ kind: "test_result";
1767
1767
  command: string;
1768
1768
  status: "error" | "failed" | "passed";
1769
1769
  decisionId: string;
1770
1770
  testId: string;
1771
1771
  durationMs?: number | undefined;
1772
1772
  evidence?: {
1773
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1774
1773
  id: string;
1775
1774
  label: string;
1775
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1776
1776
  capture: "at_action" | "historical_lookup" | "fixture";
1777
1777
  locator?: string | undefined;
1778
1778
  }[] | undefined;
@@ -1787,9 +1787,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1787
1787
  supersedesDecisionIds: string[];
1788
1788
  proposedBy: string;
1789
1789
  evidence?: {
1790
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1791
1790
  id: string;
1792
1791
  label: string;
1792
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1793
1793
  capture: "at_action" | "historical_lookup" | "fixture";
1794
1794
  locator?: string | undefined;
1795
1795
  }[] | undefined;
@@ -1797,15 +1797,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1797
1797
  kind: "correction_approved";
1798
1798
  correctionId: string;
1799
1799
  approvedBy: {
1800
- kind: "agent" | "human";
1801
1800
  id: string;
1802
1801
  label: string;
1802
+ kind: "agent" | "human";
1803
1803
  };
1804
1804
  note?: string | undefined;
1805
1805
  evidence?: {
1806
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1807
1806
  id: string;
1808
1807
  label: string;
1808
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1809
1809
  capture: "at_action" | "historical_lookup" | "fixture";
1810
1810
  locator?: string | undefined;
1811
1811
  }[] | undefined;
@@ -1815,9 +1815,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1815
1815
  correctionId: string;
1816
1816
  replacementDecisionId: string;
1817
1817
  evidence?: {
1818
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1819
1818
  id: string;
1820
1819
  label: string;
1820
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1821
1821
  capture: "at_action" | "historical_lookup" | "fixture";
1822
1822
  locator?: string | undefined;
1823
1823
  }[] | undefined;
@@ -1830,9 +1830,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1830
1830
  recallReceiptId: string;
1831
1831
  capturedAtAction: boolean;
1832
1832
  evidence?: {
1833
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1834
1833
  id: string;
1835
1834
  label: string;
1835
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1836
1836
  capture: "at_action" | "historical_lookup" | "fixture";
1837
1837
  locator?: string | undefined;
1838
1838
  }[] | undefined;
@@ -1845,20 +1845,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1845
1845
  recallReceiptId: string;
1846
1846
  staleDecisionAbsent: boolean;
1847
1847
  evidence?: {
1848
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1849
1848
  id: string;
1850
1849
  label: string;
1850
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1851
1851
  capture: "at_action" | "historical_lookup" | "fixture";
1852
1852
  locator?: string | undefined;
1853
1853
  }[] | undefined;
1854
1854
  } | {
1855
- kind: "mission_completed";
1856
1855
  summary: string;
1856
+ kind: "mission_completed";
1857
1857
  outcome: "failed" | "recovered" | "inconclusive";
1858
1858
  evidence?: {
1859
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1860
1859
  id: string;
1861
1860
  label: string;
1861
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1862
1862
  capture: "at_action" | "historical_lookup" | "fixture";
1863
1863
  locator?: string | undefined;
1864
1864
  }[] | undefined;
@@ -1879,15 +1879,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1879
1879
  locator: z.ZodOptional<z.ZodString>;
1880
1880
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1881
1881
  }, "strict", z.ZodTypeAny, {
1882
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1883
1882
  id: string;
1884
1883
  label: string;
1884
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1885
1885
  capture: "at_action" | "historical_lookup" | "fixture";
1886
1886
  locator?: string | undefined;
1887
1887
  }, {
1888
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1889
1888
  id: string;
1890
1889
  label: string;
1890
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1891
1891
  capture: "at_action" | "historical_lookup" | "fixture";
1892
1892
  locator?: string | undefined;
1893
1893
  }>, "many">>;
@@ -1897,9 +1897,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1897
1897
  objective: string;
1898
1898
  runMode: "replay" | "fixture" | "live";
1899
1899
  evidence: {
1900
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1901
1900
  id: string;
1902
1901
  label: string;
1902
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1903
1903
  capture: "at_action" | "historical_lookup" | "fixture";
1904
1904
  locator?: string | undefined;
1905
1905
  }[];
@@ -1909,9 +1909,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1909
1909
  objective: string;
1910
1910
  runMode: "replay" | "fixture" | "live";
1911
1911
  evidence?: {
1912
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1913
1912
  id: string;
1914
1913
  label: string;
1914
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1915
1915
  capture: "at_action" | "historical_lookup" | "fixture";
1916
1916
  locator?: string | undefined;
1917
1917
  }[] | undefined;
@@ -1927,15 +1927,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1927
1927
  locator: z.ZodOptional<z.ZodString>;
1928
1928
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1929
1929
  }, "strict", z.ZodTypeAny, {
1930
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1931
1930
  id: string;
1932
1931
  label: string;
1932
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1933
1933
  capture: "at_action" | "historical_lookup" | "fixture";
1934
1934
  locator?: string | undefined;
1935
1935
  }, {
1936
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1937
1936
  id: string;
1938
1937
  label: string;
1938
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1939
1939
  capture: "at_action" | "historical_lookup" | "fixture";
1940
1940
  locator?: string | undefined;
1941
1941
  }>, "many">>;
@@ -1943,32 +1943,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1943
1943
  sessionId: z.ZodString;
1944
1944
  kind: z.ZodLiteral<"agent_status">;
1945
1945
  }, "strict", z.ZodTypeAny, {
1946
+ label: string;
1946
1947
  kind: "agent_status";
1947
1948
  role: string;
1948
1949
  status: "failed" | "complete" | "working" | "blocked" | "idle";
1949
- label: string;
1950
1950
  agentId: string;
1951
1951
  sessionId: string;
1952
1952
  evidence: {
1953
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1954
1953
  id: string;
1955
1954
  label: string;
1955
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1956
1956
  capture: "at_action" | "historical_lookup" | "fixture";
1957
1957
  locator?: string | undefined;
1958
1958
  }[];
1959
1959
  detail?: string | undefined;
1960
1960
  }, {
1961
+ label: string;
1961
1962
  kind: "agent_status";
1962
1963
  role: string;
1963
1964
  status: "failed" | "complete" | "working" | "blocked" | "idle";
1964
- label: string;
1965
1965
  agentId: string;
1966
1966
  sessionId: string;
1967
1967
  detail?: string | undefined;
1968
1968
  evidence?: {
1969
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1970
1969
  id: string;
1971
1970
  label: string;
1971
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1972
1972
  capture: "at_action" | "historical_lookup" | "fixture";
1973
1973
  locator?: string | undefined;
1974
1974
  }[] | undefined;
@@ -1982,15 +1982,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1982
1982
  locator: z.ZodOptional<z.ZodString>;
1983
1983
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1984
1984
  }, "strict", z.ZodTypeAny, {
1985
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1986
1985
  id: string;
1987
1986
  label: string;
1987
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
1988
1988
  capture: "at_action" | "historical_lookup" | "fixture";
1989
1989
  locator?: string | undefined;
1990
1990
  }, {
1991
- kind: "correction" | "source" | "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
  }>, "many">>;
@@ -1998,28 +1998,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1998
1998
  sessionId: z.ZodString;
1999
1999
  kind: z.ZodLiteral<"agent_output">;
2000
2000
  }, "strict", z.ZodTypeAny, {
2001
- kind: "agent_output";
2002
2001
  summary: string;
2002
+ kind: "agent_output";
2003
2003
  agentId: string;
2004
2004
  sessionId: string;
2005
2005
  evidence: {
2006
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2007
2006
  id: string;
2008
2007
  label: string;
2008
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2009
2009
  capture: "at_action" | "historical_lookup" | "fixture";
2010
2010
  locator?: string | undefined;
2011
2011
  }[];
2012
2012
  outputId: string;
2013
2013
  }, {
2014
- kind: "agent_output";
2015
2014
  summary: string;
2015
+ kind: "agent_output";
2016
2016
  agentId: string;
2017
2017
  sessionId: string;
2018
2018
  outputId: string;
2019
2019
  evidence?: {
2020
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2021
2020
  id: string;
2022
2021
  label: string;
2022
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2023
2023
  capture: "at_action" | "historical_lookup" | "fixture";
2024
2024
  locator?: string | undefined;
2025
2025
  }[] | undefined;
@@ -2035,15 +2035,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2035
2035
  locator: z.ZodOptional<z.ZodString>;
2036
2036
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2037
2037
  }, "strict", z.ZodTypeAny, {
2038
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2039
2038
  id: string;
2040
2039
  label: string;
2040
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2041
2041
  capture: "at_action" | "historical_lookup" | "fixture";
2042
2042
  locator?: string | undefined;
2043
2043
  }, {
2044
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2045
2044
  id: string;
2046
2045
  label: string;
2046
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2047
2047
  capture: "at_action" | "historical_lookup" | "fixture";
2048
2048
  locator?: string | undefined;
2049
2049
  }>, "many">>;
@@ -2056,9 +2056,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2056
2056
  sessionId: string;
2057
2057
  statement: string;
2058
2058
  evidence: {
2059
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2060
2059
  id: string;
2061
2060
  label: string;
2061
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2062
2062
  capture: "at_action" | "historical_lookup" | "fixture";
2063
2063
  locator?: string | undefined;
2064
2064
  }[];
@@ -2074,9 +2074,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2074
2074
  decisionId: string;
2075
2075
  confidence?: number | undefined;
2076
2076
  evidence?: {
2077
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2078
2077
  id: string;
2079
2078
  label: string;
2079
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2080
2080
  capture: "at_action" | "historical_lookup" | "fixture";
2081
2081
  locator?: string | undefined;
2082
2082
  }[] | undefined;
@@ -2093,25 +2093,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2093
2093
  locator: z.ZodOptional<z.ZodString>;
2094
2094
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2095
2095
  }, "strict", z.ZodTypeAny, {
2096
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2097
2096
  id: string;
2098
2097
  label: string;
2098
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2099
2099
  capture: "at_action" | "historical_lookup" | "fixture";
2100
2100
  locator?: string | undefined;
2101
2101
  }, {
2102
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2103
2102
  id: string;
2104
2103
  label: string;
2104
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2105
2105
  capture: "at_action" | "historical_lookup" | "fixture";
2106
2106
  locator?: string | undefined;
2107
2107
  }>, "many">>;
2108
2108
  }, "strict", z.ZodTypeAny, {
2109
- kind: "conflict_detected";
2110
2109
  summary: string;
2110
+ kind: "conflict_detected";
2111
2111
  evidence: {
2112
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2113
2112
  id: string;
2114
2113
  label: string;
2114
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2115
2115
  capture: "at_action" | "historical_lookup" | "fixture";
2116
2116
  locator?: string | undefined;
2117
2117
  }[];
@@ -2119,15 +2119,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2119
2119
  decisionIds: string[];
2120
2120
  agentIds: string[];
2121
2121
  }, {
2122
- kind: "conflict_detected";
2123
2122
  summary: string;
2123
+ kind: "conflict_detected";
2124
2124
  conflictId: string;
2125
2125
  decisionIds: string[];
2126
2126
  agentIds: string[];
2127
2127
  evidence?: {
2128
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2129
2128
  id: string;
2130
2129
  label: string;
2130
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2131
2131
  capture: "at_action" | "historical_lookup" | "fixture";
2132
2132
  locator?: string | undefined;
2133
2133
  }[] | undefined;
@@ -2147,27 +2147,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2147
2147
  locator: z.ZodOptional<z.ZodString>;
2148
2148
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2149
2149
  }, "strict", z.ZodTypeAny, {
2150
- kind: "correction" | "source" | "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
  }, {
2156
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2157
2156
  id: string;
2158
2157
  label: string;
2158
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2159
2159
  capture: "at_action" | "historical_lookup" | "fixture";
2160
2160
  locator?: string | undefined;
2161
2161
  }>, "many">>;
2162
2162
  }, "strict", z.ZodTypeAny, {
2163
- kind: "test_result";
2164
2163
  summary: string;
2164
+ kind: "test_result";
2165
2165
  command: string;
2166
2166
  status: "error" | "failed" | "passed";
2167
2167
  evidence: {
2168
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2169
2168
  id: string;
2170
2169
  label: string;
2170
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2171
2171
  capture: "at_action" | "historical_lookup" | "fixture";
2172
2172
  locator?: string | undefined;
2173
2173
  }[];
@@ -2176,17 +2176,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2176
2176
  durationMs?: number | undefined;
2177
2177
  correctionId?: string | undefined;
2178
2178
  }, {
2179
- kind: "test_result";
2180
2179
  summary: string;
2180
+ kind: "test_result";
2181
2181
  command: string;
2182
2182
  status: "error" | "failed" | "passed";
2183
2183
  decisionId: string;
2184
2184
  testId: string;
2185
2185
  durationMs?: number | undefined;
2186
2186
  evidence?: {
2187
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2188
2187
  id: string;
2189
2188
  label: string;
2189
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2190
2190
  capture: "at_action" | "historical_lookup" | "fixture";
2191
2191
  locator?: string | undefined;
2192
2192
  }[] | undefined;
@@ -2207,15 +2207,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2207
2207
  locator: z.ZodOptional<z.ZodString>;
2208
2208
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2209
2209
  }, "strict", z.ZodTypeAny, {
2210
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2211
2210
  id: string;
2212
2211
  label: string;
2212
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2213
2213
  capture: "at_action" | "historical_lookup" | "fixture";
2214
2214
  locator?: string | undefined;
2215
2215
  }, {
2216
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2217
2216
  id: string;
2218
2217
  label: string;
2218
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2219
2219
  capture: "at_action" | "historical_lookup" | "fixture";
2220
2220
  locator?: string | undefined;
2221
2221
  }>, "many">>;
@@ -2224,9 +2224,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2224
2224
  rationale: string;
2225
2225
  statement: string;
2226
2226
  evidence: {
2227
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2228
2227
  id: string;
2229
2228
  label: string;
2229
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2230
2230
  capture: "at_action" | "historical_lookup" | "fixture";
2231
2231
  locator?: string | undefined;
2232
2232
  }[];
@@ -2245,9 +2245,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2245
2245
  supersedesDecisionIds: string[];
2246
2246
  proposedBy: string;
2247
2247
  evidence?: {
2248
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2249
2248
  id: string;
2250
2249
  label: string;
2250
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2251
2251
  capture: "at_action" | "historical_lookup" | "fixture";
2252
2252
  locator?: string | undefined;
2253
2253
  }[] | undefined;
@@ -2259,13 +2259,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2259
2259
  id: z.ZodString;
2260
2260
  label: z.ZodString;
2261
2261
  }, "strict", z.ZodTypeAny, {
2262
- kind: "agent" | "human";
2263
2262
  id: string;
2264
2263
  label: string;
2265
- }, {
2266
2264
  kind: "agent" | "human";
2265
+ }, {
2267
2266
  id: string;
2268
2267
  label: string;
2268
+ kind: "agent" | "human";
2269
2269
  }>;
2270
2270
  note: z.ZodOptional<z.ZodString>;
2271
2271
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2275,47 +2275,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2275
2275
  locator: z.ZodOptional<z.ZodString>;
2276
2276
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2277
2277
  }, "strict", z.ZodTypeAny, {
2278
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2279
2278
  id: string;
2280
2279
  label: string;
2280
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2281
2281
  capture: "at_action" | "historical_lookup" | "fixture";
2282
2282
  locator?: string | undefined;
2283
2283
  }, {
2284
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2285
2284
  id: string;
2286
2285
  label: string;
2286
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2287
2287
  capture: "at_action" | "historical_lookup" | "fixture";
2288
2288
  locator?: string | undefined;
2289
2289
  }>, "many">>;
2290
2290
  }, "strict", z.ZodTypeAny, {
2291
2291
  kind: "correction_approved";
2292
2292
  evidence: {
2293
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2294
2293
  id: string;
2295
2294
  label: string;
2295
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2296
2296
  capture: "at_action" | "historical_lookup" | "fixture";
2297
2297
  locator?: string | undefined;
2298
2298
  }[];
2299
2299
  correctionId: string;
2300
2300
  approvedBy: {
2301
- kind: "agent" | "human";
2302
2301
  id: string;
2303
2302
  label: string;
2303
+ kind: "agent" | "human";
2304
2304
  };
2305
2305
  note?: string | undefined;
2306
2306
  }, {
2307
2307
  kind: "correction_approved";
2308
2308
  correctionId: string;
2309
2309
  approvedBy: {
2310
- kind: "agent" | "human";
2311
2310
  id: string;
2312
2311
  label: string;
2312
+ kind: "agent" | "human";
2313
2313
  };
2314
2314
  note?: string | undefined;
2315
2315
  evidence?: {
2316
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2317
2316
  id: string;
2318
2317
  label: string;
2318
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2319
2319
  capture: "at_action" | "historical_lookup" | "fixture";
2320
2320
  locator?: string | undefined;
2321
2321
  }[] | undefined;
@@ -2331,24 +2331,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2331
2331
  locator: z.ZodOptional<z.ZodString>;
2332
2332
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2333
2333
  }, "strict", z.ZodTypeAny, {
2334
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2335
2334
  id: string;
2336
2335
  label: string;
2336
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2337
2337
  capture: "at_action" | "historical_lookup" | "fixture";
2338
2338
  locator?: string | undefined;
2339
2339
  }, {
2340
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2341
2340
  id: string;
2342
2341
  label: string;
2342
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2343
2343
  capture: "at_action" | "historical_lookup" | "fixture";
2344
2344
  locator?: string | undefined;
2345
2345
  }>, "many">>;
2346
2346
  }, "strict", z.ZodTypeAny, {
2347
2347
  kind: "decision_superseded";
2348
2348
  evidence: {
2349
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2350
2349
  id: string;
2351
2350
  label: string;
2351
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2352
2352
  capture: "at_action" | "historical_lookup" | "fixture";
2353
2353
  locator?: string | undefined;
2354
2354
  }[];
@@ -2361,9 +2361,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2361
2361
  correctionId: string;
2362
2362
  replacementDecisionId: string;
2363
2363
  evidence?: {
2364
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2365
2364
  id: string;
2366
2365
  label: string;
2366
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2367
2367
  capture: "at_action" | "historical_lookup" | "fixture";
2368
2368
  locator?: string | undefined;
2369
2369
  }[] | undefined;
@@ -2379,15 +2379,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2379
2379
  locator: z.ZodOptional<z.ZodString>;
2380
2380
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2381
2381
  }, "strict", z.ZodTypeAny, {
2382
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2383
2382
  id: string;
2384
2383
  label: string;
2384
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2385
2385
  capture: "at_action" | "historical_lookup" | "fixture";
2386
2386
  locator?: string | undefined;
2387
2387
  }, {
2388
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2389
2388
  id: string;
2390
2389
  label: string;
2390
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2391
2391
  capture: "at_action" | "historical_lookup" | "fixture";
2392
2392
  locator?: string | undefined;
2393
2393
  }>, "many">>;
@@ -2400,9 +2400,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2400
2400
  agentId: string;
2401
2401
  sessionId: string;
2402
2402
  evidence: {
2403
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2404
2403
  id: string;
2405
2404
  label: string;
2405
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2406
2406
  capture: "at_action" | "historical_lookup" | "fixture";
2407
2407
  locator?: string | undefined;
2408
2408
  }[];
@@ -2418,9 +2418,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2418
2418
  recallReceiptId: string;
2419
2419
  capturedAtAction: boolean;
2420
2420
  evidence?: {
2421
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2422
2421
  id: string;
2423
2422
  label: string;
2423
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2424
2424
  capture: "at_action" | "historical_lookup" | "fixture";
2425
2425
  locator?: string | undefined;
2426
2426
  }[] | undefined;
@@ -2436,15 +2436,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2436
2436
  locator: z.ZodOptional<z.ZodString>;
2437
2437
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2438
2438
  }, "strict", z.ZodTypeAny, {
2439
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2440
2439
  id: string;
2441
2440
  label: string;
2441
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2442
2442
  capture: "at_action" | "historical_lookup" | "fixture";
2443
2443
  locator?: string | undefined;
2444
2444
  }, {
2445
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2446
2445
  id: string;
2447
2446
  label: string;
2447
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2448
2448
  capture: "at_action" | "historical_lookup" | "fixture";
2449
2449
  locator?: string | undefined;
2450
2450
  }>, "many">>;
@@ -2456,9 +2456,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2456
2456
  agentId: string;
2457
2457
  sessionId: string;
2458
2458
  evidence: {
2459
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2460
2459
  id: string;
2461
2460
  label: string;
2461
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2462
2462
  capture: "at_action" | "historical_lookup" | "fixture";
2463
2463
  locator?: string | undefined;
2464
2464
  }[];
@@ -2475,9 +2475,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2475
2475
  recallReceiptId: string;
2476
2476
  staleDecisionAbsent: boolean;
2477
2477
  evidence?: {
2478
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2479
2478
  id: string;
2480
2479
  label: string;
2480
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2481
2481
  capture: "at_action" | "historical_lookup" | "fixture";
2482
2482
  locator?: string | undefined;
2483
2483
  }[] | undefined;
@@ -2492,37 +2492,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2492
2492
  locator: z.ZodOptional<z.ZodString>;
2493
2493
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2494
2494
  }, "strict", z.ZodTypeAny, {
2495
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2496
2495
  id: string;
2497
2496
  label: string;
2497
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2498
2498
  capture: "at_action" | "historical_lookup" | "fixture";
2499
2499
  locator?: string | undefined;
2500
2500
  }, {
2501
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2502
2501
  id: string;
2503
2502
  label: string;
2503
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2504
2504
  capture: "at_action" | "historical_lookup" | "fixture";
2505
2505
  locator?: string | undefined;
2506
2506
  }>, "many">>;
2507
2507
  }, "strict", z.ZodTypeAny, {
2508
- kind: "mission_completed";
2509
2508
  summary: string;
2509
+ kind: "mission_completed";
2510
2510
  outcome: "failed" | "recovered" | "inconclusive";
2511
2511
  evidence: {
2512
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2513
2512
  id: string;
2514
2513
  label: string;
2514
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2515
2515
  capture: "at_action" | "historical_lookup" | "fixture";
2516
2516
  locator?: string | undefined;
2517
2517
  }[];
2518
2518
  }, {
2519
- kind: "mission_completed";
2520
2519
  summary: string;
2520
+ kind: "mission_completed";
2521
2521
  outcome: "failed" | "recovered" | "inconclusive";
2522
2522
  evidence?: {
2523
- kind: "correction" | "source" | "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
  }[] | undefined;
@@ -2532,36 +2532,36 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2532
2532
  objective: string;
2533
2533
  runMode: "replay" | "fixture" | "live";
2534
2534
  evidence: {
2535
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2536
2535
  id: string;
2537
2536
  label: string;
2537
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2538
2538
  capture: "at_action" | "historical_lookup" | "fixture";
2539
2539
  locator?: string | undefined;
2540
2540
  }[];
2541
2541
  } | {
2542
+ label: string;
2542
2543
  kind: "agent_status";
2543
2544
  role: string;
2544
2545
  status: "failed" | "complete" | "working" | "blocked" | "idle";
2545
- label: string;
2546
2546
  agentId: string;
2547
2547
  sessionId: string;
2548
2548
  evidence: {
2549
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2550
2549
  id: string;
2551
2550
  label: string;
2551
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2552
2552
  capture: "at_action" | "historical_lookup" | "fixture";
2553
2553
  locator?: string | undefined;
2554
2554
  }[];
2555
2555
  detail?: string | undefined;
2556
2556
  } | {
2557
- kind: "agent_output";
2558
2557
  summary: string;
2558
+ kind: "agent_output";
2559
2559
  agentId: string;
2560
2560
  sessionId: string;
2561
2561
  evidence: {
2562
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2563
2562
  id: string;
2564
2563
  label: string;
2564
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2565
2565
  capture: "at_action" | "historical_lookup" | "fixture";
2566
2566
  locator?: string | undefined;
2567
2567
  }[];
@@ -2572,9 +2572,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2572
2572
  sessionId: string;
2573
2573
  statement: string;
2574
2574
  evidence: {
2575
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2576
2575
  id: string;
2577
2576
  label: string;
2577
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2578
2578
  capture: "at_action" | "historical_lookup" | "fixture";
2579
2579
  locator?: string | undefined;
2580
2580
  }[];
@@ -2582,12 +2582,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2582
2582
  decisionId: string;
2583
2583
  confidence?: number | undefined;
2584
2584
  } | {
2585
- kind: "conflict_detected";
2586
2585
  summary: string;
2586
+ kind: "conflict_detected";
2587
2587
  evidence: {
2588
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2589
2588
  id: string;
2590
2589
  label: string;
2590
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2591
2591
  capture: "at_action" | "historical_lookup" | "fixture";
2592
2592
  locator?: string | undefined;
2593
2593
  }[];
@@ -2595,14 +2595,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2595
2595
  decisionIds: string[];
2596
2596
  agentIds: string[];
2597
2597
  } | {
2598
- kind: "test_result";
2599
2598
  summary: string;
2599
+ kind: "test_result";
2600
2600
  command: string;
2601
2601
  status: "error" | "failed" | "passed";
2602
2602
  evidence: {
2603
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2604
2603
  id: string;
2605
2604
  label: string;
2605
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2606
2606
  capture: "at_action" | "historical_lookup" | "fixture";
2607
2607
  locator?: string | undefined;
2608
2608
  }[];
@@ -2615,9 +2615,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2615
2615
  rationale: string;
2616
2616
  statement: string;
2617
2617
  evidence: {
2618
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2619
2618
  id: string;
2620
2619
  label: string;
2620
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2621
2621
  capture: "at_action" | "historical_lookup" | "fixture";
2622
2622
  locator?: string | undefined;
2623
2623
  }[];
@@ -2629,25 +2629,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2629
2629
  } | {
2630
2630
  kind: "correction_approved";
2631
2631
  evidence: {
2632
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2633
2632
  id: string;
2634
2633
  label: string;
2634
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2635
2635
  capture: "at_action" | "historical_lookup" | "fixture";
2636
2636
  locator?: string | undefined;
2637
2637
  }[];
2638
2638
  correctionId: string;
2639
2639
  approvedBy: {
2640
- kind: "agent" | "human";
2641
2640
  id: string;
2642
2641
  label: string;
2642
+ kind: "agent" | "human";
2643
2643
  };
2644
2644
  note?: string | undefined;
2645
2645
  } | {
2646
2646
  kind: "decision_superseded";
2647
2647
  evidence: {
2648
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2649
2648
  id: string;
2650
2649
  label: string;
2650
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2651
2651
  capture: "at_action" | "historical_lookup" | "fixture";
2652
2652
  locator?: string | undefined;
2653
2653
  }[];
@@ -2660,9 +2660,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2660
2660
  agentId: string;
2661
2661
  sessionId: string;
2662
2662
  evidence: {
2663
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2664
2663
  id: string;
2665
2664
  label: string;
2665
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2666
2666
  capture: "at_action" | "historical_lookup" | "fixture";
2667
2667
  locator?: string | undefined;
2668
2668
  }[];
@@ -2674,9 +2674,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2674
2674
  agentId: string;
2675
2675
  sessionId: string;
2676
2676
  evidence: {
2677
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2678
2677
  id: string;
2679
2678
  label: string;
2679
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2680
2680
  capture: "at_action" | "historical_lookup" | "fixture";
2681
2681
  locator?: string | undefined;
2682
2682
  }[];
@@ -2685,13 +2685,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2685
2685
  recallReceiptId: string;
2686
2686
  staleDecisionAbsent: boolean;
2687
2687
  } | {
2688
- kind: "mission_completed";
2689
2688
  summary: string;
2689
+ kind: "mission_completed";
2690
2690
  outcome: "failed" | "recovered" | "inconclusive";
2691
2691
  evidence: {
2692
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2693
2692
  id: string;
2694
2693
  label: string;
2694
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2695
2695
  capture: "at_action" | "historical_lookup" | "fixture";
2696
2696
  locator?: string | undefined;
2697
2697
  }[];
@@ -2701,37 +2701,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2701
2701
  objective: string;
2702
2702
  runMode: "replay" | "fixture" | "live";
2703
2703
  evidence?: {
2704
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2705
2704
  id: string;
2706
2705
  label: string;
2706
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2707
2707
  capture: "at_action" | "historical_lookup" | "fixture";
2708
2708
  locator?: string | undefined;
2709
2709
  }[] | undefined;
2710
2710
  } | {
2711
+ label: string;
2711
2712
  kind: "agent_status";
2712
2713
  role: string;
2713
2714
  status: "failed" | "complete" | "working" | "blocked" | "idle";
2714
- label: string;
2715
2715
  agentId: string;
2716
2716
  sessionId: string;
2717
2717
  detail?: string | undefined;
2718
2718
  evidence?: {
2719
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2720
2719
  id: string;
2721
2720
  label: string;
2721
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2722
2722
  capture: "at_action" | "historical_lookup" | "fixture";
2723
2723
  locator?: string | undefined;
2724
2724
  }[] | undefined;
2725
2725
  } | {
2726
- kind: "agent_output";
2727
2726
  summary: string;
2727
+ kind: "agent_output";
2728
2728
  agentId: string;
2729
2729
  sessionId: string;
2730
2730
  outputId: string;
2731
2731
  evidence?: {
2732
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2733
2732
  id: string;
2734
2733
  label: string;
2734
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2735
2735
  capture: "at_action" | "historical_lookup" | "fixture";
2736
2736
  locator?: string | undefined;
2737
2737
  }[] | undefined;
@@ -2744,37 +2744,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2744
2744
  decisionId: string;
2745
2745
  confidence?: number | undefined;
2746
2746
  evidence?: {
2747
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2748
2747
  id: string;
2749
2748
  label: string;
2749
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2750
2750
  capture: "at_action" | "historical_lookup" | "fixture";
2751
2751
  locator?: string | undefined;
2752
2752
  }[] | undefined;
2753
2753
  } | {
2754
- kind: "conflict_detected";
2755
2754
  summary: string;
2755
+ kind: "conflict_detected";
2756
2756
  conflictId: string;
2757
2757
  decisionIds: string[];
2758
2758
  agentIds: string[];
2759
2759
  evidence?: {
2760
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2761
2760
  id: string;
2762
2761
  label: string;
2762
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2763
2763
  capture: "at_action" | "historical_lookup" | "fixture";
2764
2764
  locator?: string | undefined;
2765
2765
  }[] | undefined;
2766
2766
  } | {
2767
- kind: "test_result";
2768
2767
  summary: string;
2768
+ kind: "test_result";
2769
2769
  command: string;
2770
2770
  status: "error" | "failed" | "passed";
2771
2771
  decisionId: string;
2772
2772
  testId: string;
2773
2773
  durationMs?: number | undefined;
2774
2774
  evidence?: {
2775
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2776
2775
  id: string;
2777
2776
  label: string;
2777
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2778
2778
  capture: "at_action" | "historical_lookup" | "fixture";
2779
2779
  locator?: string | undefined;
2780
2780
  }[] | undefined;
@@ -2789,9 +2789,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2789
2789
  supersedesDecisionIds: string[];
2790
2790
  proposedBy: string;
2791
2791
  evidence?: {
2792
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2793
2792
  id: string;
2794
2793
  label: string;
2794
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2795
2795
  capture: "at_action" | "historical_lookup" | "fixture";
2796
2796
  locator?: string | undefined;
2797
2797
  }[] | undefined;
@@ -2799,15 +2799,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2799
2799
  kind: "correction_approved";
2800
2800
  correctionId: string;
2801
2801
  approvedBy: {
2802
- kind: "agent" | "human";
2803
2802
  id: string;
2804
2803
  label: string;
2804
+ kind: "agent" | "human";
2805
2805
  };
2806
2806
  note?: string | undefined;
2807
2807
  evidence?: {
2808
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2809
2808
  id: string;
2810
2809
  label: string;
2810
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2811
2811
  capture: "at_action" | "historical_lookup" | "fixture";
2812
2812
  locator?: string | undefined;
2813
2813
  }[] | undefined;
@@ -2817,9 +2817,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2817
2817
  correctionId: string;
2818
2818
  replacementDecisionId: string;
2819
2819
  evidence?: {
2820
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2821
2820
  id: string;
2822
2821
  label: string;
2822
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2823
2823
  capture: "at_action" | "historical_lookup" | "fixture";
2824
2824
  locator?: string | undefined;
2825
2825
  }[] | undefined;
@@ -2832,9 +2832,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2832
2832
  recallReceiptId: string;
2833
2833
  capturedAtAction: boolean;
2834
2834
  evidence?: {
2835
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2836
2835
  id: string;
2837
2836
  label: string;
2837
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2838
2838
  capture: "at_action" | "historical_lookup" | "fixture";
2839
2839
  locator?: string | undefined;
2840
2840
  }[] | undefined;
@@ -2847,20 +2847,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2847
2847
  recallReceiptId: string;
2848
2848
  staleDecisionAbsent: boolean;
2849
2849
  evidence?: {
2850
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2851
2850
  id: string;
2852
2851
  label: string;
2852
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2853
2853
  capture: "at_action" | "historical_lookup" | "fixture";
2854
2854
  locator?: string | undefined;
2855
2855
  }[] | undefined;
2856
2856
  } | {
2857
- kind: "mission_completed";
2858
2857
  summary: string;
2858
+ kind: "mission_completed";
2859
2859
  outcome: "failed" | "recovered" | "inconclusive";
2860
2860
  evidence?: {
2861
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2862
2861
  id: string;
2863
2862
  label: string;
2863
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2864
2864
  capture: "at_action" | "historical_lookup" | "fixture";
2865
2865
  locator?: string | undefined;
2866
2866
  }[] | undefined;
@@ -2872,36 +2872,36 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2872
2872
  objective: string;
2873
2873
  runMode: "replay" | "fixture" | "live";
2874
2874
  evidence: {
2875
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2876
2875
  id: string;
2877
2876
  label: string;
2877
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2878
2878
  capture: "at_action" | "historical_lookup" | "fixture";
2879
2879
  locator?: string | undefined;
2880
2880
  }[];
2881
2881
  } | {
2882
+ label: string;
2882
2883
  kind: "agent_status";
2883
2884
  role: string;
2884
2885
  status: "failed" | "complete" | "working" | "blocked" | "idle";
2885
- label: string;
2886
2886
  agentId: string;
2887
2887
  sessionId: string;
2888
2888
  evidence: {
2889
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2890
2889
  id: string;
2891
2890
  label: string;
2891
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2892
2892
  capture: "at_action" | "historical_lookup" | "fixture";
2893
2893
  locator?: string | undefined;
2894
2894
  }[];
2895
2895
  detail?: string | undefined;
2896
2896
  } | {
2897
- kind: "agent_output";
2898
2897
  summary: string;
2898
+ kind: "agent_output";
2899
2899
  agentId: string;
2900
2900
  sessionId: string;
2901
2901
  evidence: {
2902
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2903
2902
  id: string;
2904
2903
  label: string;
2904
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2905
2905
  capture: "at_action" | "historical_lookup" | "fixture";
2906
2906
  locator?: string | undefined;
2907
2907
  }[];
@@ -2912,9 +2912,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2912
2912
  sessionId: string;
2913
2913
  statement: string;
2914
2914
  evidence: {
2915
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2916
2915
  id: string;
2917
2916
  label: string;
2917
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2918
2918
  capture: "at_action" | "historical_lookup" | "fixture";
2919
2919
  locator?: string | undefined;
2920
2920
  }[];
@@ -2922,12 +2922,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2922
2922
  decisionId: string;
2923
2923
  confidence?: number | undefined;
2924
2924
  } | {
2925
- kind: "conflict_detected";
2926
2925
  summary: string;
2926
+ kind: "conflict_detected";
2927
2927
  evidence: {
2928
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2929
2928
  id: string;
2930
2929
  label: string;
2930
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2931
2931
  capture: "at_action" | "historical_lookup" | "fixture";
2932
2932
  locator?: string | undefined;
2933
2933
  }[];
@@ -2935,14 +2935,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2935
2935
  decisionIds: string[];
2936
2936
  agentIds: string[];
2937
2937
  } | {
2938
- kind: "test_result";
2939
2938
  summary: string;
2939
+ kind: "test_result";
2940
2940
  command: string;
2941
2941
  status: "error" | "failed" | "passed";
2942
2942
  evidence: {
2943
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2944
2943
  id: string;
2945
2944
  label: string;
2945
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2946
2946
  capture: "at_action" | "historical_lookup" | "fixture";
2947
2947
  locator?: string | undefined;
2948
2948
  }[];
@@ -2955,9 +2955,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2955
2955
  rationale: string;
2956
2956
  statement: string;
2957
2957
  evidence: {
2958
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2959
2958
  id: string;
2960
2959
  label: string;
2960
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2961
2961
  capture: "at_action" | "historical_lookup" | "fixture";
2962
2962
  locator?: string | undefined;
2963
2963
  }[];
@@ -2969,25 +2969,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2969
2969
  } | {
2970
2970
  kind: "correction_approved";
2971
2971
  evidence: {
2972
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2973
2972
  id: string;
2974
2973
  label: string;
2974
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2975
2975
  capture: "at_action" | "historical_lookup" | "fixture";
2976
2976
  locator?: string | undefined;
2977
2977
  }[];
2978
2978
  correctionId: string;
2979
2979
  approvedBy: {
2980
- kind: "agent" | "human";
2981
2980
  id: string;
2982
2981
  label: string;
2982
+ kind: "agent" | "human";
2983
2983
  };
2984
2984
  note?: string | undefined;
2985
2985
  } | {
2986
2986
  kind: "decision_superseded";
2987
2987
  evidence: {
2988
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2989
2988
  id: string;
2990
2989
  label: string;
2990
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
2991
2991
  capture: "at_action" | "historical_lookup" | "fixture";
2992
2992
  locator?: string | undefined;
2993
2993
  }[];
@@ -3000,9 +3000,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3000
3000
  agentId: string;
3001
3001
  sessionId: string;
3002
3002
  evidence: {
3003
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3004
3003
  id: string;
3005
3004
  label: string;
3005
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3006
3006
  capture: "at_action" | "historical_lookup" | "fixture";
3007
3007
  locator?: string | undefined;
3008
3008
  }[];
@@ -3014,9 +3014,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3014
3014
  agentId: string;
3015
3015
  sessionId: string;
3016
3016
  evidence: {
3017
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3018
3017
  id: string;
3019
3018
  label: string;
3019
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3020
3020
  capture: "at_action" | "historical_lookup" | "fixture";
3021
3021
  locator?: string | undefined;
3022
3022
  }[];
@@ -3025,13 +3025,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3025
3025
  recallReceiptId: string;
3026
3026
  staleDecisionAbsent: boolean;
3027
3027
  } | {
3028
- kind: "mission_completed";
3029
3028
  summary: string;
3029
+ kind: "mission_completed";
3030
3030
  outcome: "failed" | "recovered" | "inconclusive";
3031
3031
  evidence: {
3032
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3033
3032
  id: string;
3034
3033
  label: string;
3034
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3035
3035
  capture: "at_action" | "historical_lookup" | "fixture";
3036
3036
  locator?: string | undefined;
3037
3037
  }[];
@@ -3045,37 +3045,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3045
3045
  objective: string;
3046
3046
  runMode: "replay" | "fixture" | "live";
3047
3047
  evidence?: {
3048
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3049
3048
  id: string;
3050
3049
  label: string;
3050
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3051
3051
  capture: "at_action" | "historical_lookup" | "fixture";
3052
3052
  locator?: string | undefined;
3053
3053
  }[] | undefined;
3054
3054
  } | {
3055
+ label: string;
3055
3056
  kind: "agent_status";
3056
3057
  role: string;
3057
3058
  status: "failed" | "complete" | "working" | "blocked" | "idle";
3058
- label: string;
3059
3059
  agentId: string;
3060
3060
  sessionId: string;
3061
3061
  detail?: string | undefined;
3062
3062
  evidence?: {
3063
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3064
3063
  id: string;
3065
3064
  label: string;
3065
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3066
3066
  capture: "at_action" | "historical_lookup" | "fixture";
3067
3067
  locator?: string | undefined;
3068
3068
  }[] | undefined;
3069
3069
  } | {
3070
- kind: "agent_output";
3071
3070
  summary: string;
3071
+ kind: "agent_output";
3072
3072
  agentId: string;
3073
3073
  sessionId: string;
3074
3074
  outputId: string;
3075
3075
  evidence?: {
3076
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3077
3076
  id: string;
3078
3077
  label: string;
3078
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3079
3079
  capture: "at_action" | "historical_lookup" | "fixture";
3080
3080
  locator?: string | undefined;
3081
3081
  }[] | undefined;
@@ -3088,37 +3088,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3088
3088
  decisionId: string;
3089
3089
  confidence?: number | undefined;
3090
3090
  evidence?: {
3091
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3092
3091
  id: string;
3093
3092
  label: string;
3093
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3094
3094
  capture: "at_action" | "historical_lookup" | "fixture";
3095
3095
  locator?: string | undefined;
3096
3096
  }[] | undefined;
3097
3097
  } | {
3098
- kind: "conflict_detected";
3099
3098
  summary: string;
3099
+ kind: "conflict_detected";
3100
3100
  conflictId: string;
3101
3101
  decisionIds: string[];
3102
3102
  agentIds: string[];
3103
3103
  evidence?: {
3104
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3105
3104
  id: string;
3106
3105
  label: string;
3106
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3107
3107
  capture: "at_action" | "historical_lookup" | "fixture";
3108
3108
  locator?: string | undefined;
3109
3109
  }[] | undefined;
3110
3110
  } | {
3111
- kind: "test_result";
3112
3111
  summary: string;
3112
+ kind: "test_result";
3113
3113
  command: string;
3114
3114
  status: "error" | "failed" | "passed";
3115
3115
  decisionId: string;
3116
3116
  testId: string;
3117
3117
  durationMs?: number | undefined;
3118
3118
  evidence?: {
3119
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3120
3119
  id: string;
3121
3120
  label: string;
3121
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3122
3122
  capture: "at_action" | "historical_lookup" | "fixture";
3123
3123
  locator?: string | undefined;
3124
3124
  }[] | undefined;
@@ -3133,9 +3133,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3133
3133
  supersedesDecisionIds: string[];
3134
3134
  proposedBy: string;
3135
3135
  evidence?: {
3136
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3137
3136
  id: string;
3138
3137
  label: string;
3138
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3139
3139
  capture: "at_action" | "historical_lookup" | "fixture";
3140
3140
  locator?: string | undefined;
3141
3141
  }[] | undefined;
@@ -3143,15 +3143,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3143
3143
  kind: "correction_approved";
3144
3144
  correctionId: string;
3145
3145
  approvedBy: {
3146
- kind: "agent" | "human";
3147
3146
  id: string;
3148
3147
  label: string;
3148
+ kind: "agent" | "human";
3149
3149
  };
3150
3150
  note?: string | undefined;
3151
3151
  evidence?: {
3152
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3153
3152
  id: string;
3154
3153
  label: string;
3154
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3155
3155
  capture: "at_action" | "historical_lookup" | "fixture";
3156
3156
  locator?: string | undefined;
3157
3157
  }[] | undefined;
@@ -3161,9 +3161,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3161
3161
  correctionId: string;
3162
3162
  replacementDecisionId: string;
3163
3163
  evidence?: {
3164
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3165
3164
  id: string;
3166
3165
  label: string;
3166
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3167
3167
  capture: "at_action" | "historical_lookup" | "fixture";
3168
3168
  locator?: string | undefined;
3169
3169
  }[] | undefined;
@@ -3176,9 +3176,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3176
3176
  recallReceiptId: string;
3177
3177
  capturedAtAction: boolean;
3178
3178
  evidence?: {
3179
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3180
3179
  id: string;
3181
3180
  label: string;
3181
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3182
3182
  capture: "at_action" | "historical_lookup" | "fixture";
3183
3183
  locator?: string | undefined;
3184
3184
  }[] | undefined;
@@ -3191,20 +3191,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3191
3191
  recallReceiptId: string;
3192
3192
  staleDecisionAbsent: boolean;
3193
3193
  evidence?: {
3194
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3195
3194
  id: string;
3196
3195
  label: string;
3196
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3197
3197
  capture: "at_action" | "historical_lookup" | "fixture";
3198
3198
  locator?: string | undefined;
3199
3199
  }[] | undefined;
3200
3200
  } | {
3201
- kind: "mission_completed";
3202
3201
  summary: string;
3202
+ kind: "mission_completed";
3203
3203
  outcome: "failed" | "recovered" | "inconclusive";
3204
3204
  evidence?: {
3205
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3206
3205
  id: string;
3207
3206
  label: string;
3207
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3208
3208
  capture: "at_action" | "historical_lookup" | "fixture";
3209
3209
  locator?: string | undefined;
3210
3210
  }[] | undefined;
@@ -3234,15 +3234,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3234
3234
  locator: z.ZodOptional<z.ZodString>;
3235
3235
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3236
3236
  }, "strict", z.ZodTypeAny, {
3237
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3238
3237
  id: string;
3239
3238
  label: string;
3239
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3240
3240
  capture: "at_action" | "historical_lookup" | "fixture";
3241
3241
  locator?: string | undefined;
3242
3242
  }, {
3243
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3244
3243
  id: string;
3245
3244
  label: string;
3245
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3246
3246
  capture: "at_action" | "historical_lookup" | "fixture";
3247
3247
  locator?: string | undefined;
3248
3248
  }>, "many">>;
@@ -3252,9 +3252,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3252
3252
  objective: string;
3253
3253
  runMode: "replay" | "fixture" | "live";
3254
3254
  evidence: {
3255
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3256
3255
  id: string;
3257
3256
  label: string;
3257
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3258
3258
  capture: "at_action" | "historical_lookup" | "fixture";
3259
3259
  locator?: string | undefined;
3260
3260
  }[];
@@ -3264,9 +3264,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3264
3264
  objective: string;
3265
3265
  runMode: "replay" | "fixture" | "live";
3266
3266
  evidence?: {
3267
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3268
3267
  id: string;
3269
3268
  label: string;
3269
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3270
3270
  capture: "at_action" | "historical_lookup" | "fixture";
3271
3271
  locator?: string | undefined;
3272
3272
  }[] | undefined;
@@ -3282,15 +3282,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3282
3282
  locator: z.ZodOptional<z.ZodString>;
3283
3283
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3284
3284
  }, "strict", z.ZodTypeAny, {
3285
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3286
3285
  id: string;
3287
3286
  label: string;
3287
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3288
3288
  capture: "at_action" | "historical_lookup" | "fixture";
3289
3289
  locator?: string | undefined;
3290
3290
  }, {
3291
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3292
3291
  id: string;
3293
3292
  label: string;
3293
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3294
3294
  capture: "at_action" | "historical_lookup" | "fixture";
3295
3295
  locator?: string | undefined;
3296
3296
  }>, "many">>;
@@ -3298,32 +3298,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3298
3298
  sessionId: z.ZodString;
3299
3299
  kind: z.ZodLiteral<"agent_status">;
3300
3300
  }, "strict", z.ZodTypeAny, {
3301
+ label: string;
3301
3302
  kind: "agent_status";
3302
3303
  role: string;
3303
3304
  status: "failed" | "complete" | "working" | "blocked" | "idle";
3304
- label: string;
3305
3305
  agentId: string;
3306
3306
  sessionId: string;
3307
3307
  evidence: {
3308
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3309
3308
  id: string;
3310
3309
  label: string;
3310
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3311
3311
  capture: "at_action" | "historical_lookup" | "fixture";
3312
3312
  locator?: string | undefined;
3313
3313
  }[];
3314
3314
  detail?: string | undefined;
3315
3315
  }, {
3316
+ label: string;
3316
3317
  kind: "agent_status";
3317
3318
  role: string;
3318
3319
  status: "failed" | "complete" | "working" | "blocked" | "idle";
3319
- label: string;
3320
3320
  agentId: string;
3321
3321
  sessionId: string;
3322
3322
  detail?: string | undefined;
3323
3323
  evidence?: {
3324
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3325
3324
  id: string;
3326
3325
  label: string;
3326
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3327
3327
  capture: "at_action" | "historical_lookup" | "fixture";
3328
3328
  locator?: string | undefined;
3329
3329
  }[] | undefined;
@@ -3337,15 +3337,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3337
3337
  locator: z.ZodOptional<z.ZodString>;
3338
3338
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3339
3339
  }, "strict", z.ZodTypeAny, {
3340
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3341
3340
  id: string;
3342
3341
  label: string;
3342
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3343
3343
  capture: "at_action" | "historical_lookup" | "fixture";
3344
3344
  locator?: string | undefined;
3345
3345
  }, {
3346
- kind: "correction" | "source" | "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
  }>, "many">>;
@@ -3353,28 +3353,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3353
3353
  sessionId: z.ZodString;
3354
3354
  kind: z.ZodLiteral<"agent_output">;
3355
3355
  }, "strict", z.ZodTypeAny, {
3356
- kind: "agent_output";
3357
3356
  summary: string;
3357
+ kind: "agent_output";
3358
3358
  agentId: string;
3359
3359
  sessionId: string;
3360
3360
  evidence: {
3361
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3362
3361
  id: string;
3363
3362
  label: string;
3363
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3364
3364
  capture: "at_action" | "historical_lookup" | "fixture";
3365
3365
  locator?: string | undefined;
3366
3366
  }[];
3367
3367
  outputId: string;
3368
3368
  }, {
3369
- kind: "agent_output";
3370
3369
  summary: string;
3370
+ kind: "agent_output";
3371
3371
  agentId: string;
3372
3372
  sessionId: string;
3373
3373
  outputId: string;
3374
3374
  evidence?: {
3375
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3376
3375
  id: string;
3377
3376
  label: string;
3377
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3378
3378
  capture: "at_action" | "historical_lookup" | "fixture";
3379
3379
  locator?: string | undefined;
3380
3380
  }[] | undefined;
@@ -3390,15 +3390,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3390
3390
  locator: z.ZodOptional<z.ZodString>;
3391
3391
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3392
3392
  }, "strict", z.ZodTypeAny, {
3393
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3394
3393
  id: string;
3395
3394
  label: string;
3395
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3396
3396
  capture: "at_action" | "historical_lookup" | "fixture";
3397
3397
  locator?: string | undefined;
3398
3398
  }, {
3399
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3400
3399
  id: string;
3401
3400
  label: string;
3401
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3402
3402
  capture: "at_action" | "historical_lookup" | "fixture";
3403
3403
  locator?: string | undefined;
3404
3404
  }>, "many">>;
@@ -3411,9 +3411,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3411
3411
  sessionId: string;
3412
3412
  statement: string;
3413
3413
  evidence: {
3414
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3415
3414
  id: string;
3416
3415
  label: string;
3416
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3417
3417
  capture: "at_action" | "historical_lookup" | "fixture";
3418
3418
  locator?: string | undefined;
3419
3419
  }[];
@@ -3429,9 +3429,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3429
3429
  decisionId: string;
3430
3430
  confidence?: number | undefined;
3431
3431
  evidence?: {
3432
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3433
3432
  id: string;
3434
3433
  label: string;
3434
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3435
3435
  capture: "at_action" | "historical_lookup" | "fixture";
3436
3436
  locator?: string | undefined;
3437
3437
  }[] | undefined;
@@ -3448,25 +3448,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3448
3448
  locator: z.ZodOptional<z.ZodString>;
3449
3449
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3450
3450
  }, "strict", z.ZodTypeAny, {
3451
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3452
3451
  id: string;
3453
3452
  label: string;
3453
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3454
3454
  capture: "at_action" | "historical_lookup" | "fixture";
3455
3455
  locator?: string | undefined;
3456
3456
  }, {
3457
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3458
3457
  id: string;
3459
3458
  label: string;
3459
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3460
3460
  capture: "at_action" | "historical_lookup" | "fixture";
3461
3461
  locator?: string | undefined;
3462
3462
  }>, "many">>;
3463
3463
  }, "strict", z.ZodTypeAny, {
3464
- kind: "conflict_detected";
3465
3464
  summary: string;
3465
+ kind: "conflict_detected";
3466
3466
  evidence: {
3467
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3468
3467
  id: string;
3469
3468
  label: string;
3469
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3470
3470
  capture: "at_action" | "historical_lookup" | "fixture";
3471
3471
  locator?: string | undefined;
3472
3472
  }[];
@@ -3474,15 +3474,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3474
3474
  decisionIds: string[];
3475
3475
  agentIds: string[];
3476
3476
  }, {
3477
- kind: "conflict_detected";
3478
3477
  summary: string;
3478
+ kind: "conflict_detected";
3479
3479
  conflictId: string;
3480
3480
  decisionIds: string[];
3481
3481
  agentIds: string[];
3482
3482
  evidence?: {
3483
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3484
3483
  id: string;
3485
3484
  label: string;
3485
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3486
3486
  capture: "at_action" | "historical_lookup" | "fixture";
3487
3487
  locator?: string | undefined;
3488
3488
  }[] | undefined;
@@ -3502,27 +3502,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3502
3502
  locator: z.ZodOptional<z.ZodString>;
3503
3503
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3504
3504
  }, "strict", z.ZodTypeAny, {
3505
- kind: "correction" | "source" | "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
  }, {
3511
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3512
3511
  id: string;
3513
3512
  label: string;
3513
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3514
3514
  capture: "at_action" | "historical_lookup" | "fixture";
3515
3515
  locator?: string | undefined;
3516
3516
  }>, "many">>;
3517
3517
  }, "strict", z.ZodTypeAny, {
3518
- kind: "test_result";
3519
3518
  summary: string;
3519
+ kind: "test_result";
3520
3520
  command: string;
3521
3521
  status: "error" | "failed" | "passed";
3522
3522
  evidence: {
3523
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3524
3523
  id: string;
3525
3524
  label: string;
3525
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3526
3526
  capture: "at_action" | "historical_lookup" | "fixture";
3527
3527
  locator?: string | undefined;
3528
3528
  }[];
@@ -3531,17 +3531,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3531
3531
  durationMs?: number | undefined;
3532
3532
  correctionId?: string | undefined;
3533
3533
  }, {
3534
- kind: "test_result";
3535
3534
  summary: string;
3535
+ kind: "test_result";
3536
3536
  command: string;
3537
3537
  status: "error" | "failed" | "passed";
3538
3538
  decisionId: string;
3539
3539
  testId: string;
3540
3540
  durationMs?: number | undefined;
3541
3541
  evidence?: {
3542
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3543
3542
  id: string;
3544
3543
  label: string;
3544
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3545
3545
  capture: "at_action" | "historical_lookup" | "fixture";
3546
3546
  locator?: string | undefined;
3547
3547
  }[] | undefined;
@@ -3562,15 +3562,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3562
3562
  locator: z.ZodOptional<z.ZodString>;
3563
3563
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3564
3564
  }, "strict", z.ZodTypeAny, {
3565
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3566
3565
  id: string;
3567
3566
  label: string;
3567
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3568
3568
  capture: "at_action" | "historical_lookup" | "fixture";
3569
3569
  locator?: string | undefined;
3570
3570
  }, {
3571
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3572
3571
  id: string;
3573
3572
  label: string;
3573
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3574
3574
  capture: "at_action" | "historical_lookup" | "fixture";
3575
3575
  locator?: string | undefined;
3576
3576
  }>, "many">>;
@@ -3579,9 +3579,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3579
3579
  rationale: string;
3580
3580
  statement: string;
3581
3581
  evidence: {
3582
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3583
3582
  id: string;
3584
3583
  label: string;
3584
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3585
3585
  capture: "at_action" | "historical_lookup" | "fixture";
3586
3586
  locator?: string | undefined;
3587
3587
  }[];
@@ -3600,9 +3600,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3600
3600
  supersedesDecisionIds: string[];
3601
3601
  proposedBy: string;
3602
3602
  evidence?: {
3603
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3604
3603
  id: string;
3605
3604
  label: string;
3605
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3606
3606
  capture: "at_action" | "historical_lookup" | "fixture";
3607
3607
  locator?: string | undefined;
3608
3608
  }[] | undefined;
@@ -3614,13 +3614,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3614
3614
  id: z.ZodString;
3615
3615
  label: z.ZodString;
3616
3616
  }, "strict", z.ZodTypeAny, {
3617
- kind: "agent" | "human";
3618
3617
  id: string;
3619
3618
  label: string;
3620
- }, {
3621
3619
  kind: "agent" | "human";
3620
+ }, {
3622
3621
  id: string;
3623
3622
  label: string;
3623
+ kind: "agent" | "human";
3624
3624
  }>;
3625
3625
  note: z.ZodOptional<z.ZodString>;
3626
3626
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3630,47 +3630,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3630
3630
  locator: z.ZodOptional<z.ZodString>;
3631
3631
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3632
3632
  }, "strict", z.ZodTypeAny, {
3633
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3634
3633
  id: string;
3635
3634
  label: string;
3635
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3636
3636
  capture: "at_action" | "historical_lookup" | "fixture";
3637
3637
  locator?: string | undefined;
3638
3638
  }, {
3639
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3640
3639
  id: string;
3641
3640
  label: string;
3641
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3642
3642
  capture: "at_action" | "historical_lookup" | "fixture";
3643
3643
  locator?: string | undefined;
3644
3644
  }>, "many">>;
3645
3645
  }, "strict", z.ZodTypeAny, {
3646
3646
  kind: "correction_approved";
3647
3647
  evidence: {
3648
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3649
3648
  id: string;
3650
3649
  label: string;
3650
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3651
3651
  capture: "at_action" | "historical_lookup" | "fixture";
3652
3652
  locator?: string | undefined;
3653
3653
  }[];
3654
3654
  correctionId: string;
3655
3655
  approvedBy: {
3656
- kind: "agent" | "human";
3657
3656
  id: string;
3658
3657
  label: string;
3658
+ kind: "agent" | "human";
3659
3659
  };
3660
3660
  note?: string | undefined;
3661
3661
  }, {
3662
3662
  kind: "correction_approved";
3663
3663
  correctionId: string;
3664
3664
  approvedBy: {
3665
- kind: "agent" | "human";
3666
3665
  id: string;
3667
3666
  label: string;
3667
+ kind: "agent" | "human";
3668
3668
  };
3669
3669
  note?: string | undefined;
3670
3670
  evidence?: {
3671
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3672
3671
  id: string;
3673
3672
  label: string;
3673
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3674
3674
  capture: "at_action" | "historical_lookup" | "fixture";
3675
3675
  locator?: string | undefined;
3676
3676
  }[] | undefined;
@@ -3686,24 +3686,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3686
3686
  locator: z.ZodOptional<z.ZodString>;
3687
3687
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3688
3688
  }, "strict", z.ZodTypeAny, {
3689
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3690
3689
  id: string;
3691
3690
  label: string;
3691
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3692
3692
  capture: "at_action" | "historical_lookup" | "fixture";
3693
3693
  locator?: string | undefined;
3694
3694
  }, {
3695
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3696
3695
  id: string;
3697
3696
  label: string;
3697
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3698
3698
  capture: "at_action" | "historical_lookup" | "fixture";
3699
3699
  locator?: string | undefined;
3700
3700
  }>, "many">>;
3701
3701
  }, "strict", z.ZodTypeAny, {
3702
3702
  kind: "decision_superseded";
3703
3703
  evidence: {
3704
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3705
3704
  id: string;
3706
3705
  label: string;
3706
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3707
3707
  capture: "at_action" | "historical_lookup" | "fixture";
3708
3708
  locator?: string | undefined;
3709
3709
  }[];
@@ -3716,9 +3716,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3716
3716
  correctionId: string;
3717
3717
  replacementDecisionId: string;
3718
3718
  evidence?: {
3719
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3720
3719
  id: string;
3721
3720
  label: string;
3721
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3722
3722
  capture: "at_action" | "historical_lookup" | "fixture";
3723
3723
  locator?: string | undefined;
3724
3724
  }[] | undefined;
@@ -3734,15 +3734,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3734
3734
  locator: z.ZodOptional<z.ZodString>;
3735
3735
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3736
3736
  }, "strict", z.ZodTypeAny, {
3737
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3738
3737
  id: string;
3739
3738
  label: string;
3739
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3740
3740
  capture: "at_action" | "historical_lookup" | "fixture";
3741
3741
  locator?: string | undefined;
3742
3742
  }, {
3743
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3744
3743
  id: string;
3745
3744
  label: string;
3745
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3746
3746
  capture: "at_action" | "historical_lookup" | "fixture";
3747
3747
  locator?: string | undefined;
3748
3748
  }>, "many">>;
@@ -3755,9 +3755,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3755
3755
  agentId: string;
3756
3756
  sessionId: string;
3757
3757
  evidence: {
3758
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3759
3758
  id: string;
3760
3759
  label: string;
3760
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3761
3761
  capture: "at_action" | "historical_lookup" | "fixture";
3762
3762
  locator?: string | undefined;
3763
3763
  }[];
@@ -3773,9 +3773,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3773
3773
  recallReceiptId: string;
3774
3774
  capturedAtAction: boolean;
3775
3775
  evidence?: {
3776
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3777
3776
  id: string;
3778
3777
  label: string;
3778
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3779
3779
  capture: "at_action" | "historical_lookup" | "fixture";
3780
3780
  locator?: string | undefined;
3781
3781
  }[] | undefined;
@@ -3791,15 +3791,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3791
3791
  locator: z.ZodOptional<z.ZodString>;
3792
3792
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3793
3793
  }, "strict", z.ZodTypeAny, {
3794
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3795
3794
  id: string;
3796
3795
  label: string;
3796
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3797
3797
  capture: "at_action" | "historical_lookup" | "fixture";
3798
3798
  locator?: string | undefined;
3799
3799
  }, {
3800
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3801
3800
  id: string;
3802
3801
  label: string;
3802
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3803
3803
  capture: "at_action" | "historical_lookup" | "fixture";
3804
3804
  locator?: string | undefined;
3805
3805
  }>, "many">>;
@@ -3811,9 +3811,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3811
3811
  agentId: string;
3812
3812
  sessionId: string;
3813
3813
  evidence: {
3814
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3815
3814
  id: string;
3816
3815
  label: string;
3816
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3817
3817
  capture: "at_action" | "historical_lookup" | "fixture";
3818
3818
  locator?: string | undefined;
3819
3819
  }[];
@@ -3830,9 +3830,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3830
3830
  recallReceiptId: string;
3831
3831
  staleDecisionAbsent: boolean;
3832
3832
  evidence?: {
3833
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3834
3833
  id: string;
3835
3834
  label: string;
3835
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3836
3836
  capture: "at_action" | "historical_lookup" | "fixture";
3837
3837
  locator?: string | undefined;
3838
3838
  }[] | undefined;
@@ -3847,37 +3847,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3847
3847
  locator: z.ZodOptional<z.ZodString>;
3848
3848
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3849
3849
  }, "strict", z.ZodTypeAny, {
3850
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3851
3850
  id: string;
3852
3851
  label: string;
3852
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3853
3853
  capture: "at_action" | "historical_lookup" | "fixture";
3854
3854
  locator?: string | undefined;
3855
3855
  }, {
3856
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3857
3856
  id: string;
3858
3857
  label: string;
3858
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3859
3859
  capture: "at_action" | "historical_lookup" | "fixture";
3860
3860
  locator?: string | undefined;
3861
3861
  }>, "many">>;
3862
3862
  }, "strict", z.ZodTypeAny, {
3863
- kind: "mission_completed";
3864
3863
  summary: string;
3864
+ kind: "mission_completed";
3865
3865
  outcome: "failed" | "recovered" | "inconclusive";
3866
3866
  evidence: {
3867
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3868
3867
  id: string;
3869
3868
  label: string;
3869
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3870
3870
  capture: "at_action" | "historical_lookup" | "fixture";
3871
3871
  locator?: string | undefined;
3872
3872
  }[];
3873
3873
  }, {
3874
- kind: "mission_completed";
3875
3874
  summary: string;
3875
+ kind: "mission_completed";
3876
3876
  outcome: "failed" | "recovered" | "inconclusive";
3877
3877
  evidence?: {
3878
- kind: "correction" | "source" | "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
  }[] | undefined;
@@ -3887,36 +3887,36 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3887
3887
  objective: string;
3888
3888
  runMode: "replay" | "fixture" | "live";
3889
3889
  evidence: {
3890
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3891
3890
  id: string;
3892
3891
  label: string;
3892
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3893
3893
  capture: "at_action" | "historical_lookup" | "fixture";
3894
3894
  locator?: string | undefined;
3895
3895
  }[];
3896
3896
  } | {
3897
+ label: string;
3897
3898
  kind: "agent_status";
3898
3899
  role: string;
3899
3900
  status: "failed" | "complete" | "working" | "blocked" | "idle";
3900
- label: string;
3901
3901
  agentId: string;
3902
3902
  sessionId: string;
3903
3903
  evidence: {
3904
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3905
3904
  id: string;
3906
3905
  label: string;
3906
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3907
3907
  capture: "at_action" | "historical_lookup" | "fixture";
3908
3908
  locator?: string | undefined;
3909
3909
  }[];
3910
3910
  detail?: string | undefined;
3911
3911
  } | {
3912
- kind: "agent_output";
3913
3912
  summary: string;
3913
+ kind: "agent_output";
3914
3914
  agentId: string;
3915
3915
  sessionId: string;
3916
3916
  evidence: {
3917
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3918
3917
  id: string;
3919
3918
  label: string;
3919
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3920
3920
  capture: "at_action" | "historical_lookup" | "fixture";
3921
3921
  locator?: string | undefined;
3922
3922
  }[];
@@ -3927,9 +3927,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3927
3927
  sessionId: string;
3928
3928
  statement: string;
3929
3929
  evidence: {
3930
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3931
3930
  id: string;
3932
3931
  label: string;
3932
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3933
3933
  capture: "at_action" | "historical_lookup" | "fixture";
3934
3934
  locator?: string | undefined;
3935
3935
  }[];
@@ -3937,12 +3937,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3937
3937
  decisionId: string;
3938
3938
  confidence?: number | undefined;
3939
3939
  } | {
3940
- kind: "conflict_detected";
3941
3940
  summary: string;
3941
+ kind: "conflict_detected";
3942
3942
  evidence: {
3943
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3944
3943
  id: string;
3945
3944
  label: string;
3945
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3946
3946
  capture: "at_action" | "historical_lookup" | "fixture";
3947
3947
  locator?: string | undefined;
3948
3948
  }[];
@@ -3950,14 +3950,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3950
3950
  decisionIds: string[];
3951
3951
  agentIds: string[];
3952
3952
  } | {
3953
- kind: "test_result";
3954
3953
  summary: string;
3954
+ kind: "test_result";
3955
3955
  command: string;
3956
3956
  status: "error" | "failed" | "passed";
3957
3957
  evidence: {
3958
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3959
3958
  id: string;
3960
3959
  label: string;
3960
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3961
3961
  capture: "at_action" | "historical_lookup" | "fixture";
3962
3962
  locator?: string | undefined;
3963
3963
  }[];
@@ -3970,9 +3970,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3970
3970
  rationale: string;
3971
3971
  statement: string;
3972
3972
  evidence: {
3973
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3974
3973
  id: string;
3975
3974
  label: string;
3975
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3976
3976
  capture: "at_action" | "historical_lookup" | "fixture";
3977
3977
  locator?: string | undefined;
3978
3978
  }[];
@@ -3984,25 +3984,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3984
3984
  } | {
3985
3985
  kind: "correction_approved";
3986
3986
  evidence: {
3987
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3988
3987
  id: string;
3989
3988
  label: string;
3989
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
3990
3990
  capture: "at_action" | "historical_lookup" | "fixture";
3991
3991
  locator?: string | undefined;
3992
3992
  }[];
3993
3993
  correctionId: string;
3994
3994
  approvedBy: {
3995
- kind: "agent" | "human";
3996
3995
  id: string;
3997
3996
  label: string;
3997
+ kind: "agent" | "human";
3998
3998
  };
3999
3999
  note?: string | undefined;
4000
4000
  } | {
4001
4001
  kind: "decision_superseded";
4002
4002
  evidence: {
4003
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4004
4003
  id: string;
4005
4004
  label: string;
4005
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4006
4006
  capture: "at_action" | "historical_lookup" | "fixture";
4007
4007
  locator?: string | undefined;
4008
4008
  }[];
@@ -4015,9 +4015,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4015
4015
  agentId: string;
4016
4016
  sessionId: string;
4017
4017
  evidence: {
4018
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4019
4018
  id: string;
4020
4019
  label: string;
4020
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4021
4021
  capture: "at_action" | "historical_lookup" | "fixture";
4022
4022
  locator?: string | undefined;
4023
4023
  }[];
@@ -4029,9 +4029,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4029
4029
  agentId: string;
4030
4030
  sessionId: string;
4031
4031
  evidence: {
4032
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4033
4032
  id: string;
4034
4033
  label: string;
4034
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4035
4035
  capture: "at_action" | "historical_lookup" | "fixture";
4036
4036
  locator?: string | undefined;
4037
4037
  }[];
@@ -4040,13 +4040,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4040
4040
  recallReceiptId: string;
4041
4041
  staleDecisionAbsent: boolean;
4042
4042
  } | {
4043
- kind: "mission_completed";
4044
4043
  summary: string;
4044
+ kind: "mission_completed";
4045
4045
  outcome: "failed" | "recovered" | "inconclusive";
4046
4046
  evidence: {
4047
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4048
4047
  id: string;
4049
4048
  label: string;
4049
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4050
4050
  capture: "at_action" | "historical_lookup" | "fixture";
4051
4051
  locator?: string | undefined;
4052
4052
  }[];
@@ -4056,37 +4056,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4056
4056
  objective: string;
4057
4057
  runMode: "replay" | "fixture" | "live";
4058
4058
  evidence?: {
4059
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4060
4059
  id: string;
4061
4060
  label: string;
4061
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4062
4062
  capture: "at_action" | "historical_lookup" | "fixture";
4063
4063
  locator?: string | undefined;
4064
4064
  }[] | undefined;
4065
4065
  } | {
4066
+ label: string;
4066
4067
  kind: "agent_status";
4067
4068
  role: string;
4068
4069
  status: "failed" | "complete" | "working" | "blocked" | "idle";
4069
- label: string;
4070
4070
  agentId: string;
4071
4071
  sessionId: string;
4072
4072
  detail?: string | undefined;
4073
4073
  evidence?: {
4074
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4075
4074
  id: string;
4076
4075
  label: string;
4076
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4077
4077
  capture: "at_action" | "historical_lookup" | "fixture";
4078
4078
  locator?: string | undefined;
4079
4079
  }[] | undefined;
4080
4080
  } | {
4081
- kind: "agent_output";
4082
4081
  summary: string;
4082
+ kind: "agent_output";
4083
4083
  agentId: string;
4084
4084
  sessionId: string;
4085
4085
  outputId: string;
4086
4086
  evidence?: {
4087
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4088
4087
  id: string;
4089
4088
  label: string;
4089
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4090
4090
  capture: "at_action" | "historical_lookup" | "fixture";
4091
4091
  locator?: string | undefined;
4092
4092
  }[] | undefined;
@@ -4099,37 +4099,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4099
4099
  decisionId: string;
4100
4100
  confidence?: number | undefined;
4101
4101
  evidence?: {
4102
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4103
4102
  id: string;
4104
4103
  label: string;
4104
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4105
4105
  capture: "at_action" | "historical_lookup" | "fixture";
4106
4106
  locator?: string | undefined;
4107
4107
  }[] | undefined;
4108
4108
  } | {
4109
- kind: "conflict_detected";
4110
4109
  summary: string;
4110
+ kind: "conflict_detected";
4111
4111
  conflictId: string;
4112
4112
  decisionIds: string[];
4113
4113
  agentIds: string[];
4114
4114
  evidence?: {
4115
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4116
4115
  id: string;
4117
4116
  label: string;
4117
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4118
4118
  capture: "at_action" | "historical_lookup" | "fixture";
4119
4119
  locator?: string | undefined;
4120
4120
  }[] | undefined;
4121
4121
  } | {
4122
- kind: "test_result";
4123
4122
  summary: string;
4123
+ kind: "test_result";
4124
4124
  command: string;
4125
4125
  status: "error" | "failed" | "passed";
4126
4126
  decisionId: string;
4127
4127
  testId: string;
4128
4128
  durationMs?: number | undefined;
4129
4129
  evidence?: {
4130
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4131
4130
  id: string;
4132
4131
  label: string;
4132
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4133
4133
  capture: "at_action" | "historical_lookup" | "fixture";
4134
4134
  locator?: string | undefined;
4135
4135
  }[] | undefined;
@@ -4144,9 +4144,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4144
4144
  supersedesDecisionIds: string[];
4145
4145
  proposedBy: string;
4146
4146
  evidence?: {
4147
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4148
4147
  id: string;
4149
4148
  label: string;
4149
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4150
4150
  capture: "at_action" | "historical_lookup" | "fixture";
4151
4151
  locator?: string | undefined;
4152
4152
  }[] | undefined;
@@ -4154,15 +4154,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4154
4154
  kind: "correction_approved";
4155
4155
  correctionId: string;
4156
4156
  approvedBy: {
4157
- kind: "agent" | "human";
4158
4157
  id: string;
4159
4158
  label: string;
4159
+ kind: "agent" | "human";
4160
4160
  };
4161
4161
  note?: string | undefined;
4162
4162
  evidence?: {
4163
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4164
4163
  id: string;
4165
4164
  label: string;
4165
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4166
4166
  capture: "at_action" | "historical_lookup" | "fixture";
4167
4167
  locator?: string | undefined;
4168
4168
  }[] | undefined;
@@ -4172,9 +4172,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4172
4172
  correctionId: string;
4173
4173
  replacementDecisionId: string;
4174
4174
  evidence?: {
4175
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4176
4175
  id: string;
4177
4176
  label: string;
4177
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4178
4178
  capture: "at_action" | "historical_lookup" | "fixture";
4179
4179
  locator?: string | undefined;
4180
4180
  }[] | undefined;
@@ -4187,9 +4187,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4187
4187
  recallReceiptId: string;
4188
4188
  capturedAtAction: boolean;
4189
4189
  evidence?: {
4190
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4191
4190
  id: string;
4192
4191
  label: string;
4192
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4193
4193
  capture: "at_action" | "historical_lookup" | "fixture";
4194
4194
  locator?: string | undefined;
4195
4195
  }[] | undefined;
@@ -4202,63 +4202,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4202
4202
  recallReceiptId: string;
4203
4203
  staleDecisionAbsent: boolean;
4204
4204
  evidence?: {
4205
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4206
4205
  id: string;
4207
4206
  label: string;
4207
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4208
4208
  capture: "at_action" | "historical_lookup" | "fixture";
4209
4209
  locator?: string | undefined;
4210
4210
  }[] | undefined;
4211
4211
  } | {
4212
- kind: "mission_completed";
4213
4212
  summary: string;
4213
+ kind: "mission_completed";
4214
4214
  outcome: "failed" | "recovered" | "inconclusive";
4215
4215
  evidence?: {
4216
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4217
4216
  id: string;
4218
4217
  label: string;
4218
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4219
4219
  capture: "at_action" | "historical_lookup" | "fixture";
4220
4220
  locator?: string | undefined;
4221
4221
  }[] | undefined;
4222
4222
  }>;
4223
4223
  }, "strict", z.ZodTypeAny, {
4224
- schemaVersion: "1";
4224
+ namespace: string;
4225
4225
  recordedAt: string;
4226
+ schemaVersion: "1";
4226
4227
  payload: {
4227
4228
  kind: "mission_started";
4228
4229
  title: string;
4229
4230
  objective: string;
4230
4231
  runMode: "replay" | "fixture" | "live";
4231
4232
  evidence: {
4232
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4233
4233
  id: string;
4234
4234
  label: string;
4235
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4235
4236
  capture: "at_action" | "historical_lookup" | "fixture";
4236
4237
  locator?: string | undefined;
4237
4238
  }[];
4238
4239
  } | {
4240
+ label: string;
4239
4241
  kind: "agent_status";
4240
4242
  role: string;
4241
4243
  status: "failed" | "complete" | "working" | "blocked" | "idle";
4242
- label: string;
4243
4244
  agentId: string;
4244
4245
  sessionId: string;
4245
4246
  evidence: {
4246
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4247
4247
  id: string;
4248
4248
  label: string;
4249
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4249
4250
  capture: "at_action" | "historical_lookup" | "fixture";
4250
4251
  locator?: string | undefined;
4251
4252
  }[];
4252
4253
  detail?: string | undefined;
4253
4254
  } | {
4254
- kind: "agent_output";
4255
4255
  summary: string;
4256
+ kind: "agent_output";
4256
4257
  agentId: string;
4257
4258
  sessionId: string;
4258
4259
  evidence: {
4259
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4260
4260
  id: string;
4261
4261
  label: string;
4262
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4262
4263
  capture: "at_action" | "historical_lookup" | "fixture";
4263
4264
  locator?: string | undefined;
4264
4265
  }[];
@@ -4269,9 +4270,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4269
4270
  sessionId: string;
4270
4271
  statement: string;
4271
4272
  evidence: {
4272
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4273
4273
  id: string;
4274
4274
  label: string;
4275
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4275
4276
  capture: "at_action" | "historical_lookup" | "fixture";
4276
4277
  locator?: string | undefined;
4277
4278
  }[];
@@ -4279,12 +4280,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4279
4280
  decisionId: string;
4280
4281
  confidence?: number | undefined;
4281
4282
  } | {
4282
- kind: "conflict_detected";
4283
4283
  summary: string;
4284
+ kind: "conflict_detected";
4284
4285
  evidence: {
4285
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4286
4286
  id: string;
4287
4287
  label: string;
4288
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4288
4289
  capture: "at_action" | "historical_lookup" | "fixture";
4289
4290
  locator?: string | undefined;
4290
4291
  }[];
@@ -4292,14 +4293,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4292
4293
  decisionIds: string[];
4293
4294
  agentIds: string[];
4294
4295
  } | {
4295
- kind: "test_result";
4296
4296
  summary: string;
4297
+ kind: "test_result";
4297
4298
  command: string;
4298
4299
  status: "error" | "failed" | "passed";
4299
4300
  evidence: {
4300
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4301
4301
  id: string;
4302
4302
  label: string;
4303
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4303
4304
  capture: "at_action" | "historical_lookup" | "fixture";
4304
4305
  locator?: string | undefined;
4305
4306
  }[];
@@ -4312,9 +4313,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4312
4313
  rationale: string;
4313
4314
  statement: string;
4314
4315
  evidence: {
4315
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4316
4316
  id: string;
4317
4317
  label: string;
4318
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4318
4319
  capture: "at_action" | "historical_lookup" | "fixture";
4319
4320
  locator?: string | undefined;
4320
4321
  }[];
@@ -4326,25 +4327,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4326
4327
  } | {
4327
4328
  kind: "correction_approved";
4328
4329
  evidence: {
4329
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4330
4330
  id: string;
4331
4331
  label: string;
4332
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4332
4333
  capture: "at_action" | "historical_lookup" | "fixture";
4333
4334
  locator?: string | undefined;
4334
4335
  }[];
4335
4336
  correctionId: string;
4336
4337
  approvedBy: {
4337
- kind: "agent" | "human";
4338
4338
  id: string;
4339
4339
  label: string;
4340
+ kind: "agent" | "human";
4340
4341
  };
4341
4342
  note?: string | undefined;
4342
4343
  } | {
4343
4344
  kind: "decision_superseded";
4344
4345
  evidence: {
4345
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4346
4346
  id: string;
4347
4347
  label: string;
4348
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4348
4349
  capture: "at_action" | "historical_lookup" | "fixture";
4349
4350
  locator?: string | undefined;
4350
4351
  }[];
@@ -4357,9 +4358,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4357
4358
  agentId: string;
4358
4359
  sessionId: string;
4359
4360
  evidence: {
4360
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4361
4361
  id: string;
4362
4362
  label: string;
4363
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4363
4364
  capture: "at_action" | "historical_lookup" | "fixture";
4364
4365
  locator?: string | undefined;
4365
4366
  }[];
@@ -4371,9 +4372,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4371
4372
  agentId: string;
4372
4373
  sessionId: string;
4373
4374
  evidence: {
4374
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4375
4375
  id: string;
4376
4376
  label: string;
4377
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4377
4378
  capture: "at_action" | "historical_lookup" | "fixture";
4378
4379
  locator?: string | undefined;
4379
4380
  }[];
@@ -4382,63 +4383,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4382
4383
  recallReceiptId: string;
4383
4384
  staleDecisionAbsent: boolean;
4384
4385
  } | {
4385
- kind: "mission_completed";
4386
4386
  summary: string;
4387
+ kind: "mission_completed";
4387
4388
  outcome: "failed" | "recovered" | "inconclusive";
4388
4389
  evidence: {
4389
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4390
4390
  id: string;
4391
4391
  label: string;
4392
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4392
4393
  capture: "at_action" | "historical_lookup" | "fixture";
4393
4394
  locator?: string | undefined;
4394
4395
  }[];
4395
4396
  };
4396
- namespace: string;
4397
4397
  eventId: string;
4398
4398
  occurredAt: string;
4399
4399
  missionId: string;
4400
4400
  idempotencyKey?: string | undefined;
4401
4401
  authenticatedPrincipal?: string | undefined;
4402
4402
  }, {
4403
- schemaVersion: "1";
4403
+ namespace: string;
4404
4404
  recordedAt: string;
4405
+ schemaVersion: "1";
4405
4406
  payload: {
4406
4407
  kind: "mission_started";
4407
4408
  title: string;
4408
4409
  objective: string;
4409
4410
  runMode: "replay" | "fixture" | "live";
4410
4411
  evidence?: {
4411
- kind: "correction" | "source" | "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
  }[] | undefined;
4417
4418
  } | {
4419
+ label: string;
4418
4420
  kind: "agent_status";
4419
4421
  role: string;
4420
4422
  status: "failed" | "complete" | "working" | "blocked" | "idle";
4421
- label: string;
4422
4423
  agentId: string;
4423
4424
  sessionId: string;
4424
4425
  detail?: string | undefined;
4425
4426
  evidence?: {
4426
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4427
4427
  id: string;
4428
4428
  label: string;
4429
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4429
4430
  capture: "at_action" | "historical_lookup" | "fixture";
4430
4431
  locator?: string | undefined;
4431
4432
  }[] | undefined;
4432
4433
  } | {
4433
- kind: "agent_output";
4434
4434
  summary: string;
4435
+ kind: "agent_output";
4435
4436
  agentId: string;
4436
4437
  sessionId: string;
4437
4438
  outputId: string;
4438
4439
  evidence?: {
4439
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4440
4440
  id: string;
4441
4441
  label: string;
4442
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4442
4443
  capture: "at_action" | "historical_lookup" | "fixture";
4443
4444
  locator?: string | undefined;
4444
4445
  }[] | undefined;
@@ -4451,37 +4452,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4451
4452
  decisionId: string;
4452
4453
  confidence?: number | undefined;
4453
4454
  evidence?: {
4454
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4455
4455
  id: string;
4456
4456
  label: string;
4457
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4457
4458
  capture: "at_action" | "historical_lookup" | "fixture";
4458
4459
  locator?: string | undefined;
4459
4460
  }[] | undefined;
4460
4461
  } | {
4461
- kind: "conflict_detected";
4462
4462
  summary: string;
4463
+ kind: "conflict_detected";
4463
4464
  conflictId: string;
4464
4465
  decisionIds: string[];
4465
4466
  agentIds: string[];
4466
4467
  evidence?: {
4467
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4468
4468
  id: string;
4469
4469
  label: string;
4470
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4470
4471
  capture: "at_action" | "historical_lookup" | "fixture";
4471
4472
  locator?: string | undefined;
4472
4473
  }[] | undefined;
4473
4474
  } | {
4474
- kind: "test_result";
4475
4475
  summary: string;
4476
+ kind: "test_result";
4476
4477
  command: string;
4477
4478
  status: "error" | "failed" | "passed";
4478
4479
  decisionId: string;
4479
4480
  testId: string;
4480
4481
  durationMs?: number | undefined;
4481
4482
  evidence?: {
4482
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4483
4483
  id: string;
4484
4484
  label: string;
4485
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4485
4486
  capture: "at_action" | "historical_lookup" | "fixture";
4486
4487
  locator?: string | undefined;
4487
4488
  }[] | undefined;
@@ -4496,9 +4497,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4496
4497
  supersedesDecisionIds: string[];
4497
4498
  proposedBy: string;
4498
4499
  evidence?: {
4499
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4500
4500
  id: string;
4501
4501
  label: string;
4502
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4502
4503
  capture: "at_action" | "historical_lookup" | "fixture";
4503
4504
  locator?: string | undefined;
4504
4505
  }[] | undefined;
@@ -4506,15 +4507,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4506
4507
  kind: "correction_approved";
4507
4508
  correctionId: string;
4508
4509
  approvedBy: {
4509
- kind: "agent" | "human";
4510
4510
  id: string;
4511
4511
  label: string;
4512
+ kind: "agent" | "human";
4512
4513
  };
4513
4514
  note?: string | undefined;
4514
4515
  evidence?: {
4515
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4516
4516
  id: string;
4517
4517
  label: string;
4518
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4518
4519
  capture: "at_action" | "historical_lookup" | "fixture";
4519
4520
  locator?: string | undefined;
4520
4521
  }[] | undefined;
@@ -4524,9 +4525,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4524
4525
  correctionId: string;
4525
4526
  replacementDecisionId: string;
4526
4527
  evidence?: {
4527
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4528
4528
  id: string;
4529
4529
  label: string;
4530
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4530
4531
  capture: "at_action" | "historical_lookup" | "fixture";
4531
4532
  locator?: string | undefined;
4532
4533
  }[] | undefined;
@@ -4539,9 +4540,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4539
4540
  recallReceiptId: string;
4540
4541
  capturedAtAction: boolean;
4541
4542
  evidence?: {
4542
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4543
4543
  id: string;
4544
4544
  label: string;
4545
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4545
4546
  capture: "at_action" | "historical_lookup" | "fixture";
4546
4547
  locator?: string | undefined;
4547
4548
  }[] | undefined;
@@ -4554,25 +4555,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4554
4555
  recallReceiptId: string;
4555
4556
  staleDecisionAbsent: boolean;
4556
4557
  evidence?: {
4557
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4558
4558
  id: string;
4559
4559
  label: string;
4560
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4560
4561
  capture: "at_action" | "historical_lookup" | "fixture";
4561
4562
  locator?: string | undefined;
4562
4563
  }[] | undefined;
4563
4564
  } | {
4564
- kind: "mission_completed";
4565
4565
  summary: string;
4566
+ kind: "mission_completed";
4566
4567
  outcome: "failed" | "recovered" | "inconclusive";
4567
4568
  evidence?: {
4568
- kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4569
4569
  id: string;
4570
4570
  label: string;
4571
+ kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
4571
4572
  capture: "at_action" | "historical_lookup" | "fixture";
4572
4573
  locator?: string | undefined;
4573
4574
  }[] | undefined;
4574
4575
  };
4575
- namespace: string;
4576
4576
  eventId: string;
4577
4577
  occurredAt: string;
4578
4578
  missionId: string;