pulseed 0.6.3 → 0.6.5

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 (615) hide show
  1. package/dist/adapters/datasources/artifact-metric-datasource.d.ts +11 -1
  2. package/dist/adapters/datasources/artifact-metric-datasource.d.ts.map +1 -1
  3. package/dist/adapters/datasources/artifact-metric-datasource.js +256 -9
  4. package/dist/adapters/datasources/artifact-metric-datasource.js.map +1 -1
  5. package/dist/base/config/global-config.d.ts +7 -4
  6. package/dist/base/config/global-config.d.ts.map +1 -1
  7. package/dist/base/config/global-config.js +3 -1
  8. package/dist/base/config/global-config.js.map +1 -1
  9. package/dist/base/protocol/exact-protocol.d.ts +47 -0
  10. package/dist/base/protocol/exact-protocol.d.ts.map +1 -0
  11. package/dist/base/protocol/exact-protocol.js +175 -0
  12. package/dist/base/protocol/exact-protocol.js.map +1 -0
  13. package/dist/base/types/core.d.ts +1 -1
  14. package/dist/base/types/core.d.ts.map +1 -1
  15. package/dist/base/types/core.js +1 -0
  16. package/dist/base/types/core.js.map +1 -1
  17. package/dist/base/utils/paths.d.ts +5 -0
  18. package/dist/base/utils/paths.d.ts.map +1 -1
  19. package/dist/base/utils/paths.js +7 -0
  20. package/dist/base/utils/paths.js.map +1 -1
  21. package/dist/base/utils/workspace-path.d.ts +6 -0
  22. package/dist/base/utils/workspace-path.d.ts.map +1 -0
  23. package/dist/base/utils/workspace-path.js +24 -0
  24. package/dist/base/utils/workspace-path.js.map +1 -0
  25. package/dist/base/utils/workspace-root.d.ts +6 -0
  26. package/dist/base/utils/workspace-root.d.ts.map +1 -0
  27. package/dist/base/utils/workspace-root.js +87 -0
  28. package/dist/base/utils/workspace-root.js.map +1 -0
  29. package/dist/index.d.ts +4 -0
  30. package/dist/index.d.ts.map +1 -1
  31. package/dist/index.js +2 -0
  32. package/dist/index.js.map +1 -1
  33. package/dist/interface/chat/chat-event-state.d.ts +2 -0
  34. package/dist/interface/chat/chat-event-state.d.ts.map +1 -1
  35. package/dist/interface/chat/chat-event-state.js +22 -41
  36. package/dist/interface/chat/chat-event-state.js.map +1 -1
  37. package/dist/interface/chat/chat-events.d.ts +15 -1
  38. package/dist/interface/chat/chat-events.d.ts.map +1 -1
  39. package/dist/interface/chat/chat-history.d.ts +3816 -192
  40. package/dist/interface/chat/chat-history.d.ts.map +1 -1
  41. package/dist/interface/chat/chat-history.js +529 -5
  42. package/dist/interface/chat/chat-history.js.map +1 -1
  43. package/dist/interface/chat/chat-runner-commands.d.ts +2 -0
  44. package/dist/interface/chat/chat-runner-commands.d.ts.map +1 -1
  45. package/dist/interface/chat/chat-runner-commands.js +83 -22
  46. package/dist/interface/chat/chat-runner-commands.js.map +1 -1
  47. package/dist/interface/chat/chat-runner-contracts.d.ts +5 -1
  48. package/dist/interface/chat/chat-runner-contracts.d.ts.map +1 -1
  49. package/dist/interface/chat/chat-runner-event-bridge.d.ts +13 -1
  50. package/dist/interface/chat/chat-runner-event-bridge.d.ts.map +1 -1
  51. package/dist/interface/chat/chat-runner-event-bridge.js +51 -3
  52. package/dist/interface/chat/chat-runner-event-bridge.js.map +1 -1
  53. package/dist/interface/chat/chat-runner-routes.d.ts +5 -17
  54. package/dist/interface/chat/chat-runner-routes.d.ts.map +1 -1
  55. package/dist/interface/chat/chat-runner-routes.js +80 -51
  56. package/dist/interface/chat/chat-runner-routes.js.map +1 -1
  57. package/dist/interface/chat/chat-runner-runtime.d.ts.map +1 -1
  58. package/dist/interface/chat/chat-runner-runtime.js +4 -0
  59. package/dist/interface/chat/chat-runner-runtime.js.map +1 -1
  60. package/dist/interface/chat/chat-runner.d.ts +7 -1
  61. package/dist/interface/chat/chat-runner.d.ts.map +1 -1
  62. package/dist/interface/chat/chat-runner.js +135 -49
  63. package/dist/interface/chat/chat-runner.js.map +1 -1
  64. package/dist/interface/chat/chat-session-store.d.ts +3 -0
  65. package/dist/interface/chat/chat-session-store.d.ts.map +1 -1
  66. package/dist/interface/chat/chat-session-store.js +12 -0
  67. package/dist/interface/chat/chat-session-store.js.map +1 -1
  68. package/dist/interface/chat/cross-platform-session.d.ts +15 -0
  69. package/dist/interface/chat/cross-platform-session.d.ts.map +1 -1
  70. package/dist/interface/chat/cross-platform-session.js +260 -42
  71. package/dist/interface/chat/cross-platform-session.js.map +1 -1
  72. package/dist/interface/chat/failure-recovery.d.ts.map +1 -1
  73. package/dist/interface/chat/failure-recovery.js +15 -1
  74. package/dist/interface/chat/failure-recovery.js.map +1 -1
  75. package/dist/interface/chat/freeform-route-classifier.d.ts +4 -4
  76. package/dist/interface/chat/ingress-router.d.ts +3 -0
  77. package/dist/interface/chat/ingress-router.d.ts.map +1 -1
  78. package/dist/interface/chat/ingress-router.js +3 -0
  79. package/dist/interface/chat/ingress-router.js.map +1 -1
  80. package/dist/interface/chat/model-request-builder.d.ts +37 -0
  81. package/dist/interface/chat/model-request-builder.d.ts.map +1 -0
  82. package/dist/interface/chat/model-request-builder.js +76 -0
  83. package/dist/interface/chat/model-request-builder.js.map +1 -0
  84. package/dist/interface/chat/turn-context.d.ts +200 -0
  85. package/dist/interface/chat/turn-context.d.ts.map +1 -0
  86. package/dist/interface/chat/turn-context.js +249 -0
  87. package/dist/interface/chat/turn-context.js.map +1 -0
  88. package/dist/interface/chat/turn-protocol.d.ts +35 -0
  89. package/dist/interface/chat/turn-protocol.d.ts.map +1 -0
  90. package/dist/interface/chat/turn-protocol.js +27 -0
  91. package/dist/interface/chat/turn-protocol.js.map +1 -0
  92. package/dist/interface/chat/user-input.d.ts +55 -0
  93. package/dist/interface/chat/user-input.d.ts.map +1 -0
  94. package/dist/interface/chat/user-input.js +52 -0
  95. package/dist/interface/chat/user-input.js.map +1 -0
  96. package/dist/interface/cli/cli-command-registry.d.ts +1 -1
  97. package/dist/interface/cli/cli-command-registry.d.ts.map +1 -1
  98. package/dist/interface/cli/cli-command-registry.js +12 -16
  99. package/dist/interface/cli/cli-command-registry.js.map +1 -1
  100. package/dist/interface/cli/cli-runner.js +0 -0
  101. package/dist/interface/cli/commands/daemon-shared.d.ts +12 -1
  102. package/dist/interface/cli/commands/daemon-shared.d.ts.map +1 -1
  103. package/dist/interface/cli/commands/daemon-shared.js +26 -4
  104. package/dist/interface/cli/commands/daemon-shared.js.map +1 -1
  105. package/dist/interface/cli/commands/daemon.d.ts.map +1 -1
  106. package/dist/interface/cli/commands/daemon.js +66 -8
  107. package/dist/interface/cli/commands/daemon.js.map +1 -1
  108. package/dist/interface/cli/commands/doctor.d.ts +1 -1
  109. package/dist/interface/cli/commands/doctor.d.ts.map +1 -1
  110. package/dist/interface/cli/commands/doctor.js +61 -29
  111. package/dist/interface/cli/commands/doctor.js.map +1 -1
  112. package/dist/interface/cli/commands/goal-dispatch.d.ts.map +1 -1
  113. package/dist/interface/cli/commands/goal-dispatch.js +10 -6
  114. package/dist/interface/cli/commands/goal-dispatch.js.map +1 -1
  115. package/dist/interface/cli/commands/goal-utils.d.ts.map +1 -1
  116. package/dist/interface/cli/commands/goal-utils.js +3 -5
  117. package/dist/interface/cli/commands/goal-utils.js.map +1 -1
  118. package/dist/interface/cli/commands/run.d.ts.map +1 -1
  119. package/dist/interface/cli/commands/run.js +50 -0
  120. package/dist/interface/cli/commands/run.js.map +1 -1
  121. package/dist/interface/cli/setup.d.ts +1 -1
  122. package/dist/interface/cli/setup.d.ts.map +1 -1
  123. package/dist/interface/cli/setup.js +4 -3
  124. package/dist/interface/cli/setup.js.map +1 -1
  125. package/dist/interface/cli/utils/loop-runner.d.ts +1 -0
  126. package/dist/interface/cli/utils/loop-runner.d.ts.map +1 -1
  127. package/dist/interface/cli/utils/loop-runner.js +12 -3
  128. package/dist/interface/cli/utils/loop-runner.js.map +1 -1
  129. package/dist/interface/tui/app.d.ts +6 -1
  130. package/dist/interface/tui/app.d.ts.map +1 -1
  131. package/dist/interface/tui/app.js +29 -12
  132. package/dist/interface/tui/app.js.map +1 -1
  133. package/dist/interface/tui/bash-mode.d.ts.map +1 -1
  134. package/dist/interface/tui/bash-mode.js +2 -9
  135. package/dist/interface/tui/bash-mode.js.map +1 -1
  136. package/dist/interface/tui/chat/viewport.d.ts.map +1 -1
  137. package/dist/interface/tui/chat/viewport.js +57 -11
  138. package/dist/interface/tui/chat/viewport.js.map +1 -1
  139. package/dist/interface/tui/entry-deps.d.ts +6 -1
  140. package/dist/interface/tui/entry-deps.d.ts.map +1 -1
  141. package/dist/interface/tui/entry-deps.js +3 -0
  142. package/dist/interface/tui/entry-deps.js.map +1 -1
  143. package/dist/interface/tui/entry.d.ts.map +1 -1
  144. package/dist/interface/tui/entry.js +6 -2
  145. package/dist/interface/tui/entry.js.map +1 -1
  146. package/dist/interface/tui/input-action.d.ts.map +1 -1
  147. package/dist/interface/tui/input-action.js +3 -2
  148. package/dist/interface/tui/input-action.js.map +1 -1
  149. package/dist/interface/tui/intent-recognizer.d.ts.map +1 -1
  150. package/dist/interface/tui/intent-recognizer.js +21 -33
  151. package/dist/interface/tui/intent-recognizer.js.map +1 -1
  152. package/dist/orchestrator/execution/adapter-layer.d.ts +10 -1
  153. package/dist/orchestrator/execution/adapter-layer.d.ts.map +1 -1
  154. package/dist/orchestrator/execution/adapter-layer.js.map +1 -1
  155. package/dist/orchestrator/execution/agent-loop/agent-loop-command-classifier.d.ts +12 -1
  156. package/dist/orchestrator/execution/agent-loop/agent-loop-command-classifier.d.ts.map +1 -1
  157. package/dist/orchestrator/execution/agent-loop/agent-loop-command-classifier.js +16 -31
  158. package/dist/orchestrator/execution/agent-loop/agent-loop-command-classifier.js.map +1 -1
  159. package/dist/orchestrator/execution/agent-loop/agent-loop-compaction-record.d.ts +75 -0
  160. package/dist/orchestrator/execution/agent-loop/agent-loop-compaction-record.d.ts.map +1 -0
  161. package/dist/orchestrator/execution/agent-loop/agent-loop-compaction-record.js +10 -0
  162. package/dist/orchestrator/execution/agent-loop/agent-loop-compaction-record.js.map +1 -0
  163. package/dist/orchestrator/execution/agent-loop/agent-loop-compactor.d.ts +3 -2
  164. package/dist/orchestrator/execution/agent-loop/agent-loop-compactor.d.ts.map +1 -1
  165. package/dist/orchestrator/execution/agent-loop/agent-loop-compactor.js +185 -22
  166. package/dist/orchestrator/execution/agent-loop/agent-loop-compactor.js.map +1 -1
  167. package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.d.ts.map +1 -1
  168. package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.js +18 -1
  169. package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.js.map +1 -1
  170. package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.d.ts.map +1 -1
  171. package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.js +7 -1
  172. package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.js.map +1 -1
  173. package/dist/orchestrator/execution/agent-loop/agent-loop-events.d.ts +8 -1
  174. package/dist/orchestrator/execution/agent-loop/agent-loop-events.d.ts.map +1 -1
  175. package/dist/orchestrator/execution/agent-loop/agent-loop-events.js.map +1 -1
  176. package/dist/orchestrator/execution/agent-loop/agent-loop-history.d.ts +3 -1
  177. package/dist/orchestrator/execution/agent-loop/agent-loop-history.d.ts.map +1 -1
  178. package/dist/orchestrator/execution/agent-loop/agent-loop-history.js +12 -3
  179. package/dist/orchestrator/execution/agent-loop/agent-loop-history.js.map +1 -1
  180. package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.d.ts.map +1 -1
  181. package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.js +7 -1
  182. package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.js.map +1 -1
  183. package/dist/orchestrator/execution/agent-loop/agent-loop-model.d.ts +37 -0
  184. package/dist/orchestrator/execution/agent-loop/agent-loop-model.d.ts.map +1 -1
  185. package/dist/orchestrator/execution/agent-loop/agent-loop-model.js +21 -0
  186. package/dist/orchestrator/execution/agent-loop/agent-loop-model.js.map +1 -1
  187. package/dist/orchestrator/execution/agent-loop/agent-loop-prompts.d.ts.map +1 -1
  188. package/dist/orchestrator/execution/agent-loop/agent-loop-prompts.js +1 -0
  189. package/dist/orchestrator/execution/agent-loop/agent-loop-prompts.js.map +1 -1
  190. package/dist/orchestrator/execution/agent-loop/agent-loop-result.d.ts +19 -11
  191. package/dist/orchestrator/execution/agent-loop/agent-loop-result.d.ts.map +1 -1
  192. package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.d.ts +4 -0
  193. package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.d.ts.map +1 -1
  194. package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.js +135 -0
  195. package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.js.map +1 -1
  196. package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.d.ts +3 -2
  197. package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.d.ts.map +1 -1
  198. package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.js +68 -61
  199. package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.js.map +1 -1
  200. package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.d.ts +3 -1
  201. package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.d.ts.map +1 -1
  202. package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.js.map +1 -1
  203. package/dist/orchestrator/execution/agent-loop/agent-timeline.d.ts +12 -1
  204. package/dist/orchestrator/execution/agent-loop/agent-timeline.d.ts.map +1 -1
  205. package/dist/orchestrator/execution/agent-loop/agent-timeline.js +19 -56
  206. package/dist/orchestrator/execution/agent-loop/agent-timeline.js.map +1 -1
  207. package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.d.ts.map +1 -1
  208. package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.js +8 -2
  209. package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.js.map +1 -1
  210. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.d.ts +14 -0
  211. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.d.ts.map +1 -1
  212. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.js +440 -81
  213. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.js.map +1 -1
  214. package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.d.ts +1 -1
  215. package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.d.ts.map +1 -1
  216. package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.js +80 -12
  217. package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.js.map +1 -1
  218. package/dist/orchestrator/execution/agent-loop/chat-display-output.d.ts +1 -0
  219. package/dist/orchestrator/execution/agent-loop/chat-display-output.d.ts.map +1 -1
  220. package/dist/orchestrator/execution/agent-loop/chat-display-output.js +3 -1
  221. package/dist/orchestrator/execution/agent-loop/chat-display-output.js.map +1 -1
  222. package/dist/orchestrator/execution/agent-loop/index.d.ts +3 -0
  223. package/dist/orchestrator/execution/agent-loop/index.d.ts.map +1 -1
  224. package/dist/orchestrator/execution/agent-loop/index.js +3 -0
  225. package/dist/orchestrator/execution/agent-loop/index.js.map +1 -1
  226. package/dist/orchestrator/execution/agent-loop/openai-responses-agent-loop-model-client.d.ts +1 -0
  227. package/dist/orchestrator/execution/agent-loop/openai-responses-agent-loop-model-client.d.ts.map +1 -1
  228. package/dist/orchestrator/execution/agent-loop/openai-responses-agent-loop-model-client.js +51 -9
  229. package/dist/orchestrator/execution/agent-loop/openai-responses-agent-loop-model-client.js.map +1 -1
  230. package/dist/orchestrator/execution/agent-loop/response-item-tool-router.d.ts +20 -0
  231. package/dist/orchestrator/execution/agent-loop/response-item-tool-router.d.ts.map +1 -0
  232. package/dist/orchestrator/execution/agent-loop/response-item-tool-router.js +181 -0
  233. package/dist/orchestrator/execution/agent-loop/response-item-tool-router.js.map +1 -0
  234. package/dist/orchestrator/execution/agent-loop/response-item.d.ts +805 -0
  235. package/dist/orchestrator/execution/agent-loop/response-item.d.ts.map +1 -0
  236. package/dist/orchestrator/execution/agent-loop/response-item.js +104 -0
  237. package/dist/orchestrator/execution/agent-loop/response-item.js.map +1 -0
  238. package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.d.ts +7 -2
  239. package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.d.ts.map +1 -1
  240. package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.js +33 -1
  241. package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.js.map +1 -1
  242. package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.d.ts +32 -17
  243. package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.d.ts.map +1 -1
  244. package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.js +174 -16
  245. package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.js.map +1 -1
  246. package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.d.ts +2 -0
  247. package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.d.ts.map +1 -1
  248. package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.js +10 -4
  249. package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.js.map +1 -1
  250. package/dist/orchestrator/execution/agent-loop/task-agent-loop-verification.d.ts +0 -1
  251. package/dist/orchestrator/execution/agent-loop/task-agent-loop-verification.d.ts.map +1 -1
  252. package/dist/orchestrator/execution/agent-loop/task-agent-loop-verification.js +7 -87
  253. package/dist/orchestrator/execution/agent-loop/task-agent-loop-verification.js.map +1 -1
  254. package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.d.ts.map +1 -1
  255. package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.js +25 -0
  256. package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.js.map +1 -1
  257. package/dist/orchestrator/execution/context/issue-context-fetcher.d.ts +5 -1
  258. package/dist/orchestrator/execution/context/issue-context-fetcher.d.ts.map +1 -1
  259. package/dist/orchestrator/execution/context/issue-context-fetcher.js +7 -4
  260. package/dist/orchestrator/execution/context/issue-context-fetcher.js.map +1 -1
  261. package/dist/orchestrator/execution/task/task-artifact-contract.d.ts +18 -0
  262. package/dist/orchestrator/execution/task/task-artifact-contract.d.ts.map +1 -0
  263. package/dist/orchestrator/execution/task/task-artifact-contract.js +199 -0
  264. package/dist/orchestrator/execution/task/task-artifact-contract.js.map +1 -0
  265. package/dist/orchestrator/execution/task/task-diff-capture.d.ts +15 -1
  266. package/dist/orchestrator/execution/task/task-diff-capture.d.ts.map +1 -1
  267. package/dist/orchestrator/execution/task/task-diff-capture.js +271 -18
  268. package/dist/orchestrator/execution/task/task-diff-capture.js.map +1 -1
  269. package/dist/orchestrator/execution/task/task-execution-helpers.d.ts +1 -0
  270. package/dist/orchestrator/execution/task/task-execution-helpers.d.ts.map +1 -1
  271. package/dist/orchestrator/execution/task/task-execution-helpers.js +76 -17
  272. package/dist/orchestrator/execution/task/task-execution-helpers.js.map +1 -1
  273. package/dist/orchestrator/execution/task/task-execution-types.d.ts +2 -0
  274. package/dist/orchestrator/execution/task/task-execution-types.d.ts.map +1 -1
  275. package/dist/orchestrator/execution/task/task-execution-types.js.map +1 -1
  276. package/dist/orchestrator/execution/task/task-executor.d.ts +16 -1
  277. package/dist/orchestrator/execution/task/task-executor.d.ts.map +1 -1
  278. package/dist/orchestrator/execution/task/task-executor.js +56 -50
  279. package/dist/orchestrator/execution/task/task-executor.js.map +1 -1
  280. package/dist/orchestrator/execution/task/task-generation.d.ts +62 -2
  281. package/dist/orchestrator/execution/task/task-generation.d.ts.map +1 -1
  282. package/dist/orchestrator/execution/task/task-generation.js +30 -13
  283. package/dist/orchestrator/execution/task/task-generation.js.map +1 -1
  284. package/dist/orchestrator/execution/task/task-lifecycle-runner.d.ts +2 -2
  285. package/dist/orchestrator/execution/task/task-lifecycle-runner.d.ts.map +1 -1
  286. package/dist/orchestrator/execution/task/task-lifecycle-runner.js +32 -4
  287. package/dist/orchestrator/execution/task/task-lifecycle-runner.js.map +1 -1
  288. package/dist/orchestrator/execution/task/task-lifecycle.d.ts +3 -3
  289. package/dist/orchestrator/execution/task/task-lifecycle.d.ts.map +1 -1
  290. package/dist/orchestrator/execution/task/task-lifecycle.js +109 -10
  291. package/dist/orchestrator/execution/task/task-lifecycle.js.map +1 -1
  292. package/dist/orchestrator/execution/task/task-outcome-ledger.d.ts +9 -0
  293. package/dist/orchestrator/execution/task/task-outcome-ledger.d.ts.map +1 -1
  294. package/dist/orchestrator/execution/task/task-outcome-ledger.js +64 -3
  295. package/dist/orchestrator/execution/task/task-outcome-ledger.js.map +1 -1
  296. package/dist/orchestrator/execution/task/task-prompt-builder.d.ts +3 -1
  297. package/dist/orchestrator/execution/task/task-prompt-builder.d.ts.map +1 -1
  298. package/dist/orchestrator/execution/task/task-prompt-builder.js +28 -13
  299. package/dist/orchestrator/execution/task/task-prompt-builder.js.map +1 -1
  300. package/dist/orchestrator/execution/task/task-verifier-rules.d.ts +3 -2
  301. package/dist/orchestrator/execution/task/task-verifier-rules.d.ts.map +1 -1
  302. package/dist/orchestrator/execution/task/task-verifier-rules.js +377 -90
  303. package/dist/orchestrator/execution/task/task-verifier-rules.js.map +1 -1
  304. package/dist/orchestrator/execution/task/task-verifier-types.d.ts +13 -0
  305. package/dist/orchestrator/execution/task/task-verifier-types.d.ts.map +1 -1
  306. package/dist/orchestrator/execution/task/task-verifier-types.js.map +1 -1
  307. package/dist/orchestrator/execution/task/task-verifier.d.ts +5 -4
  308. package/dist/orchestrator/execution/task/task-verifier.d.ts.map +1 -1
  309. package/dist/orchestrator/execution/task/task-verifier.js +396 -25
  310. package/dist/orchestrator/execution/task/task-verifier.js.map +1 -1
  311. package/dist/orchestrator/execution/task/task-workspace.d.ts +5 -0
  312. package/dist/orchestrator/execution/task/task-workspace.d.ts.map +1 -1
  313. package/dist/orchestrator/execution/task/task-workspace.js +20 -10
  314. package/dist/orchestrator/execution/task/task-workspace.js.map +1 -1
  315. package/dist/orchestrator/execution/types/task-group.d.ts +85 -5
  316. package/dist/orchestrator/execution/types/task-group.d.ts.map +1 -1
  317. package/dist/orchestrator/execution/types/task.d.ts +155 -3
  318. package/dist/orchestrator/execution/types/task.d.ts.map +1 -1
  319. package/dist/orchestrator/execution/types/task.js +18 -0
  320. package/dist/orchestrator/execution/types/task.js.map +1 -1
  321. package/dist/orchestrator/loop/durable-loop/contracts.d.ts +2 -0
  322. package/dist/orchestrator/loop/durable-loop/contracts.d.ts.map +1 -1
  323. package/dist/orchestrator/loop/durable-loop/contracts.js.map +1 -1
  324. package/dist/orchestrator/loop/durable-loop/phase-specs.d.ts +12 -12
  325. package/dist/orchestrator/loop/durable-loop/preparation.d.ts.map +1 -1
  326. package/dist/orchestrator/loop/durable-loop/preparation.js +7 -1
  327. package/dist/orchestrator/loop/durable-loop/preparation.js.map +1 -1
  328. package/dist/orchestrator/loop/loop-report-helper.d.ts.map +1 -1
  329. package/dist/orchestrator/loop/loop-report-helper.js +2 -0
  330. package/dist/orchestrator/loop/loop-report-helper.js.map +1 -1
  331. package/dist/platform/corrections/memory-correction-ledger.d.ts +30 -30
  332. package/dist/platform/corrections/memory-governance.d.ts +2 -2
  333. package/dist/platform/corrections/memory-quarantine.d.ts +2 -2
  334. package/dist/platform/dream/playbook-memory.d.ts +4 -4
  335. package/dist/platform/knowledge/types/agent-memory.d.ts +46 -46
  336. package/dist/platform/observation/context-provider/collector.d.ts.map +1 -1
  337. package/dist/platform/observation/context-provider/collector.js +89 -24
  338. package/dist/platform/observation/context-provider/collector.js.map +1 -1
  339. package/dist/platform/observation/data-source-adapter.d.ts +2 -0
  340. package/dist/platform/observation/data-source-adapter.d.ts.map +1 -1
  341. package/dist/platform/observation/data-source-adapter.js.map +1 -1
  342. package/dist/platform/observation/observation-apply.d.ts.map +1 -1
  343. package/dist/platform/observation/observation-apply.js +8 -2
  344. package/dist/platform/observation/observation-apply.js.map +1 -1
  345. package/dist/platform/observation/observation-engine.d.ts.map +1 -1
  346. package/dist/platform/observation/observation-engine.js +118 -70
  347. package/dist/platform/observation/observation-engine.js.map +1 -1
  348. package/dist/platform/observation/observation-helpers.d.ts +2 -0
  349. package/dist/platform/observation/observation-helpers.d.ts.map +1 -1
  350. package/dist/platform/observation/observation-helpers.js.map +1 -1
  351. package/dist/platform/observation/types/data-source.d.ts +48 -0
  352. package/dist/platform/observation/types/data-source.d.ts.map +1 -1
  353. package/dist/platform/observation/types/data-source.js +4 -0
  354. package/dist/platform/observation/types/data-source.js.map +1 -1
  355. package/dist/platform/observation/workspace-context.d.ts.map +1 -1
  356. package/dist/platform/observation/workspace-context.js +13 -18
  357. package/dist/platform/observation/workspace-context.js.map +1 -1
  358. package/dist/platform/soil/contracts.d.ts +58 -58
  359. package/dist/prompt/purposes/verification.d.ts +2 -2
  360. package/dist/reporting/report-formatters.d.ts.map +1 -1
  361. package/dist/reporting/report-formatters.js +26 -1
  362. package/dist/reporting/report-formatters.js.map +1 -1
  363. package/dist/reporting/reporting-engine.d.ts.map +1 -1
  364. package/dist/reporting/reporting-engine.js +1 -0
  365. package/dist/reporting/reporting-engine.js.map +1 -1
  366. package/dist/reporting/reporting-types.d.ts +7 -0
  367. package/dist/reporting/reporting-types.d.ts.map +1 -1
  368. package/dist/reporting/types/report.d.ts +12 -0
  369. package/dist/reporting/types/report.d.ts.map +1 -1
  370. package/dist/reporting/types/report.js +1 -0
  371. package/dist/reporting/types/report.js.map +1 -1
  372. package/dist/runtime/approval-broker.d.ts +12 -0
  373. package/dist/runtime/approval-broker.d.ts.map +1 -1
  374. package/dist/runtime/approval-broker.js +27 -7
  375. package/dist/runtime/approval-broker.js.map +1 -1
  376. package/dist/runtime/control/daemon-runtime-control-executor.d.ts.map +1 -1
  377. package/dist/runtime/control/daemon-runtime-control-executor.js +9 -4
  378. package/dist/runtime/control/daemon-runtime-control-executor.js.map +1 -1
  379. package/dist/runtime/control/runtime-control-intent.d.ts.map +1 -1
  380. package/dist/runtime/control/runtime-control-intent.js +3 -2
  381. package/dist/runtime/control/runtime-control-intent.js.map +1 -1
  382. package/dist/runtime/control/runtime-control-service.d.ts +27 -1
  383. package/dist/runtime/control/runtime-control-service.d.ts.map +1 -1
  384. package/dist/runtime/control/runtime-control-service.js +181 -2
  385. package/dist/runtime/control/runtime-control-service.js.map +1 -1
  386. package/dist/runtime/control/runtime-target-resolver.js +2 -0
  387. package/dist/runtime/control/runtime-target-resolver.js.map +1 -1
  388. package/dist/runtime/daemon/browser-backpressure-policy.d.ts +22 -0
  389. package/dist/runtime/daemon/browser-backpressure-policy.d.ts.map +1 -0
  390. package/dist/runtime/daemon/browser-backpressure-policy.js +95 -0
  391. package/dist/runtime/daemon/browser-backpressure-policy.js.map +1 -0
  392. package/dist/runtime/daemon/client.d.ts +1 -0
  393. package/dist/runtime/daemon/client.d.ts.map +1 -1
  394. package/dist/runtime/daemon/client.js.map +1 -1
  395. package/dist/runtime/daemon/runner-goal-cycle.d.ts.map +1 -1
  396. package/dist/runtime/daemon/runner-goal-cycle.js +1 -2
  397. package/dist/runtime/daemon/runner-goal-cycle.js.map +1 -1
  398. package/dist/runtime/daemon/runner-recovery.d.ts +17 -3
  399. package/dist/runtime/daemon/runner-recovery.d.ts.map +1 -1
  400. package/dist/runtime/daemon/runner-recovery.js +50 -12
  401. package/dist/runtime/daemon/runner-recovery.js.map +1 -1
  402. package/dist/runtime/daemon/runner-startup.d.ts.map +1 -1
  403. package/dist/runtime/daemon/runner-startup.js +18 -1
  404. package/dist/runtime/daemon/runner-startup.js.map +1 -1
  405. package/dist/runtime/daemon/runner.d.ts.map +1 -1
  406. package/dist/runtime/daemon/runner.js +13 -3
  407. package/dist/runtime/daemon/runner.js.map +1 -1
  408. package/dist/runtime/daemon/runtime-ownership.d.ts +7 -1
  409. package/dist/runtime/daemon/runtime-ownership.d.ts.map +1 -1
  410. package/dist/runtime/daemon/runtime-ownership.js +171 -25
  411. package/dist/runtime/daemon/runtime-ownership.js.map +1 -1
  412. package/dist/runtime/daemon/wait-deadline-resolver.d.ts.map +1 -1
  413. package/dist/runtime/daemon/wait-deadline-resolver.js +2 -0
  414. package/dist/runtime/daemon/wait-deadline-resolver.js.map +1 -1
  415. package/dist/runtime/event/server-snapshot-reader.d.ts +3 -1
  416. package/dist/runtime/event/server-snapshot-reader.d.ts.map +1 -1
  417. package/dist/runtime/event/server-snapshot-reader.js +68 -2
  418. package/dist/runtime/event/server-snapshot-reader.js.map +1 -1
  419. package/dist/runtime/event/server-types.d.ts +2 -0
  420. package/dist/runtime/event/server-types.d.ts.map +1 -1
  421. package/dist/runtime/evidence-answer.d.ts.map +1 -1
  422. package/dist/runtime/evidence-answer.js +34 -7
  423. package/dist/runtime/evidence-answer.js.map +1 -1
  424. package/dist/runtime/gateway/channel-adapter.d.ts +3 -0
  425. package/dist/runtime/gateway/channel-adapter.d.ts.map +1 -1
  426. package/dist/runtime/gateway/channel-display-policy.d.ts +42 -0
  427. package/dist/runtime/gateway/channel-display-policy.d.ts.map +1 -0
  428. package/dist/runtime/gateway/channel-display-policy.js +85 -0
  429. package/dist/runtime/gateway/channel-display-policy.js.map +1 -0
  430. package/dist/runtime/gateway/chat-event-rendering.d.ts +2 -1
  431. package/dist/runtime/gateway/chat-event-rendering.d.ts.map +1 -1
  432. package/dist/runtime/gateway/chat-event-rendering.js +2 -0
  433. package/dist/runtime/gateway/chat-event-rendering.js.map +1 -1
  434. package/dist/runtime/gateway/chat-session-dispatch.d.ts.map +1 -1
  435. package/dist/runtime/gateway/chat-session-dispatch.js +4 -9
  436. package/dist/runtime/gateway/chat-session-dispatch.js.map +1 -1
  437. package/dist/runtime/gateway/chat-session-port.d.ts +2 -0
  438. package/dist/runtime/gateway/chat-session-port.d.ts.map +1 -1
  439. package/dist/runtime/gateway/chat-session-port.js.map +1 -1
  440. package/dist/runtime/gateway/discord-gateway-adapter.d.ts +4 -0
  441. package/dist/runtime/gateway/discord-gateway-adapter.d.ts.map +1 -1
  442. package/dist/runtime/gateway/discord-gateway-adapter.js +100 -31
  443. package/dist/runtime/gateway/discord-gateway-adapter.js.map +1 -1
  444. package/dist/runtime/gateway/index.d.ts +4 -0
  445. package/dist/runtime/gateway/index.d.ts.map +1 -1
  446. package/dist/runtime/gateway/index.js +2 -0
  447. package/dist/runtime/gateway/index.js.map +1 -1
  448. package/dist/runtime/gateway/non-tui-display-projector.d.ts +40 -0
  449. package/dist/runtime/gateway/non-tui-display-projector.d.ts.map +1 -0
  450. package/dist/runtime/gateway/non-tui-display-projector.js +166 -0
  451. package/dist/runtime/gateway/non-tui-display-projector.js.map +1 -0
  452. package/dist/runtime/gateway/signal-gateway-adapter.d.ts +1 -0
  453. package/dist/runtime/gateway/signal-gateway-adapter.d.ts.map +1 -1
  454. package/dist/runtime/gateway/signal-gateway-adapter.js +47 -4
  455. package/dist/runtime/gateway/signal-gateway-adapter.js.map +1 -1
  456. package/dist/runtime/gateway/slack-channel-adapter.d.ts +1 -0
  457. package/dist/runtime/gateway/slack-channel-adapter.d.ts.map +1 -1
  458. package/dist/runtime/gateway/slack-channel-adapter.js +93 -18
  459. package/dist/runtime/gateway/slack-channel-adapter.js.map +1 -1
  460. package/dist/runtime/gateway/telegram-gateway-adapter.d.ts +2 -0
  461. package/dist/runtime/gateway/telegram-gateway-adapter.d.ts.map +1 -1
  462. package/dist/runtime/gateway/telegram-gateway-adapter.js +61 -113
  463. package/dist/runtime/gateway/telegram-gateway-adapter.js.map +1 -1
  464. package/dist/runtime/gateway/whatsapp-gateway-adapter.d.ts +1 -0
  465. package/dist/runtime/gateway/whatsapp-gateway-adapter.d.ts.map +1 -1
  466. package/dist/runtime/gateway/whatsapp-gateway-adapter.js +49 -4
  467. package/dist/runtime/gateway/whatsapp-gateway-adapter.js.map +1 -1
  468. package/dist/runtime/interactive-automation/browser-session-resolver.d.ts +26 -0
  469. package/dist/runtime/interactive-automation/browser-session-resolver.d.ts.map +1 -0
  470. package/dist/runtime/interactive-automation/browser-session-resolver.js +75 -0
  471. package/dist/runtime/interactive-automation/browser-session-resolver.js.map +1 -0
  472. package/dist/runtime/interactive-automation/index.d.ts +2 -0
  473. package/dist/runtime/interactive-automation/index.d.ts.map +1 -1
  474. package/dist/runtime/interactive-automation/index.js +2 -0
  475. package/dist/runtime/interactive-automation/index.js.map +1 -1
  476. package/dist/runtime/interactive-automation/runtime-auth-handoff-store.d.ts +35 -0
  477. package/dist/runtime/interactive-automation/runtime-auth-handoff-store.d.ts.map +1 -0
  478. package/dist/runtime/interactive-automation/runtime-auth-handoff-store.js +125 -0
  479. package/dist/runtime/interactive-automation/runtime-auth-handoff-store.js.map +1 -0
  480. package/dist/runtime/permission-dialogue.d.ts +113 -0
  481. package/dist/runtime/permission-dialogue.d.ts.map +1 -0
  482. package/dist/runtime/permission-dialogue.js +82 -0
  483. package/dist/runtime/permission-dialogue.js.map +1 -0
  484. package/dist/runtime/run-spec/derive.d.ts +14 -14
  485. package/dist/runtime/run-spec/handoff.d.ts.map +1 -1
  486. package/dist/runtime/run-spec/handoff.js +33 -0
  487. package/dist/runtime/run-spec/handoff.js.map +1 -1
  488. package/dist/runtime/run-spec/types.d.ts +16 -16
  489. package/dist/runtime/session-registry/types.d.ts +12 -12
  490. package/dist/runtime/store/artifact-retention.d.ts +2 -0
  491. package/dist/runtime/store/artifact-retention.d.ts.map +1 -1
  492. package/dist/runtime/store/artifact-retention.js +24 -21
  493. package/dist/runtime/store/artifact-retention.js.map +1 -1
  494. package/dist/runtime/store/budget-store.d.ts +8 -8
  495. package/dist/runtime/store/evidence-ledger.d.ts.map +1 -1
  496. package/dist/runtime/store/evidence-ledger.js +39 -1
  497. package/dist/runtime/store/evidence-ledger.js.map +1 -1
  498. package/dist/runtime/store/evidence-types.d.ts +204 -204
  499. package/dist/runtime/store/experiment-queue-store.d.ts +20 -20
  500. package/dist/runtime/store/index.d.ts +2 -2
  501. package/dist/runtime/store/index.d.ts.map +1 -1
  502. package/dist/runtime/store/index.js +1 -1
  503. package/dist/runtime/store/index.js.map +1 -1
  504. package/dist/runtime/store/operator-handoff-store.d.ts +3 -3
  505. package/dist/runtime/store/reproducibility-manifest.d.ts +20 -20
  506. package/dist/runtime/store/runtime-operation-schemas.d.ts +95 -62
  507. package/dist/runtime/store/runtime-operation-schemas.d.ts.map +1 -1
  508. package/dist/runtime/store/runtime-operation-schemas.js +9 -0
  509. package/dist/runtime/store/runtime-operation-schemas.js.map +1 -1
  510. package/dist/runtime/store/runtime-paths.d.ts +2 -0
  511. package/dist/runtime/store/runtime-paths.d.ts.map +1 -1
  512. package/dist/runtime/store/runtime-paths.js +6 -0
  513. package/dist/runtime/store/runtime-paths.js.map +1 -1
  514. package/dist/runtime/store/runtime-schemas.d.ts +2256 -46
  515. package/dist/runtime/store/runtime-schemas.d.ts.map +1 -1
  516. package/dist/runtime/store/runtime-schemas.js +85 -0
  517. package/dist/runtime/store/runtime-schemas.js.map +1 -1
  518. package/dist/runtime/types/companion.d.ts +52 -52
  519. package/dist/runtime/types/daemon.d.ts +31 -31
  520. package/dist/tools/automation/InteractiveAutomationTools.d.ts +22 -2
  521. package/dist/tools/automation/InteractiveAutomationTools.d.ts.map +1 -1
  522. package/dist/tools/automation/InteractiveAutomationTools.js +75 -10
  523. package/dist/tools/automation/InteractiveAutomationTools.js.map +1 -1
  524. package/dist/tools/builtin/factory.d.ts +2 -1
  525. package/dist/tools/builtin/factory.d.ts.map +1 -1
  526. package/dist/tools/builtin/factory.js +6 -2
  527. package/dist/tools/builtin/factory.js.map +1 -1
  528. package/dist/tools/execution/MemorySaveTool/MemorySaveTool.d.ts +20 -20
  529. package/dist/tools/execution/RunAdapterTool/RunAdapterTool.d.ts +6 -0
  530. package/dist/tools/execution/RunAdapterTool/RunAdapterTool.d.ts.map +1 -1
  531. package/dist/tools/execution/RunAdapterTool/RunAdapterTool.js +2 -0
  532. package/dist/tools/execution/RunAdapterTool/RunAdapterTool.js.map +1 -1
  533. package/dist/tools/execution-orchestrator.d.ts +29 -0
  534. package/dist/tools/execution-orchestrator.d.ts.map +1 -0
  535. package/dist/tools/execution-orchestrator.js +153 -0
  536. package/dist/tools/execution-orchestrator.js.map +1 -0
  537. package/dist/tools/executor.d.ts +6 -0
  538. package/dist/tools/executor.d.ts.map +1 -1
  539. package/dist/tools/executor.js +48 -11
  540. package/dist/tools/executor.js.map +1 -1
  541. package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.d.ts.map +1 -1
  542. package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.js +130 -17
  543. package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.js.map +1 -1
  544. package/dist/tools/kaggle/KaggleExperimentTools.js +4 -3
  545. package/dist/tools/kaggle/KaggleExperimentTools.js.map +1 -1
  546. package/dist/tools/kaggle/KaggleSubmissionTools.js +6 -5
  547. package/dist/tools/kaggle/KaggleSubmissionTools.js.map +1 -1
  548. package/dist/tools/kaggle/KaggleWorkspacePrepareTool.js +6 -5
  549. package/dist/tools/kaggle/KaggleWorkspacePrepareTool.js.map +1 -1
  550. package/dist/tools/kaggle/paths.d.ts.map +1 -1
  551. package/dist/tools/kaggle/paths.js +12 -8
  552. package/dist/tools/kaggle/paths.js.map +1 -1
  553. package/dist/tools/mutation/TaskStopTool/TaskStopTool.d.ts.map +1 -1
  554. package/dist/tools/mutation/TaskStopTool/TaskStopTool.js +8 -0
  555. package/dist/tools/mutation/TaskStopTool/TaskStopTool.js.map +1 -1
  556. package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.d.ts +8 -8
  557. package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.d.ts.map +1 -1
  558. package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.js +49 -7
  559. package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.js.map +1 -1
  560. package/dist/tools/network/GitHubCliTool/GitHubCliTool.d.ts +4 -4
  561. package/dist/tools/network/McpStdioTool/McpStdioTool.d.ts +4 -4
  562. package/dist/tools/permission.d.ts +0 -1
  563. package/dist/tools/permission.d.ts.map +1 -1
  564. package/dist/tools/permission.js +9 -33
  565. package/dist/tools/permission.js.map +1 -1
  566. package/dist/tools/query/CodeReadContextTool/CodeReadContextTool.d.ts +4 -4
  567. package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.d.ts +8 -8
  568. package/dist/tools/query/CodeSearchTool/CodeSearchTool.d.ts +4 -4
  569. package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.d.ts +4 -4
  570. package/dist/tools/query/runtime-session-tools.d.ts +73 -5
  571. package/dist/tools/query/runtime-session-tools.d.ts.map +1 -1
  572. package/dist/tools/query/runtime-session-tools.js +114 -0
  573. package/dist/tools/query/runtime-session-tools.js.map +1 -1
  574. package/dist/tools/runtime/LongRunningRuntimeTools.d.ts +72 -54
  575. package/dist/tools/runtime/LongRunningRuntimeTools.d.ts.map +1 -1
  576. package/dist/tools/runtime/LongRunningRuntimeTools.js +4 -1
  577. package/dist/tools/runtime/LongRunningRuntimeTools.js.map +1 -1
  578. package/dist/tools/runtime/RunSpecHandoffTools.d.ts.map +1 -1
  579. package/dist/tools/runtime/RunSpecHandoffTools.js +162 -2
  580. package/dist/tools/runtime/RunSpecHandoffTools.js.map +1 -1
  581. package/dist/tools/runtime/SetupRuntimeControlTools.d.ts.map +1 -1
  582. package/dist/tools/runtime/SetupRuntimeControlTools.js +169 -17
  583. package/dist/tools/runtime/SetupRuntimeControlTools.js.map +1 -1
  584. package/dist/tools/system/EnvTool/EnvTool.d.ts +4 -4
  585. package/dist/tools/system/GitDiffTool/GitDiffTool.d.ts +4 -4
  586. package/dist/tools/system/GitLogTool/GitLogTool.d.ts +4 -4
  587. package/dist/tools/system/ShellCommandTool/ShellCommandTool.d.ts.map +1 -1
  588. package/dist/tools/system/ShellCommandTool/ShellCommandTool.js +8 -2
  589. package/dist/tools/system/ShellCommandTool/ShellCommandTool.js.map +1 -1
  590. package/dist/tools/system/ShellTool/ShellTool.d.ts.map +1 -1
  591. package/dist/tools/system/ShellTool/ShellTool.js +29 -11
  592. package/dist/tools/system/ShellTool/ShellTool.js.map +1 -1
  593. package/dist/tools/system/ShellTool/command-policy.d.ts +12 -8
  594. package/dist/tools/system/ShellTool/command-policy.d.ts.map +1 -1
  595. package/dist/tools/system/ShellTool/command-policy.js +412 -98
  596. package/dist/tools/system/ShellTool/command-policy.js.map +1 -1
  597. package/dist/tools/system/ShellTool/prompt.d.ts +1 -1
  598. package/dist/tools/system/ShellTool/prompt.d.ts.map +1 -1
  599. package/dist/tools/system/ShellTool/prompt.js +1 -1
  600. package/dist/tools/system/ShellTool/prompt.js.map +1 -1
  601. package/dist/tools/system/TestRunnerTool/TestRunnerTool.d.ts +1 -1
  602. package/dist/tools/system/TestRunnerTool/TestRunnerTool.d.ts.map +1 -1
  603. package/dist/tools/system/TestRunnerTool/TestRunnerTool.js +152 -8
  604. package/dist/tools/system/TestRunnerTool/TestRunnerTool.js.map +1 -1
  605. package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.js +1 -1
  606. package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.js.map +1 -1
  607. package/dist/tools/types.d.ts +36 -12
  608. package/dist/tools/types.d.ts.map +1 -1
  609. package/dist/tools/types.js +26 -3
  610. package/dist/tools/types.js.map +1 -1
  611. package/dist/tools/workspace-scope.d.ts +11 -0
  612. package/dist/tools/workspace-scope.d.ts.map +1 -0
  613. package/dist/tools/workspace-scope.js +77 -0
  614. package/dist/tools/workspace-scope.js.map +1 -0
  615. package/package.json +2 -2
@@ -16,7 +16,7 @@ export declare const RuntimeEvidenceArtifactRefSchema: z.ZodObject<{
16
16
  source: z.ZodOptional<z.ZodString>;
17
17
  dependency_refs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18
18
  }, "strict", z.ZodTypeAny, {
19
- kind: "url" | "other" | "log" | "metrics" | "report" | "diff";
19
+ kind: "url" | "log" | "diff" | "other" | "metrics" | "report";
20
20
  label: string;
21
21
  path?: string | undefined;
22
22
  source?: string | undefined;
@@ -29,7 +29,7 @@ export declare const RuntimeEvidenceArtifactRefSchema: z.ZodObject<{
29
29
  label: string;
30
30
  path?: string | undefined;
31
31
  source?: string | undefined;
32
- kind?: "url" | "other" | "log" | "metrics" | "report" | "diff" | undefined;
32
+ kind?: "url" | "log" | "diff" | "other" | "metrics" | "report" | undefined;
33
33
  url?: string | undefined;
34
34
  state_relative_path?: string | undefined;
35
35
  retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
@@ -264,7 +264,7 @@ export declare const RuntimeEvidenceCandidateRecordSchema: z.ZodObject<{
264
264
  source: z.ZodOptional<z.ZodString>;
265
265
  dependency_refs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
266
266
  }, "strict", z.ZodTypeAny, {
267
- kind: "url" | "other" | "log" | "metrics" | "report" | "diff";
267
+ kind: "url" | "log" | "diff" | "other" | "metrics" | "report";
268
268
  label: string;
269
269
  path?: string | undefined;
270
270
  source?: string | undefined;
@@ -277,7 +277,7 @@ export declare const RuntimeEvidenceCandidateRecordSchema: z.ZodObject<{
277
277
  label: string;
278
278
  path?: string | undefined;
279
279
  source?: string | undefined;
280
- kind?: "url" | "other" | "log" | "metrics" | "report" | "diff" | undefined;
280
+ kind?: "url" | "log" | "diff" | "other" | "metrics" | "report" | undefined;
281
281
  url?: string | undefined;
282
282
  state_relative_path?: string | undefined;
283
283
  retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
@@ -425,7 +425,7 @@ export declare const RuntimeEvidenceCandidateRecordSchema: z.ZodObject<{
425
425
  summary?: string | undefined;
426
426
  }[];
427
427
  artifacts: {
428
- kind: "url" | "other" | "log" | "metrics" | "report" | "diff";
428
+ kind: "url" | "log" | "diff" | "other" | "metrics" | "report";
429
429
  label: string;
430
430
  path?: string | undefined;
431
431
  source?: string | undefined;
@@ -507,7 +507,7 @@ export declare const RuntimeEvidenceCandidateRecordSchema: z.ZodObject<{
507
507
  label: string;
508
508
  path?: string | undefined;
509
509
  source?: string | undefined;
510
- kind?: "url" | "other" | "log" | "metrics" | "report" | "diff" | undefined;
510
+ kind?: "url" | "log" | "diff" | "other" | "metrics" | "report" | undefined;
511
511
  url?: string | undefined;
512
512
  state_relative_path?: string | undefined;
513
513
  retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
@@ -575,13 +575,13 @@ export declare const RuntimeEvidenceEvaluatorPublishActionSchema: z.ZodObject<{
575
575
  label: string;
576
576
  id: string;
577
577
  approval_required: true;
578
- status?: "completed" | "approval_required" | "approved" | "blocked" | "submitted" | undefined;
578
+ status?: "completed" | "blocked" | "approval_required" | "approved" | "submitted" | undefined;
579
579
  tool_name?: string | undefined;
580
580
  payload_ref?: string | undefined;
581
581
  }, {
582
582
  label: string;
583
583
  id: string;
584
- status?: "completed" | "approval_required" | "approved" | "blocked" | "submitted" | undefined;
584
+ status?: "completed" | "blocked" | "approval_required" | "approved" | "submitted" | undefined;
585
585
  tool_name?: string | undefined;
586
586
  payload_ref?: string | undefined;
587
587
  approval_required?: true | undefined;
@@ -592,11 +592,11 @@ export declare const RuntimeEvidenceEvaluatorValidationSchema: z.ZodObject<{
592
592
  command: z.ZodOptional<z.ZodString>;
593
593
  summary: z.ZodOptional<z.ZodString>;
594
594
  }, "strict", z.ZodTypeAny, {
595
- status: "unknown" | "pending" | "failed" | "blocked" | "passed";
595
+ status: "unknown" | "pending" | "blocked" | "passed" | "failed";
596
596
  summary?: string | undefined;
597
597
  command?: string | undefined;
598
598
  }, {
599
- status?: "unknown" | "pending" | "failed" | "blocked" | "passed" | undefined;
599
+ status?: "unknown" | "pending" | "blocked" | "passed" | "failed" | undefined;
600
600
  summary?: string | undefined;
601
601
  command?: string | undefined;
602
602
  }>;
@@ -611,17 +611,17 @@ export declare const RuntimeEvidenceEvaluatorProvenanceSchema: z.ZodObject<{
611
611
  retrieved_at: z.ZodOptional<z.ZodString>;
612
612
  }, "strict", z.ZodTypeAny, {
613
613
  kind: "other" | "local_command" | "external_url" | "ci" | "benchmark" | "human_review";
614
+ run_id?: string | undefined;
614
615
  command?: string | undefined;
615
616
  url?: string | undefined;
616
- run_id?: string | undefined;
617
617
  external_id?: string | undefined;
618
618
  raw_ref?: string | undefined;
619
619
  retrieved_at?: string | undefined;
620
620
  }, {
621
621
  kind?: "other" | "local_command" | "external_url" | "ci" | "benchmark" | "human_review" | undefined;
622
+ run_id?: string | undefined;
622
623
  command?: string | undefined;
623
624
  url?: string | undefined;
624
- run_id?: string | undefined;
625
625
  external_id?: string | undefined;
626
626
  raw_ref?: string | undefined;
627
627
  retrieved_at?: string | undefined;
@@ -816,11 +816,11 @@ export declare const RuntimeEvidenceEvaluatorObservationSchema: z.ZodObject<{
816
816
  command: z.ZodOptional<z.ZodString>;
817
817
  summary: z.ZodOptional<z.ZodString>;
818
818
  }, "strict", z.ZodTypeAny, {
819
- status: "unknown" | "pending" | "failed" | "blocked" | "passed";
819
+ status: "unknown" | "pending" | "blocked" | "passed" | "failed";
820
820
  summary?: string | undefined;
821
821
  command?: string | undefined;
822
822
  }, {
823
- status?: "unknown" | "pending" | "failed" | "blocked" | "passed" | undefined;
823
+ status?: "unknown" | "pending" | "blocked" | "passed" | "failed" | undefined;
824
824
  summary?: string | undefined;
825
825
  command?: string | undefined;
826
826
  }>>;
@@ -835,13 +835,13 @@ export declare const RuntimeEvidenceEvaluatorObservationSchema: z.ZodObject<{
835
835
  label: string;
836
836
  id: string;
837
837
  approval_required: true;
838
- status?: "completed" | "approval_required" | "approved" | "blocked" | "submitted" | undefined;
838
+ status?: "completed" | "blocked" | "approval_required" | "approved" | "submitted" | undefined;
839
839
  tool_name?: string | undefined;
840
840
  payload_ref?: string | undefined;
841
841
  }, {
842
842
  label: string;
843
843
  id: string;
844
- status?: "completed" | "approval_required" | "approved" | "blocked" | "submitted" | undefined;
844
+ status?: "completed" | "blocked" | "approval_required" | "approved" | "submitted" | undefined;
845
845
  tool_name?: string | undefined;
846
846
  payload_ref?: string | undefined;
847
847
  approval_required?: true | undefined;
@@ -856,17 +856,17 @@ export declare const RuntimeEvidenceEvaluatorObservationSchema: z.ZodObject<{
856
856
  retrieved_at: z.ZodOptional<z.ZodString>;
857
857
  }, "strict", z.ZodTypeAny, {
858
858
  kind: "other" | "local_command" | "external_url" | "ci" | "benchmark" | "human_review";
859
+ run_id?: string | undefined;
859
860
  command?: string | undefined;
860
861
  url?: string | undefined;
861
- run_id?: string | undefined;
862
862
  external_id?: string | undefined;
863
863
  raw_ref?: string | undefined;
864
864
  retrieved_at?: string | undefined;
865
865
  }, {
866
866
  kind?: "other" | "local_command" | "external_url" | "ci" | "benchmark" | "human_review" | undefined;
867
+ run_id?: string | undefined;
867
868
  command?: string | undefined;
868
869
  url?: string | undefined;
869
- run_id?: string | undefined;
870
870
  external_id?: string | undefined;
871
871
  raw_ref?: string | undefined;
872
872
  retrieved_at?: string | undefined;
@@ -1039,13 +1039,13 @@ export declare const RuntimeEvidenceEvaluatorObservationSchema: z.ZodObject<{
1039
1039
  }>>;
1040
1040
  summary: z.ZodOptional<z.ZodString>;
1041
1041
  }, "strict", z.ZodTypeAny, {
1042
- status: "unknown" | "pending" | "completed" | "approval_required" | "failed" | "regressed" | "blocked" | "passed" | "ready" | "submitted" | "succeeded";
1042
+ status: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded";
1043
1043
  source: string;
1044
1044
  candidate_id: string;
1045
1045
  signal: "external" | "local";
1046
1046
  evaluator_id: string;
1047
1047
  validation?: {
1048
- status: "unknown" | "pending" | "failed" | "blocked" | "passed";
1048
+ status: "unknown" | "pending" | "blocked" | "passed" | "failed";
1049
1049
  summary?: string | undefined;
1050
1050
  command?: string | undefined;
1051
1051
  } | undefined;
@@ -1055,9 +1055,9 @@ export declare const RuntimeEvidenceEvaluatorObservationSchema: z.ZodObject<{
1055
1055
  observed_at?: string | undefined;
1056
1056
  provenance?: {
1057
1057
  kind: "other" | "local_command" | "external_url" | "ci" | "benchmark" | "human_review";
1058
+ run_id?: string | undefined;
1058
1059
  command?: string | undefined;
1059
1060
  url?: string | undefined;
1060
- run_id?: string | undefined;
1061
1061
  external_id?: string | undefined;
1062
1062
  raw_ref?: string | undefined;
1063
1063
  retrieved_at?: string | undefined;
@@ -1080,13 +1080,13 @@ export declare const RuntimeEvidenceEvaluatorObservationSchema: z.ZodObject<{
1080
1080
  artifact_labels?: string[] | undefined;
1081
1081
  score_label?: string | undefined;
1082
1082
  expected_score?: string | number | boolean | null | undefined;
1083
- expected_status?: "unknown" | "pending" | "completed" | "approval_required" | "failed" | "regressed" | "blocked" | "passed" | "ready" | "submitted" | "succeeded" | undefined;
1083
+ expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
1084
1084
  expectation_source?: string | undefined;
1085
1085
  publish_action?: {
1086
1086
  label: string;
1087
1087
  id: string;
1088
1088
  approval_required: true;
1089
- status?: "completed" | "approval_required" | "approved" | "blocked" | "submitted" | undefined;
1089
+ status?: "completed" | "blocked" | "approval_required" | "approved" | "submitted" | undefined;
1090
1090
  tool_name?: string | undefined;
1091
1091
  payload_ref?: string | undefined;
1092
1092
  } | undefined;
@@ -1126,20 +1126,20 @@ export declare const RuntimeEvidenceEvaluatorObservationSchema: z.ZodObject<{
1126
1126
  signal: "external" | "local";
1127
1127
  evaluator_id: string;
1128
1128
  validation?: {
1129
- status?: "unknown" | "pending" | "failed" | "blocked" | "passed" | undefined;
1129
+ status?: "unknown" | "pending" | "blocked" | "passed" | "failed" | undefined;
1130
1130
  summary?: string | undefined;
1131
1131
  command?: string | undefined;
1132
1132
  } | undefined;
1133
- status?: "unknown" | "pending" | "completed" | "approval_required" | "failed" | "regressed" | "blocked" | "passed" | "ready" | "submitted" | "succeeded" | undefined;
1133
+ status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
1134
1134
  direction?: "neutral" | "maximize" | "minimize" | undefined;
1135
1135
  summary?: string | undefined;
1136
1136
  score?: string | number | boolean | null | undefined;
1137
1137
  observed_at?: string | undefined;
1138
1138
  provenance?: {
1139
1139
  kind?: "other" | "local_command" | "external_url" | "ci" | "benchmark" | "human_review" | undefined;
1140
+ run_id?: string | undefined;
1140
1141
  command?: string | undefined;
1141
1142
  url?: string | undefined;
1142
- run_id?: string | undefined;
1143
1143
  external_id?: string | undefined;
1144
1144
  raw_ref?: string | undefined;
1145
1145
  retrieved_at?: string | undefined;
@@ -1162,12 +1162,12 @@ export declare const RuntimeEvidenceEvaluatorObservationSchema: z.ZodObject<{
1162
1162
  artifact_labels?: string[] | undefined;
1163
1163
  score_label?: string | undefined;
1164
1164
  expected_score?: string | number | boolean | null | undefined;
1165
- expected_status?: "unknown" | "pending" | "completed" | "approval_required" | "failed" | "regressed" | "blocked" | "passed" | "ready" | "submitted" | "succeeded" | undefined;
1165
+ expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
1166
1166
  expectation_source?: string | undefined;
1167
1167
  publish_action?: {
1168
1168
  label: string;
1169
1169
  id: string;
1170
- status?: "completed" | "approval_required" | "approved" | "blocked" | "submitted" | undefined;
1170
+ status?: "completed" | "blocked" | "approval_required" | "approved" | "submitted" | undefined;
1171
1171
  tool_name?: string | undefined;
1172
1172
  payload_ref?: string | undefined;
1173
1173
  approval_required?: true | undefined;
@@ -1479,7 +1479,7 @@ export declare const RuntimeEvidenceDreamCheckpointMemoryRefSchema: z.ZodObject<
1479
1479
  }, "strict", z.ZodTypeAny, {
1480
1480
  source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
1481
1481
  raw_refs: string[];
1482
- verification_status: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious";
1482
+ verification_status: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious";
1483
1483
  risk_signals: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[];
1484
1484
  reliability?: number | undefined;
1485
1485
  source_ref?: string | undefined;
@@ -1488,7 +1488,7 @@ export declare const RuntimeEvidenceDreamCheckpointMemoryRefSchema: z.ZodObject<
1488
1488
  source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
1489
1489
  source_ref?: string | undefined;
1490
1490
  raw_refs?: string[] | undefined;
1491
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
1491
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
1492
1492
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
1493
1493
  }>>;
1494
1494
  quarantine_state: z.ZodOptional<z.ZodObject<{
@@ -1564,16 +1564,16 @@ export declare const RuntimeEvidenceDreamCheckpointMemoryRefSchema: z.ZodObject<
1564
1564
  summary: string;
1565
1565
  source_type: "other" | "soil" | "playbook" | "runtime_evidence";
1566
1566
  authority: "advisory_only";
1567
+ ref?: string | undefined;
1567
1568
  recency_score?: number | undefined;
1568
1569
  provenance?: {
1569
1570
  source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
1570
1571
  raw_refs: string[];
1571
- verification_status: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious";
1572
+ verification_status: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious";
1572
1573
  risk_signals: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[];
1573
1574
  reliability?: number | undefined;
1574
1575
  source_ref?: string | undefined;
1575
1576
  } | undefined;
1576
- ref?: string | undefined;
1577
1577
  relevance_score?: number | undefined;
1578
1578
  source_reliability?: number | undefined;
1579
1579
  prior_success_contribution?: number | undefined;
@@ -1593,7 +1593,7 @@ export declare const RuntimeEvidenceDreamCheckpointMemoryRefSchema: z.ZodObject<
1593
1593
  score: number;
1594
1594
  decision: "rejected" | "admitted";
1595
1595
  } | undefined;
1596
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
1596
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
1597
1597
  quarantine_state?: {
1598
1598
  status: "quarantined";
1599
1599
  source: "system" | "user" | "runtime_verification" | "memory_lint";
@@ -1606,16 +1606,16 @@ export declare const RuntimeEvidenceDreamCheckpointMemoryRefSchema: z.ZodObject<
1606
1606
  }, {
1607
1607
  summary: string;
1608
1608
  source_type: "other" | "soil" | "playbook" | "runtime_evidence";
1609
+ ref?: string | undefined;
1609
1610
  recency_score?: number | undefined;
1610
1611
  provenance?: {
1611
1612
  reliability?: number | undefined;
1612
1613
  source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
1613
1614
  source_ref?: string | undefined;
1614
1615
  raw_refs?: string[] | undefined;
1615
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
1616
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
1616
1617
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
1617
1618
  } | undefined;
1618
- ref?: string | undefined;
1619
1619
  authority?: "advisory_only" | undefined;
1620
1620
  relevance_score?: number | undefined;
1621
1621
  source_reliability?: number | undefined;
@@ -1636,7 +1636,7 @@ export declare const RuntimeEvidenceDreamCheckpointMemoryRefSchema: z.ZodObject<
1636
1636
  score: number;
1637
1637
  decision: "rejected" | "admitted";
1638
1638
  } | undefined;
1639
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
1639
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
1640
1640
  quarantine_state?: {
1641
1641
  status: "quarantined";
1642
1642
  confidence: number;
@@ -1781,9 +1781,9 @@ export declare const RuntimeEvidenceDreamRunControlRecommendationSchema: z.ZodOb
1781
1781
  ref?: string | undefined;
1782
1782
  }[];
1783
1783
  action: "stay_current_mode" | "widen_exploration" | "consolidate_candidates" | "freeze_experiment_queue" | "enter_finalization" | "preserve_near_miss_candidates" | "retire_low_value_lineage" | "request_operator_approval";
1784
+ risk: "low" | "high" | "medium";
1784
1785
  candidate_refs: string[];
1785
1786
  lineage_refs: string[];
1786
- risk: "low" | "high" | "medium";
1787
1787
  id?: string | undefined;
1788
1788
  target_mode?: "exploration" | "consolidation" | "finalization" | undefined;
1789
1789
  target_strategy_family?: string | undefined;
@@ -1802,11 +1802,11 @@ export declare const RuntimeEvidenceDreamRunControlRecommendationSchema: z.ZodOb
1802
1802
  confidence?: number | undefined;
1803
1803
  id?: string | undefined;
1804
1804
  approval_required?: boolean | undefined;
1805
+ risk?: "low" | "high" | "medium" | undefined;
1805
1806
  target_mode?: "exploration" | "consolidation" | "finalization" | undefined;
1806
1807
  target_strategy_family?: string | undefined;
1807
1808
  candidate_refs?: string[] | undefined;
1808
1809
  lineage_refs?: string[] | undefined;
1809
- risk?: "low" | "high" | "medium" | undefined;
1810
1810
  policy_decision?: {
1811
1811
  reason: string;
1812
1812
  disposition: "approval_required" | "advisory_only" | "auto_apply";
@@ -1840,7 +1840,7 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
1840
1840
  }, "strict", z.ZodTypeAny, {
1841
1841
  source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
1842
1842
  raw_refs: string[];
1843
- verification_status: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious";
1843
+ verification_status: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious";
1844
1844
  risk_signals: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[];
1845
1845
  reliability?: number | undefined;
1846
1846
  source_ref?: string | undefined;
@@ -1849,7 +1849,7 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
1849
1849
  source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
1850
1850
  source_ref?: string | undefined;
1851
1851
  raw_refs?: string[] | undefined;
1852
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
1852
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
1853
1853
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
1854
1854
  }>>;
1855
1855
  quarantine_state: z.ZodOptional<z.ZodObject<{
@@ -1925,16 +1925,16 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
1925
1925
  summary: string;
1926
1926
  source_type: "other" | "soil" | "playbook" | "runtime_evidence";
1927
1927
  authority: "advisory_only";
1928
+ ref?: string | undefined;
1928
1929
  recency_score?: number | undefined;
1929
1930
  provenance?: {
1930
1931
  source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
1931
1932
  raw_refs: string[];
1932
- verification_status: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious";
1933
+ verification_status: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious";
1933
1934
  risk_signals: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[];
1934
1935
  reliability?: number | undefined;
1935
1936
  source_ref?: string | undefined;
1936
1937
  } | undefined;
1937
- ref?: string | undefined;
1938
1938
  relevance_score?: number | undefined;
1939
1939
  source_reliability?: number | undefined;
1940
1940
  prior_success_contribution?: number | undefined;
@@ -1954,7 +1954,7 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
1954
1954
  score: number;
1955
1955
  decision: "rejected" | "admitted";
1956
1956
  } | undefined;
1957
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
1957
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
1958
1958
  quarantine_state?: {
1959
1959
  status: "quarantined";
1960
1960
  source: "system" | "user" | "runtime_verification" | "memory_lint";
@@ -1967,16 +1967,16 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
1967
1967
  }, {
1968
1968
  summary: string;
1969
1969
  source_type: "other" | "soil" | "playbook" | "runtime_evidence";
1970
+ ref?: string | undefined;
1970
1971
  recency_score?: number | undefined;
1971
1972
  provenance?: {
1972
1973
  reliability?: number | undefined;
1973
1974
  source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
1974
1975
  source_ref?: string | undefined;
1975
1976
  raw_refs?: string[] | undefined;
1976
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
1977
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
1977
1978
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
1978
1979
  } | undefined;
1979
- ref?: string | undefined;
1980
1980
  authority?: "advisory_only" | undefined;
1981
1981
  relevance_score?: number | undefined;
1982
1982
  source_reliability?: number | undefined;
@@ -1997,7 +1997,7 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
1997
1997
  score: number;
1998
1998
  decision: "rejected" | "admitted";
1999
1999
  } | undefined;
2000
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
2000
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
2001
2001
  quarantine_state?: {
2002
2002
  status: "quarantined";
2003
2003
  confidence: number;
@@ -2138,9 +2138,9 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2138
2138
  ref?: string | undefined;
2139
2139
  }[];
2140
2140
  action: "stay_current_mode" | "widen_exploration" | "consolidate_candidates" | "freeze_experiment_queue" | "enter_finalization" | "preserve_near_miss_candidates" | "retire_low_value_lineage" | "request_operator_approval";
2141
+ risk: "low" | "high" | "medium";
2141
2142
  candidate_refs: string[];
2142
2143
  lineage_refs: string[];
2143
- risk: "low" | "high" | "medium";
2144
2144
  id?: string | undefined;
2145
2145
  target_mode?: "exploration" | "consolidation" | "finalization" | undefined;
2146
2146
  target_strategy_family?: string | undefined;
@@ -2159,11 +2159,11 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2159
2159
  confidence?: number | undefined;
2160
2160
  id?: string | undefined;
2161
2161
  approval_required?: boolean | undefined;
2162
+ risk?: "low" | "high" | "medium" | undefined;
2162
2163
  target_mode?: "exploration" | "consolidation" | "finalization" | undefined;
2163
2164
  target_strategy_family?: string | undefined;
2164
2165
  candidate_refs?: string[] | undefined;
2165
2166
  lineage_refs?: string[] | undefined;
2166
- risk?: "low" | "high" | "medium" | undefined;
2167
2167
  policy_decision?: {
2168
2168
  reason: string;
2169
2169
  disposition: "approval_required" | "advisory_only" | "auto_apply";
@@ -2187,16 +2187,16 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2187
2187
  summary: string;
2188
2188
  source_type: "other" | "soil" | "playbook" | "runtime_evidence";
2189
2189
  authority: "advisory_only";
2190
+ ref?: string | undefined;
2190
2191
  recency_score?: number | undefined;
2191
2192
  provenance?: {
2192
2193
  source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
2193
2194
  raw_refs: string[];
2194
- verification_status: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious";
2195
+ verification_status: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious";
2195
2196
  risk_signals: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[];
2196
2197
  reliability?: number | undefined;
2197
2198
  source_ref?: string | undefined;
2198
2199
  } | undefined;
2199
- ref?: string | undefined;
2200
2200
  relevance_score?: number | undefined;
2201
2201
  source_reliability?: number | undefined;
2202
2202
  prior_success_contribution?: number | undefined;
@@ -2216,7 +2216,7 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2216
2216
  score: number;
2217
2217
  decision: "rejected" | "admitted";
2218
2218
  } | undefined;
2219
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
2219
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
2220
2220
  quarantine_state?: {
2221
2221
  status: "quarantined";
2222
2222
  source: "system" | "user" | "runtime_verification" | "memory_lint";
@@ -2268,9 +2268,9 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2268
2268
  ref?: string | undefined;
2269
2269
  }[];
2270
2270
  action: "stay_current_mode" | "widen_exploration" | "consolidate_candidates" | "freeze_experiment_queue" | "enter_finalization" | "preserve_near_miss_candidates" | "retire_low_value_lineage" | "request_operator_approval";
2271
+ risk: "low" | "high" | "medium";
2271
2272
  candidate_refs: string[];
2272
2273
  lineage_refs: string[];
2273
- risk: "low" | "high" | "medium";
2274
2274
  id?: string | undefined;
2275
2275
  target_mode?: "exploration" | "consolidation" | "finalization" | undefined;
2276
2276
  target_strategy_family?: string | undefined;
@@ -2294,16 +2294,16 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2294
2294
  relevant_memories?: {
2295
2295
  summary: string;
2296
2296
  source_type: "other" | "soil" | "playbook" | "runtime_evidence";
2297
+ ref?: string | undefined;
2297
2298
  recency_score?: number | undefined;
2298
2299
  provenance?: {
2299
2300
  reliability?: number | undefined;
2300
2301
  source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
2301
2302
  source_ref?: string | undefined;
2302
2303
  raw_refs?: string[] | undefined;
2303
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
2304
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
2304
2305
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
2305
2306
  } | undefined;
2306
- ref?: string | undefined;
2307
2307
  authority?: "advisory_only" | undefined;
2308
2308
  relevance_score?: number | undefined;
2309
2309
  source_reliability?: number | undefined;
@@ -2324,7 +2324,7 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2324
2324
  score: number;
2325
2325
  decision: "rejected" | "admitted";
2326
2326
  } | undefined;
2327
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
2327
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
2328
2328
  quarantine_state?: {
2329
2329
  status: "quarantined";
2330
2330
  confidence: number;
@@ -2374,11 +2374,11 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2374
2374
  confidence?: number | undefined;
2375
2375
  id?: string | undefined;
2376
2376
  approval_required?: boolean | undefined;
2377
+ risk?: "low" | "high" | "medium" | undefined;
2377
2378
  target_mode?: "exploration" | "consolidation" | "finalization" | undefined;
2378
2379
  target_strategy_family?: string | undefined;
2379
2380
  candidate_refs?: string[] | undefined;
2380
2381
  lineage_refs?: string[] | undefined;
2381
- risk?: "low" | "high" | "medium" | undefined;
2382
2382
  policy_decision?: {
2383
2383
  reason: string;
2384
2384
  disposition: "approval_required" | "advisory_only" | "auto_apply";
@@ -2540,11 +2540,11 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
2540
2540
  command: z.ZodOptional<z.ZodString>;
2541
2541
  summary: z.ZodOptional<z.ZodString>;
2542
2542
  }, "strict", z.ZodTypeAny, {
2543
- status: "unknown" | "pending" | "failed" | "blocked" | "passed";
2543
+ status: "unknown" | "pending" | "blocked" | "passed" | "failed";
2544
2544
  summary?: string | undefined;
2545
2545
  command?: string | undefined;
2546
2546
  }, {
2547
- status?: "unknown" | "pending" | "failed" | "blocked" | "passed" | undefined;
2547
+ status?: "unknown" | "pending" | "blocked" | "passed" | "failed" | undefined;
2548
2548
  summary?: string | undefined;
2549
2549
  command?: string | undefined;
2550
2550
  }>>;
@@ -2559,13 +2559,13 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
2559
2559
  label: string;
2560
2560
  id: string;
2561
2561
  approval_required: true;
2562
- status?: "completed" | "approval_required" | "approved" | "blocked" | "submitted" | undefined;
2562
+ status?: "completed" | "blocked" | "approval_required" | "approved" | "submitted" | undefined;
2563
2563
  tool_name?: string | undefined;
2564
2564
  payload_ref?: string | undefined;
2565
2565
  }, {
2566
2566
  label: string;
2567
2567
  id: string;
2568
- status?: "completed" | "approval_required" | "approved" | "blocked" | "submitted" | undefined;
2568
+ status?: "completed" | "blocked" | "approval_required" | "approved" | "submitted" | undefined;
2569
2569
  tool_name?: string | undefined;
2570
2570
  payload_ref?: string | undefined;
2571
2571
  approval_required?: true | undefined;
@@ -2580,17 +2580,17 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
2580
2580
  retrieved_at: z.ZodOptional<z.ZodString>;
2581
2581
  }, "strict", z.ZodTypeAny, {
2582
2582
  kind: "other" | "local_command" | "external_url" | "ci" | "benchmark" | "human_review";
2583
+ run_id?: string | undefined;
2583
2584
  command?: string | undefined;
2584
2585
  url?: string | undefined;
2585
- run_id?: string | undefined;
2586
2586
  external_id?: string | undefined;
2587
2587
  raw_ref?: string | undefined;
2588
2588
  retrieved_at?: string | undefined;
2589
2589
  }, {
2590
2590
  kind?: "other" | "local_command" | "external_url" | "ci" | "benchmark" | "human_review" | undefined;
2591
+ run_id?: string | undefined;
2591
2592
  command?: string | undefined;
2592
2593
  url?: string | undefined;
2593
- run_id?: string | undefined;
2594
2594
  external_id?: string | undefined;
2595
2595
  raw_ref?: string | undefined;
2596
2596
  retrieved_at?: string | undefined;
@@ -2763,13 +2763,13 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
2763
2763
  }>>;
2764
2764
  summary: z.ZodOptional<z.ZodString>;
2765
2765
  }, "strict", z.ZodTypeAny, {
2766
- status: "unknown" | "pending" | "completed" | "approval_required" | "failed" | "regressed" | "blocked" | "passed" | "ready" | "submitted" | "succeeded";
2766
+ status: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded";
2767
2767
  source: string;
2768
2768
  candidate_id: string;
2769
2769
  signal: "external" | "local";
2770
2770
  evaluator_id: string;
2771
2771
  validation?: {
2772
- status: "unknown" | "pending" | "failed" | "blocked" | "passed";
2772
+ status: "unknown" | "pending" | "blocked" | "passed" | "failed";
2773
2773
  summary?: string | undefined;
2774
2774
  command?: string | undefined;
2775
2775
  } | undefined;
@@ -2779,9 +2779,9 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
2779
2779
  observed_at?: string | undefined;
2780
2780
  provenance?: {
2781
2781
  kind: "other" | "local_command" | "external_url" | "ci" | "benchmark" | "human_review";
2782
+ run_id?: string | undefined;
2782
2783
  command?: string | undefined;
2783
2784
  url?: string | undefined;
2784
- run_id?: string | undefined;
2785
2785
  external_id?: string | undefined;
2786
2786
  raw_ref?: string | undefined;
2787
2787
  retrieved_at?: string | undefined;
@@ -2804,13 +2804,13 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
2804
2804
  artifact_labels?: string[] | undefined;
2805
2805
  score_label?: string | undefined;
2806
2806
  expected_score?: string | number | boolean | null | undefined;
2807
- expected_status?: "unknown" | "pending" | "completed" | "approval_required" | "failed" | "regressed" | "blocked" | "passed" | "ready" | "submitted" | "succeeded" | undefined;
2807
+ expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
2808
2808
  expectation_source?: string | undefined;
2809
2809
  publish_action?: {
2810
2810
  label: string;
2811
2811
  id: string;
2812
2812
  approval_required: true;
2813
- status?: "completed" | "approval_required" | "approved" | "blocked" | "submitted" | undefined;
2813
+ status?: "completed" | "blocked" | "approval_required" | "approved" | "submitted" | undefined;
2814
2814
  tool_name?: string | undefined;
2815
2815
  payload_ref?: string | undefined;
2816
2816
  } | undefined;
@@ -2850,20 +2850,20 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
2850
2850
  signal: "external" | "local";
2851
2851
  evaluator_id: string;
2852
2852
  validation?: {
2853
- status?: "unknown" | "pending" | "failed" | "blocked" | "passed" | undefined;
2853
+ status?: "unknown" | "pending" | "blocked" | "passed" | "failed" | undefined;
2854
2854
  summary?: string | undefined;
2855
2855
  command?: string | undefined;
2856
2856
  } | undefined;
2857
- status?: "unknown" | "pending" | "completed" | "approval_required" | "failed" | "regressed" | "blocked" | "passed" | "ready" | "submitted" | "succeeded" | undefined;
2857
+ status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
2858
2858
  direction?: "neutral" | "maximize" | "minimize" | undefined;
2859
2859
  summary?: string | undefined;
2860
2860
  score?: string | number | boolean | null | undefined;
2861
2861
  observed_at?: string | undefined;
2862
2862
  provenance?: {
2863
2863
  kind?: "other" | "local_command" | "external_url" | "ci" | "benchmark" | "human_review" | undefined;
2864
+ run_id?: string | undefined;
2864
2865
  command?: string | undefined;
2865
2866
  url?: string | undefined;
2866
- run_id?: string | undefined;
2867
2867
  external_id?: string | undefined;
2868
2868
  raw_ref?: string | undefined;
2869
2869
  retrieved_at?: string | undefined;
@@ -2886,12 +2886,12 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
2886
2886
  artifact_labels?: string[] | undefined;
2887
2887
  score_label?: string | undefined;
2888
2888
  expected_score?: string | number | boolean | null | undefined;
2889
- expected_status?: "unknown" | "pending" | "completed" | "approval_required" | "failed" | "regressed" | "blocked" | "passed" | "ready" | "submitted" | "succeeded" | undefined;
2889
+ expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
2890
2890
  expectation_source?: string | undefined;
2891
2891
  publish_action?: {
2892
2892
  label: string;
2893
2893
  id: string;
2894
- status?: "completed" | "approval_required" | "approved" | "blocked" | "submitted" | undefined;
2894
+ status?: "completed" | "blocked" | "approval_required" | "approved" | "submitted" | undefined;
2895
2895
  tool_name?: string | undefined;
2896
2896
  payload_ref?: string | undefined;
2897
2897
  approval_required?: true | undefined;
@@ -3116,7 +3116,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3116
3116
  }, "strict", z.ZodTypeAny, {
3117
3117
  source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
3118
3118
  raw_refs: string[];
3119
- verification_status: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious";
3119
+ verification_status: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious";
3120
3120
  risk_signals: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[];
3121
3121
  reliability?: number | undefined;
3122
3122
  source_ref?: string | undefined;
@@ -3125,7 +3125,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3125
3125
  source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
3126
3126
  source_ref?: string | undefined;
3127
3127
  raw_refs?: string[] | undefined;
3128
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
3128
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
3129
3129
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
3130
3130
  }>>;
3131
3131
  quarantine_state: z.ZodOptional<z.ZodObject<{
@@ -3201,16 +3201,16 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3201
3201
  summary: string;
3202
3202
  source_type: "other" | "soil" | "playbook" | "runtime_evidence";
3203
3203
  authority: "advisory_only";
3204
+ ref?: string | undefined;
3204
3205
  recency_score?: number | undefined;
3205
3206
  provenance?: {
3206
3207
  source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
3207
3208
  raw_refs: string[];
3208
- verification_status: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious";
3209
+ verification_status: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious";
3209
3210
  risk_signals: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[];
3210
3211
  reliability?: number | undefined;
3211
3212
  source_ref?: string | undefined;
3212
3213
  } | undefined;
3213
- ref?: string | undefined;
3214
3214
  relevance_score?: number | undefined;
3215
3215
  source_reliability?: number | undefined;
3216
3216
  prior_success_contribution?: number | undefined;
@@ -3230,7 +3230,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3230
3230
  score: number;
3231
3231
  decision: "rejected" | "admitted";
3232
3232
  } | undefined;
3233
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
3233
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
3234
3234
  quarantine_state?: {
3235
3235
  status: "quarantined";
3236
3236
  source: "system" | "user" | "runtime_verification" | "memory_lint";
@@ -3243,16 +3243,16 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3243
3243
  }, {
3244
3244
  summary: string;
3245
3245
  source_type: "other" | "soil" | "playbook" | "runtime_evidence";
3246
+ ref?: string | undefined;
3246
3247
  recency_score?: number | undefined;
3247
3248
  provenance?: {
3248
3249
  reliability?: number | undefined;
3249
3250
  source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
3250
3251
  source_ref?: string | undefined;
3251
3252
  raw_refs?: string[] | undefined;
3252
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
3253
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
3253
3254
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
3254
3255
  } | undefined;
3255
- ref?: string | undefined;
3256
3256
  authority?: "advisory_only" | undefined;
3257
3257
  relevance_score?: number | undefined;
3258
3258
  source_reliability?: number | undefined;
@@ -3273,7 +3273,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3273
3273
  score: number;
3274
3274
  decision: "rejected" | "admitted";
3275
3275
  } | undefined;
3276
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
3276
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
3277
3277
  quarantine_state?: {
3278
3278
  status: "quarantined";
3279
3279
  confidence: number;
@@ -3414,9 +3414,9 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3414
3414
  ref?: string | undefined;
3415
3415
  }[];
3416
3416
  action: "stay_current_mode" | "widen_exploration" | "consolidate_candidates" | "freeze_experiment_queue" | "enter_finalization" | "preserve_near_miss_candidates" | "retire_low_value_lineage" | "request_operator_approval";
3417
+ risk: "low" | "high" | "medium";
3417
3418
  candidate_refs: string[];
3418
3419
  lineage_refs: string[];
3419
- risk: "low" | "high" | "medium";
3420
3420
  id?: string | undefined;
3421
3421
  target_mode?: "exploration" | "consolidation" | "finalization" | undefined;
3422
3422
  target_strategy_family?: string | undefined;
@@ -3435,11 +3435,11 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3435
3435
  confidence?: number | undefined;
3436
3436
  id?: string | undefined;
3437
3437
  approval_required?: boolean | undefined;
3438
+ risk?: "low" | "high" | "medium" | undefined;
3438
3439
  target_mode?: "exploration" | "consolidation" | "finalization" | undefined;
3439
3440
  target_strategy_family?: string | undefined;
3440
3441
  candidate_refs?: string[] | undefined;
3441
3442
  lineage_refs?: string[] | undefined;
3442
- risk?: "low" | "high" | "medium" | undefined;
3443
3443
  policy_decision?: {
3444
3444
  reason: string;
3445
3445
  disposition: "approval_required" | "advisory_only" | "auto_apply";
@@ -3463,16 +3463,16 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3463
3463
  summary: string;
3464
3464
  source_type: "other" | "soil" | "playbook" | "runtime_evidence";
3465
3465
  authority: "advisory_only";
3466
+ ref?: string | undefined;
3466
3467
  recency_score?: number | undefined;
3467
3468
  provenance?: {
3468
3469
  source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
3469
3470
  raw_refs: string[];
3470
- verification_status: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious";
3471
+ verification_status: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious";
3471
3472
  risk_signals: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[];
3472
3473
  reliability?: number | undefined;
3473
3474
  source_ref?: string | undefined;
3474
3475
  } | undefined;
3475
- ref?: string | undefined;
3476
3476
  relevance_score?: number | undefined;
3477
3477
  source_reliability?: number | undefined;
3478
3478
  prior_success_contribution?: number | undefined;
@@ -3492,7 +3492,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3492
3492
  score: number;
3493
3493
  decision: "rejected" | "admitted";
3494
3494
  } | undefined;
3495
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
3495
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
3496
3496
  quarantine_state?: {
3497
3497
  status: "quarantined";
3498
3498
  source: "system" | "user" | "runtime_verification" | "memory_lint";
@@ -3544,9 +3544,9 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3544
3544
  ref?: string | undefined;
3545
3545
  }[];
3546
3546
  action: "stay_current_mode" | "widen_exploration" | "consolidate_candidates" | "freeze_experiment_queue" | "enter_finalization" | "preserve_near_miss_candidates" | "retire_low_value_lineage" | "request_operator_approval";
3547
+ risk: "low" | "high" | "medium";
3547
3548
  candidate_refs: string[];
3548
3549
  lineage_refs: string[];
3549
- risk: "low" | "high" | "medium";
3550
3550
  id?: string | undefined;
3551
3551
  target_mode?: "exploration" | "consolidation" | "finalization" | undefined;
3552
3552
  target_strategy_family?: string | undefined;
@@ -3570,16 +3570,16 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3570
3570
  relevant_memories?: {
3571
3571
  summary: string;
3572
3572
  source_type: "other" | "soil" | "playbook" | "runtime_evidence";
3573
+ ref?: string | undefined;
3573
3574
  recency_score?: number | undefined;
3574
3575
  provenance?: {
3575
3576
  reliability?: number | undefined;
3576
3577
  source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
3577
3578
  source_ref?: string | undefined;
3578
3579
  raw_refs?: string[] | undefined;
3579
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
3580
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
3580
3581
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
3581
3582
  } | undefined;
3582
- ref?: string | undefined;
3583
3583
  authority?: "advisory_only" | undefined;
3584
3584
  relevance_score?: number | undefined;
3585
3585
  source_reliability?: number | undefined;
@@ -3600,7 +3600,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3600
3600
  score: number;
3601
3601
  decision: "rejected" | "admitted";
3602
3602
  } | undefined;
3603
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
3603
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
3604
3604
  quarantine_state?: {
3605
3605
  status: "quarantined";
3606
3606
  confidence: number;
@@ -3650,11 +3650,11 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3650
3650
  confidence?: number | undefined;
3651
3651
  id?: string | undefined;
3652
3652
  approval_required?: boolean | undefined;
3653
+ risk?: "low" | "high" | "medium" | undefined;
3653
3654
  target_mode?: "exploration" | "consolidation" | "finalization" | undefined;
3654
3655
  target_strategy_family?: string | undefined;
3655
3656
  candidate_refs?: string[] | undefined;
3656
3657
  lineage_refs?: string[] | undefined;
3657
- risk?: "low" | "high" | "medium" | undefined;
3658
3658
  policy_decision?: {
3659
3659
  reason: string;
3660
3660
  disposition: "approval_required" | "advisory_only" | "auto_apply";
@@ -3817,6 +3817,11 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3817
3817
  created_at: string;
3818
3818
  reason: string;
3819
3819
  schema_version: "memory-correction-entry-v1";
3820
+ audit: {
3821
+ status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
3822
+ retained_for_audit: boolean;
3823
+ destructive_delete_approved_at: string | null;
3824
+ };
3820
3825
  provenance: {
3821
3826
  source: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
3822
3827
  confidence: number | null;
@@ -3845,11 +3850,6 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3845
3850
  } | undefined;
3846
3851
  } | null;
3847
3852
  actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
3848
- audit: {
3849
- status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
3850
- retained_for_audit: boolean;
3851
- destructive_delete_approved_at: string | null;
3852
- };
3853
3853
  }, {
3854
3854
  created_at: string;
3855
3855
  reason: string;
@@ -3873,6 +3873,11 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3873
3873
  correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
3874
3874
  actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
3875
3875
  schema_version?: "memory-correction-entry-v1" | undefined;
3876
+ audit?: {
3877
+ status?: "active" | "superseded" | "disputed" | "destructive_delete_requested" | undefined;
3878
+ retained_for_audit?: boolean | undefined;
3879
+ destructive_delete_approved_at?: string | null | undefined;
3880
+ } | undefined;
3876
3881
  replacement_ref?: {
3877
3882
  kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
3878
3883
  id: string;
@@ -3882,11 +3887,6 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3882
3887
  run_id?: string | undefined;
3883
3888
  } | undefined;
3884
3889
  } | null | undefined;
3885
- audit?: {
3886
- status?: "active" | "superseded" | "disputed" | "destructive_delete_requested" | undefined;
3887
- retained_for_audit?: boolean | undefined;
3888
- destructive_delete_approved_at?: string | null | undefined;
3889
- } | undefined;
3890
3890
  }>>;
3891
3891
  correction_state: z.ZodOptional<z.ZodObject<{
3892
3892
  target_ref: z.ZodObject<{
@@ -4023,7 +4023,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4023
4023
  }, "strict", z.ZodTypeAny, {
4024
4024
  source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
4025
4025
  raw_refs: string[];
4026
- verification_status: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious";
4026
+ verification_status: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious";
4027
4027
  risk_signals: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[];
4028
4028
  reliability?: number | undefined;
4029
4029
  source_ref?: string | undefined;
@@ -4032,7 +4032,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4032
4032
  source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
4033
4033
  source_ref?: string | undefined;
4034
4034
  raw_refs?: string[] | undefined;
4035
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
4035
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
4036
4036
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
4037
4037
  }>>;
4038
4038
  quarantine_state: z.ZodOptional<z.ZodObject<{
@@ -4142,7 +4142,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4142
4142
  source: z.ZodOptional<z.ZodString>;
4143
4143
  dependency_refs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4144
4144
  }, "strict", z.ZodTypeAny, {
4145
- kind: "url" | "other" | "log" | "metrics" | "report" | "diff";
4145
+ kind: "url" | "log" | "diff" | "other" | "metrics" | "report";
4146
4146
  label: string;
4147
4147
  path?: string | undefined;
4148
4148
  source?: string | undefined;
@@ -4155,7 +4155,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4155
4155
  label: string;
4156
4156
  path?: string | undefined;
4157
4157
  source?: string | undefined;
4158
- kind?: "url" | "other" | "log" | "metrics" | "report" | "diff" | undefined;
4158
+ kind?: "url" | "log" | "diff" | "other" | "metrics" | "report" | undefined;
4159
4159
  url?: string | undefined;
4160
4160
  state_relative_path?: string | undefined;
4161
4161
  retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
@@ -4303,7 +4303,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4303
4303
  summary?: string | undefined;
4304
4304
  }[];
4305
4305
  artifacts: {
4306
- kind: "url" | "other" | "log" | "metrics" | "report" | "diff";
4306
+ kind: "url" | "log" | "diff" | "other" | "metrics" | "report";
4307
4307
  label: string;
4308
4308
  path?: string | undefined;
4309
4309
  source?: string | undefined;
@@ -4385,7 +4385,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4385
4385
  label: string;
4386
4386
  path?: string | undefined;
4387
4387
  source?: string | undefined;
4388
- kind?: "url" | "other" | "log" | "metrics" | "report" | "diff" | undefined;
4388
+ kind?: "url" | "log" | "diff" | "other" | "metrics" | "report" | undefined;
4389
4389
  url?: string | undefined;
4390
4390
  state_relative_path?: string | undefined;
4391
4391
  retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
@@ -4448,7 +4448,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4448
4448
  source: z.ZodOptional<z.ZodString>;
4449
4449
  dependency_refs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4450
4450
  }, "strict", z.ZodTypeAny, {
4451
- kind: "url" | "other" | "log" | "metrics" | "report" | "diff";
4451
+ kind: "url" | "log" | "diff" | "other" | "metrics" | "report";
4452
4452
  label: string;
4453
4453
  path?: string | undefined;
4454
4454
  source?: string | undefined;
@@ -4461,7 +4461,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4461
4461
  label: string;
4462
4462
  path?: string | undefined;
4463
4463
  source?: string | undefined;
4464
- kind?: "url" | "other" | "log" | "metrics" | "report" | "diff" | undefined;
4464
+ kind?: "url" | "log" | "diff" | "other" | "metrics" | "report" | undefined;
4465
4465
  url?: string | undefined;
4466
4466
  state_relative_path?: string | undefined;
4467
4467
  retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
@@ -4508,7 +4508,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4508
4508
  id: string;
4509
4509
  schema_version: "runtime-evidence-entry-v1";
4510
4510
  artifacts: {
4511
- kind: "url" | "other" | "log" | "metrics" | "report" | "diff";
4511
+ kind: "url" | "log" | "diff" | "other" | "metrics" | "report";
4512
4512
  label: string;
4513
4513
  path?: string | undefined;
4514
4514
  source?: string | undefined;
@@ -4573,7 +4573,12 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4573
4573
  primary_dimension?: string | undefined;
4574
4574
  action?: string | undefined;
4575
4575
  } | undefined;
4576
- outcome?: "failed" | "improved" | "regressed" | "blocked" | "inconclusive" | "continued" | undefined;
4576
+ outcome?: "blocked" | "failed" | "improved" | "regressed" | "inconclusive" | "continued" | undefined;
4577
+ result?: {
4578
+ status?: string | undefined;
4579
+ error?: string | undefined;
4580
+ summary?: string | undefined;
4581
+ } | undefined;
4577
4582
  strategy?: string | undefined;
4578
4583
  research?: {
4579
4584
  confidence: number;
@@ -4634,7 +4639,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4634
4639
  summary?: string | undefined;
4635
4640
  }[];
4636
4641
  artifacts: {
4637
- kind: "url" | "other" | "log" | "metrics" | "report" | "diff";
4642
+ kind: "url" | "log" | "diff" | "other" | "metrics" | "report";
4638
4643
  label: string;
4639
4644
  path?: string | undefined;
4640
4645
  source?: string | undefined;
@@ -4693,16 +4698,21 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4693
4698
  provenance?: {
4694
4699
  source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
4695
4700
  raw_refs: string[];
4696
- verification_status: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious";
4701
+ verification_status: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious";
4697
4702
  risk_signals: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[];
4698
4703
  reliability?: number | undefined;
4699
4704
  source_ref?: string | undefined;
4700
4705
  } | undefined;
4701
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
4706
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
4702
4707
  correction?: {
4703
4708
  created_at: string;
4704
4709
  reason: string;
4705
4710
  schema_version: "memory-correction-entry-v1";
4711
+ audit: {
4712
+ status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
4713
+ retained_for_audit: boolean;
4714
+ destructive_delete_approved_at: string | null;
4715
+ };
4706
4716
  provenance: {
4707
4717
  source: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
4708
4718
  confidence: number | null;
@@ -4731,11 +4741,6 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4731
4741
  } | undefined;
4732
4742
  } | null;
4733
4743
  actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
4734
- audit: {
4735
- status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
4736
- retained_for_audit: boolean;
4737
- destructive_delete_approved_at: string | null;
4738
- };
4739
4744
  } | undefined;
4740
4745
  quarantine_state?: {
4741
4746
  status: "quarantined";
@@ -4747,13 +4752,13 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4747
4752
  inspection_refs: string[];
4748
4753
  } | undefined;
4749
4754
  evaluators?: {
4750
- status: "unknown" | "pending" | "completed" | "approval_required" | "failed" | "regressed" | "blocked" | "passed" | "ready" | "submitted" | "succeeded";
4755
+ status: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded";
4751
4756
  source: string;
4752
4757
  candidate_id: string;
4753
4758
  signal: "external" | "local";
4754
4759
  evaluator_id: string;
4755
4760
  validation?: {
4756
- status: "unknown" | "pending" | "failed" | "blocked" | "passed";
4761
+ status: "unknown" | "pending" | "blocked" | "passed" | "failed";
4757
4762
  summary?: string | undefined;
4758
4763
  command?: string | undefined;
4759
4764
  } | undefined;
@@ -4763,9 +4768,9 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4763
4768
  observed_at?: string | undefined;
4764
4769
  provenance?: {
4765
4770
  kind: "other" | "local_command" | "external_url" | "ci" | "benchmark" | "human_review";
4771
+ run_id?: string | undefined;
4766
4772
  command?: string | undefined;
4767
4773
  url?: string | undefined;
4768
- run_id?: string | undefined;
4769
4774
  external_id?: string | undefined;
4770
4775
  raw_ref?: string | undefined;
4771
4776
  retrieved_at?: string | undefined;
@@ -4788,13 +4793,13 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4788
4793
  artifact_labels?: string[] | undefined;
4789
4794
  score_label?: string | undefined;
4790
4795
  expected_score?: string | number | boolean | null | undefined;
4791
- expected_status?: "unknown" | "pending" | "completed" | "approval_required" | "failed" | "regressed" | "blocked" | "passed" | "ready" | "submitted" | "succeeded" | undefined;
4796
+ expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
4792
4797
  expectation_source?: string | undefined;
4793
4798
  publish_action?: {
4794
4799
  label: string;
4795
4800
  id: string;
4796
4801
  approval_required: true;
4797
- status?: "completed" | "approval_required" | "approved" | "blocked" | "submitted" | undefined;
4802
+ status?: "completed" | "blocked" | "approval_required" | "approved" | "submitted" | undefined;
4798
4803
  tool_name?: string | undefined;
4799
4804
  payload_ref?: string | undefined;
4800
4805
  } | undefined;
@@ -4843,16 +4848,16 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4843
4848
  summary: string;
4844
4849
  source_type: "other" | "soil" | "playbook" | "runtime_evidence";
4845
4850
  authority: "advisory_only";
4851
+ ref?: string | undefined;
4846
4852
  recency_score?: number | undefined;
4847
4853
  provenance?: {
4848
4854
  source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
4849
4855
  raw_refs: string[];
4850
- verification_status: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious";
4856
+ verification_status: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious";
4851
4857
  risk_signals: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[];
4852
4858
  reliability?: number | undefined;
4853
4859
  source_ref?: string | undefined;
4854
4860
  } | undefined;
4855
- ref?: string | undefined;
4856
4861
  relevance_score?: number | undefined;
4857
4862
  source_reliability?: number | undefined;
4858
4863
  prior_success_contribution?: number | undefined;
@@ -4872,7 +4877,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4872
4877
  score: number;
4873
4878
  decision: "rejected" | "admitted";
4874
4879
  } | undefined;
4875
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
4880
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
4876
4881
  quarantine_state?: {
4877
4882
  status: "quarantined";
4878
4883
  source: "system" | "user" | "runtime_verification" | "memory_lint";
@@ -4924,9 +4929,9 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4924
4929
  ref?: string | undefined;
4925
4930
  }[];
4926
4931
  action: "stay_current_mode" | "widen_exploration" | "consolidate_candidates" | "freeze_experiment_queue" | "enter_finalization" | "preserve_near_miss_candidates" | "retire_low_value_lineage" | "request_operator_approval";
4932
+ risk: "low" | "high" | "medium";
4927
4933
  candidate_refs: string[];
4928
4934
  lineage_refs: string[];
4929
- risk: "low" | "high" | "medium";
4930
4935
  id?: string | undefined;
4931
4936
  target_mode?: "exploration" | "consolidation" | "finalization" | undefined;
4932
4937
  target_strategy_family?: string | undefined;
@@ -4962,11 +4967,6 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4962
4967
  } | null;
4963
4968
  latest_correction_id: string | null;
4964
4969
  } | undefined;
4965
- result?: {
4966
- status?: string | undefined;
4967
- error?: string | undefined;
4968
- summary?: string | undefined;
4969
- } | undefined;
4970
4970
  decision_reason?: string | undefined;
4971
4971
  }, {
4972
4972
  kind: "verification" | "observation" | "metric" | "decision" | "failure" | "strategy" | "task_generation" | "research" | "execution" | "other" | "artifact" | "dream_checkpoint" | "evaluator" | "correction";
@@ -5010,7 +5010,12 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5010
5010
  primary_dimension?: string | undefined;
5011
5011
  action?: string | undefined;
5012
5012
  } | undefined;
5013
- outcome?: "failed" | "improved" | "regressed" | "blocked" | "inconclusive" | "continued" | undefined;
5013
+ outcome?: "blocked" | "failed" | "improved" | "regressed" | "inconclusive" | "continued" | undefined;
5014
+ result?: {
5015
+ status?: string | undefined;
5016
+ error?: string | undefined;
5017
+ summary?: string | undefined;
5018
+ } | undefined;
5014
5019
  strategy?: string | undefined;
5015
5020
  research?: {
5016
5021
  trigger: "plateau" | "uncertainty" | "knowledge_gap";
@@ -5052,7 +5057,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5052
5057
  label: string;
5053
5058
  path?: string | undefined;
5054
5059
  source?: string | undefined;
5055
- kind?: "url" | "other" | "log" | "metrics" | "report" | "diff" | undefined;
5060
+ kind?: "url" | "log" | "diff" | "other" | "metrics" | "report" | undefined;
5056
5061
  url?: string | undefined;
5057
5062
  state_relative_path?: string | undefined;
5058
5063
  retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
@@ -5086,7 +5091,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5086
5091
  label: string;
5087
5092
  path?: string | undefined;
5088
5093
  source?: string | undefined;
5089
- kind?: "url" | "other" | "log" | "metrics" | "report" | "diff" | undefined;
5094
+ kind?: "url" | "log" | "diff" | "other" | "metrics" | "report" | undefined;
5090
5095
  url?: string | undefined;
5091
5096
  state_relative_path?: string | undefined;
5092
5097
  retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
@@ -5143,7 +5148,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5143
5148
  source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
5144
5149
  source_ref?: string | undefined;
5145
5150
  raw_refs?: string[] | undefined;
5146
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
5151
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
5147
5152
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
5148
5153
  } | undefined;
5149
5154
  raw_refs?: {
@@ -5153,7 +5158,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5153
5158
  url?: string | undefined;
5154
5159
  state_relative_path?: string | undefined;
5155
5160
  }[] | undefined;
5156
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
5161
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
5157
5162
  correction?: {
5158
5163
  created_at: string;
5159
5164
  reason: string;
@@ -5177,6 +5182,11 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5177
5182
  correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
5178
5183
  actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
5179
5184
  schema_version?: "memory-correction-entry-v1" | undefined;
5185
+ audit?: {
5186
+ status?: "active" | "superseded" | "disputed" | "destructive_delete_requested" | undefined;
5187
+ retained_for_audit?: boolean | undefined;
5188
+ destructive_delete_approved_at?: string | null | undefined;
5189
+ } | undefined;
5180
5190
  replacement_ref?: {
5181
5191
  kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
5182
5192
  id: string;
@@ -5186,11 +5196,6 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5186
5196
  run_id?: string | undefined;
5187
5197
  } | undefined;
5188
5198
  } | null | undefined;
5189
- audit?: {
5190
- status?: "active" | "superseded" | "disputed" | "destructive_delete_requested" | undefined;
5191
- retained_for_audit?: boolean | undefined;
5192
- destructive_delete_approved_at?: string | null | undefined;
5193
- } | undefined;
5194
5199
  } | undefined;
5195
5200
  metrics?: {
5196
5201
  label: string;
@@ -5217,20 +5222,20 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5217
5222
  signal: "external" | "local";
5218
5223
  evaluator_id: string;
5219
5224
  validation?: {
5220
- status?: "unknown" | "pending" | "failed" | "blocked" | "passed" | undefined;
5225
+ status?: "unknown" | "pending" | "blocked" | "passed" | "failed" | undefined;
5221
5226
  summary?: string | undefined;
5222
5227
  command?: string | undefined;
5223
5228
  } | undefined;
5224
- status?: "unknown" | "pending" | "completed" | "approval_required" | "failed" | "regressed" | "blocked" | "passed" | "ready" | "submitted" | "succeeded" | undefined;
5229
+ status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
5225
5230
  direction?: "neutral" | "maximize" | "minimize" | undefined;
5226
5231
  summary?: string | undefined;
5227
5232
  score?: string | number | boolean | null | undefined;
5228
5233
  observed_at?: string | undefined;
5229
5234
  provenance?: {
5230
5235
  kind?: "other" | "local_command" | "external_url" | "ci" | "benchmark" | "human_review" | undefined;
5236
+ run_id?: string | undefined;
5231
5237
  command?: string | undefined;
5232
5238
  url?: string | undefined;
5233
- run_id?: string | undefined;
5234
5239
  external_id?: string | undefined;
5235
5240
  raw_ref?: string | undefined;
5236
5241
  retrieved_at?: string | undefined;
@@ -5253,12 +5258,12 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5253
5258
  artifact_labels?: string[] | undefined;
5254
5259
  score_label?: string | undefined;
5255
5260
  expected_score?: string | number | boolean | null | undefined;
5256
- expected_status?: "unknown" | "pending" | "completed" | "approval_required" | "failed" | "regressed" | "blocked" | "passed" | "ready" | "submitted" | "succeeded" | undefined;
5261
+ expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
5257
5262
  expectation_source?: string | undefined;
5258
5263
  publish_action?: {
5259
5264
  label: string;
5260
5265
  id: string;
5261
- status?: "completed" | "approval_required" | "approved" | "blocked" | "submitted" | undefined;
5266
+ status?: "completed" | "blocked" | "approval_required" | "approved" | "submitted" | undefined;
5262
5267
  tool_name?: string | undefined;
5263
5268
  payload_ref?: string | undefined;
5264
5269
  approval_required?: true | undefined;
@@ -5309,16 +5314,16 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5309
5314
  relevant_memories?: {
5310
5315
  summary: string;
5311
5316
  source_type: "other" | "soil" | "playbook" | "runtime_evidence";
5317
+ ref?: string | undefined;
5312
5318
  recency_score?: number | undefined;
5313
5319
  provenance?: {
5314
5320
  reliability?: number | undefined;
5315
5321
  source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
5316
5322
  source_ref?: string | undefined;
5317
5323
  raw_refs?: string[] | undefined;
5318
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
5324
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
5319
5325
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
5320
5326
  } | undefined;
5321
- ref?: string | undefined;
5322
5327
  authority?: "advisory_only" | undefined;
5323
5328
  relevance_score?: number | undefined;
5324
5329
  source_reliability?: number | undefined;
@@ -5339,7 +5344,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5339
5344
  score: number;
5340
5345
  decision: "rejected" | "admitted";
5341
5346
  } | undefined;
5342
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
5347
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
5343
5348
  quarantine_state?: {
5344
5349
  status: "quarantined";
5345
5350
  confidence: number;
@@ -5389,11 +5394,11 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5389
5394
  confidence?: number | undefined;
5390
5395
  id?: string | undefined;
5391
5396
  approval_required?: boolean | undefined;
5397
+ risk?: "low" | "high" | "medium" | undefined;
5392
5398
  target_mode?: "exploration" | "consolidation" | "finalization" | undefined;
5393
5399
  target_strategy_family?: string | undefined;
5394
5400
  candidate_refs?: string[] | undefined;
5395
5401
  lineage_refs?: string[] | undefined;
5396
- risk?: "low" | "high" | "medium" | undefined;
5397
5402
  policy_decision?: {
5398
5403
  reason: string;
5399
5404
  disposition: "approval_required" | "advisory_only" | "auto_apply";
@@ -5427,18 +5432,13 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5427
5432
  } | null | undefined;
5428
5433
  latest_correction_id?: string | null | undefined;
5429
5434
  } | undefined;
5430
- result?: {
5431
- status?: string | undefined;
5432
- error?: string | undefined;
5433
- summary?: string | undefined;
5434
- } | undefined;
5435
5435
  decision_reason?: string | undefined;
5436
5436
  }>, {
5437
5437
  kind: "verification" | "observation" | "metric" | "decision" | "failure" | "strategy" | "task_generation" | "research" | "execution" | "other" | "artifact" | "dream_checkpoint" | "evaluator" | "correction";
5438
5438
  id: string;
5439
5439
  schema_version: "runtime-evidence-entry-v1";
5440
5440
  artifacts: {
5441
- kind: "url" | "other" | "log" | "metrics" | "report" | "diff";
5441
+ kind: "url" | "log" | "diff" | "other" | "metrics" | "report";
5442
5442
  label: string;
5443
5443
  path?: string | undefined;
5444
5444
  source?: string | undefined;
@@ -5503,7 +5503,12 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5503
5503
  primary_dimension?: string | undefined;
5504
5504
  action?: string | undefined;
5505
5505
  } | undefined;
5506
- outcome?: "failed" | "improved" | "regressed" | "blocked" | "inconclusive" | "continued" | undefined;
5506
+ outcome?: "blocked" | "failed" | "improved" | "regressed" | "inconclusive" | "continued" | undefined;
5507
+ result?: {
5508
+ status?: string | undefined;
5509
+ error?: string | undefined;
5510
+ summary?: string | undefined;
5511
+ } | undefined;
5507
5512
  strategy?: string | undefined;
5508
5513
  research?: {
5509
5514
  confidence: number;
@@ -5564,7 +5569,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5564
5569
  summary?: string | undefined;
5565
5570
  }[];
5566
5571
  artifacts: {
5567
- kind: "url" | "other" | "log" | "metrics" | "report" | "diff";
5572
+ kind: "url" | "log" | "diff" | "other" | "metrics" | "report";
5568
5573
  label: string;
5569
5574
  path?: string | undefined;
5570
5575
  source?: string | undefined;
@@ -5623,16 +5628,21 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5623
5628
  provenance?: {
5624
5629
  source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
5625
5630
  raw_refs: string[];
5626
- verification_status: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious";
5631
+ verification_status: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious";
5627
5632
  risk_signals: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[];
5628
5633
  reliability?: number | undefined;
5629
5634
  source_ref?: string | undefined;
5630
5635
  } | undefined;
5631
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
5636
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
5632
5637
  correction?: {
5633
5638
  created_at: string;
5634
5639
  reason: string;
5635
5640
  schema_version: "memory-correction-entry-v1";
5641
+ audit: {
5642
+ status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
5643
+ retained_for_audit: boolean;
5644
+ destructive_delete_approved_at: string | null;
5645
+ };
5636
5646
  provenance: {
5637
5647
  source: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
5638
5648
  confidence: number | null;
@@ -5661,11 +5671,6 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5661
5671
  } | undefined;
5662
5672
  } | null;
5663
5673
  actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
5664
- audit: {
5665
- status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
5666
- retained_for_audit: boolean;
5667
- destructive_delete_approved_at: string | null;
5668
- };
5669
5674
  } | undefined;
5670
5675
  quarantine_state?: {
5671
5676
  status: "quarantined";
@@ -5677,13 +5682,13 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5677
5682
  inspection_refs: string[];
5678
5683
  } | undefined;
5679
5684
  evaluators?: {
5680
- status: "unknown" | "pending" | "completed" | "approval_required" | "failed" | "regressed" | "blocked" | "passed" | "ready" | "submitted" | "succeeded";
5685
+ status: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded";
5681
5686
  source: string;
5682
5687
  candidate_id: string;
5683
5688
  signal: "external" | "local";
5684
5689
  evaluator_id: string;
5685
5690
  validation?: {
5686
- status: "unknown" | "pending" | "failed" | "blocked" | "passed";
5691
+ status: "unknown" | "pending" | "blocked" | "passed" | "failed";
5687
5692
  summary?: string | undefined;
5688
5693
  command?: string | undefined;
5689
5694
  } | undefined;
@@ -5693,9 +5698,9 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5693
5698
  observed_at?: string | undefined;
5694
5699
  provenance?: {
5695
5700
  kind: "other" | "local_command" | "external_url" | "ci" | "benchmark" | "human_review";
5701
+ run_id?: string | undefined;
5696
5702
  command?: string | undefined;
5697
5703
  url?: string | undefined;
5698
- run_id?: string | undefined;
5699
5704
  external_id?: string | undefined;
5700
5705
  raw_ref?: string | undefined;
5701
5706
  retrieved_at?: string | undefined;
@@ -5718,13 +5723,13 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5718
5723
  artifact_labels?: string[] | undefined;
5719
5724
  score_label?: string | undefined;
5720
5725
  expected_score?: string | number | boolean | null | undefined;
5721
- expected_status?: "unknown" | "pending" | "completed" | "approval_required" | "failed" | "regressed" | "blocked" | "passed" | "ready" | "submitted" | "succeeded" | undefined;
5726
+ expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
5722
5727
  expectation_source?: string | undefined;
5723
5728
  publish_action?: {
5724
5729
  label: string;
5725
5730
  id: string;
5726
5731
  approval_required: true;
5727
- status?: "completed" | "approval_required" | "approved" | "blocked" | "submitted" | undefined;
5732
+ status?: "completed" | "blocked" | "approval_required" | "approved" | "submitted" | undefined;
5728
5733
  tool_name?: string | undefined;
5729
5734
  payload_ref?: string | undefined;
5730
5735
  } | undefined;
@@ -5773,16 +5778,16 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5773
5778
  summary: string;
5774
5779
  source_type: "other" | "soil" | "playbook" | "runtime_evidence";
5775
5780
  authority: "advisory_only";
5781
+ ref?: string | undefined;
5776
5782
  recency_score?: number | undefined;
5777
5783
  provenance?: {
5778
5784
  source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
5779
5785
  raw_refs: string[];
5780
- verification_status: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious";
5786
+ verification_status: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious";
5781
5787
  risk_signals: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[];
5782
5788
  reliability?: number | undefined;
5783
5789
  source_ref?: string | undefined;
5784
5790
  } | undefined;
5785
- ref?: string | undefined;
5786
5791
  relevance_score?: number | undefined;
5787
5792
  source_reliability?: number | undefined;
5788
5793
  prior_success_contribution?: number | undefined;
@@ -5802,7 +5807,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5802
5807
  score: number;
5803
5808
  decision: "rejected" | "admitted";
5804
5809
  } | undefined;
5805
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
5810
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
5806
5811
  quarantine_state?: {
5807
5812
  status: "quarantined";
5808
5813
  source: "system" | "user" | "runtime_verification" | "memory_lint";
@@ -5854,9 +5859,9 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5854
5859
  ref?: string | undefined;
5855
5860
  }[];
5856
5861
  action: "stay_current_mode" | "widen_exploration" | "consolidate_candidates" | "freeze_experiment_queue" | "enter_finalization" | "preserve_near_miss_candidates" | "retire_low_value_lineage" | "request_operator_approval";
5862
+ risk: "low" | "high" | "medium";
5857
5863
  candidate_refs: string[];
5858
5864
  lineage_refs: string[];
5859
- risk: "low" | "high" | "medium";
5860
5865
  id?: string | undefined;
5861
5866
  target_mode?: "exploration" | "consolidation" | "finalization" | undefined;
5862
5867
  target_strategy_family?: string | undefined;
@@ -5892,11 +5897,6 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5892
5897
  } | null;
5893
5898
  latest_correction_id: string | null;
5894
5899
  } | undefined;
5895
- result?: {
5896
- status?: string | undefined;
5897
- error?: string | undefined;
5898
- summary?: string | undefined;
5899
- } | undefined;
5900
5900
  decision_reason?: string | undefined;
5901
5901
  }, {
5902
5902
  kind: "verification" | "observation" | "metric" | "decision" | "failure" | "strategy" | "task_generation" | "research" | "execution" | "other" | "artifact" | "dream_checkpoint" | "evaluator" | "correction";
@@ -5940,7 +5940,12 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5940
5940
  primary_dimension?: string | undefined;
5941
5941
  action?: string | undefined;
5942
5942
  } | undefined;
5943
- outcome?: "failed" | "improved" | "regressed" | "blocked" | "inconclusive" | "continued" | undefined;
5943
+ outcome?: "blocked" | "failed" | "improved" | "regressed" | "inconclusive" | "continued" | undefined;
5944
+ result?: {
5945
+ status?: string | undefined;
5946
+ error?: string | undefined;
5947
+ summary?: string | undefined;
5948
+ } | undefined;
5944
5949
  strategy?: string | undefined;
5945
5950
  research?: {
5946
5951
  trigger: "plateau" | "uncertainty" | "knowledge_gap";
@@ -5982,7 +5987,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5982
5987
  label: string;
5983
5988
  path?: string | undefined;
5984
5989
  source?: string | undefined;
5985
- kind?: "url" | "other" | "log" | "metrics" | "report" | "diff" | undefined;
5990
+ kind?: "url" | "log" | "diff" | "other" | "metrics" | "report" | undefined;
5986
5991
  url?: string | undefined;
5987
5992
  state_relative_path?: string | undefined;
5988
5993
  retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
@@ -6016,7 +6021,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6016
6021
  label: string;
6017
6022
  path?: string | undefined;
6018
6023
  source?: string | undefined;
6019
- kind?: "url" | "other" | "log" | "metrics" | "report" | "diff" | undefined;
6024
+ kind?: "url" | "log" | "diff" | "other" | "metrics" | "report" | undefined;
6020
6025
  url?: string | undefined;
6021
6026
  state_relative_path?: string | undefined;
6022
6027
  retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
@@ -6073,7 +6078,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6073
6078
  source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
6074
6079
  source_ref?: string | undefined;
6075
6080
  raw_refs?: string[] | undefined;
6076
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
6081
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
6077
6082
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
6078
6083
  } | undefined;
6079
6084
  raw_refs?: {
@@ -6083,7 +6088,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6083
6088
  url?: string | undefined;
6084
6089
  state_relative_path?: string | undefined;
6085
6090
  }[] | undefined;
6086
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
6091
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
6087
6092
  correction?: {
6088
6093
  created_at: string;
6089
6094
  reason: string;
@@ -6107,6 +6112,11 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6107
6112
  correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
6108
6113
  actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
6109
6114
  schema_version?: "memory-correction-entry-v1" | undefined;
6115
+ audit?: {
6116
+ status?: "active" | "superseded" | "disputed" | "destructive_delete_requested" | undefined;
6117
+ retained_for_audit?: boolean | undefined;
6118
+ destructive_delete_approved_at?: string | null | undefined;
6119
+ } | undefined;
6110
6120
  replacement_ref?: {
6111
6121
  kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
6112
6122
  id: string;
@@ -6116,11 +6126,6 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6116
6126
  run_id?: string | undefined;
6117
6127
  } | undefined;
6118
6128
  } | null | undefined;
6119
- audit?: {
6120
- status?: "active" | "superseded" | "disputed" | "destructive_delete_requested" | undefined;
6121
- retained_for_audit?: boolean | undefined;
6122
- destructive_delete_approved_at?: string | null | undefined;
6123
- } | undefined;
6124
6129
  } | undefined;
6125
6130
  metrics?: {
6126
6131
  label: string;
@@ -6147,20 +6152,20 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6147
6152
  signal: "external" | "local";
6148
6153
  evaluator_id: string;
6149
6154
  validation?: {
6150
- status?: "unknown" | "pending" | "failed" | "blocked" | "passed" | undefined;
6155
+ status?: "unknown" | "pending" | "blocked" | "passed" | "failed" | undefined;
6151
6156
  summary?: string | undefined;
6152
6157
  command?: string | undefined;
6153
6158
  } | undefined;
6154
- status?: "unknown" | "pending" | "completed" | "approval_required" | "failed" | "regressed" | "blocked" | "passed" | "ready" | "submitted" | "succeeded" | undefined;
6159
+ status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
6155
6160
  direction?: "neutral" | "maximize" | "minimize" | undefined;
6156
6161
  summary?: string | undefined;
6157
6162
  score?: string | number | boolean | null | undefined;
6158
6163
  observed_at?: string | undefined;
6159
6164
  provenance?: {
6160
6165
  kind?: "other" | "local_command" | "external_url" | "ci" | "benchmark" | "human_review" | undefined;
6166
+ run_id?: string | undefined;
6161
6167
  command?: string | undefined;
6162
6168
  url?: string | undefined;
6163
- run_id?: string | undefined;
6164
6169
  external_id?: string | undefined;
6165
6170
  raw_ref?: string | undefined;
6166
6171
  retrieved_at?: string | undefined;
@@ -6183,12 +6188,12 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6183
6188
  artifact_labels?: string[] | undefined;
6184
6189
  score_label?: string | undefined;
6185
6190
  expected_score?: string | number | boolean | null | undefined;
6186
- expected_status?: "unknown" | "pending" | "completed" | "approval_required" | "failed" | "regressed" | "blocked" | "passed" | "ready" | "submitted" | "succeeded" | undefined;
6191
+ expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
6187
6192
  expectation_source?: string | undefined;
6188
6193
  publish_action?: {
6189
6194
  label: string;
6190
6195
  id: string;
6191
- status?: "completed" | "approval_required" | "approved" | "blocked" | "submitted" | undefined;
6196
+ status?: "completed" | "blocked" | "approval_required" | "approved" | "submitted" | undefined;
6192
6197
  tool_name?: string | undefined;
6193
6198
  payload_ref?: string | undefined;
6194
6199
  approval_required?: true | undefined;
@@ -6239,16 +6244,16 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6239
6244
  relevant_memories?: {
6240
6245
  summary: string;
6241
6246
  source_type: "other" | "soil" | "playbook" | "runtime_evidence";
6247
+ ref?: string | undefined;
6242
6248
  recency_score?: number | undefined;
6243
6249
  provenance?: {
6244
6250
  reliability?: number | undefined;
6245
6251
  source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
6246
6252
  source_ref?: string | undefined;
6247
6253
  raw_refs?: string[] | undefined;
6248
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
6254
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
6249
6255
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
6250
6256
  } | undefined;
6251
- ref?: string | undefined;
6252
6257
  authority?: "advisory_only" | undefined;
6253
6258
  relevance_score?: number | undefined;
6254
6259
  source_reliability?: number | undefined;
@@ -6269,7 +6274,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6269
6274
  score: number;
6270
6275
  decision: "rejected" | "admitted";
6271
6276
  } | undefined;
6272
- verification_status?: "unknown" | "unverified" | "verified" | "contradicted" | "suspicious" | undefined;
6277
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
6273
6278
  quarantine_state?: {
6274
6279
  status: "quarantined";
6275
6280
  confidence: number;
@@ -6319,11 +6324,11 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6319
6324
  confidence?: number | undefined;
6320
6325
  id?: string | undefined;
6321
6326
  approval_required?: boolean | undefined;
6327
+ risk?: "low" | "high" | "medium" | undefined;
6322
6328
  target_mode?: "exploration" | "consolidation" | "finalization" | undefined;
6323
6329
  target_strategy_family?: string | undefined;
6324
6330
  candidate_refs?: string[] | undefined;
6325
6331
  lineage_refs?: string[] | undefined;
6326
- risk?: "low" | "high" | "medium" | undefined;
6327
6332
  policy_decision?: {
6328
6333
  reason: string;
6329
6334
  disposition: "approval_required" | "advisory_only" | "auto_apply";
@@ -6357,11 +6362,6 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6357
6362
  } | null | undefined;
6358
6363
  latest_correction_id?: string | null | undefined;
6359
6364
  } | undefined;
6360
- result?: {
6361
- status?: string | undefined;
6362
- error?: string | undefined;
6363
- summary?: string | undefined;
6364
- } | undefined;
6365
6365
  decision_reason?: string | undefined;
6366
6366
  }>;
6367
6367
  export type RuntimeEvidenceEntry = z.infer<typeof RuntimeEvidenceEntrySchema>;