pulseed 0.6.5 → 0.6.6

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 (2925) hide show
  1. package/README.md +105 -86
  2. package/dist/adapters/datasources/artifact-metric-datasource.d.ts +1 -1
  3. package/dist/adapters/datasources/artifact-metric-datasource.d.ts.map +1 -1
  4. package/dist/adapters/datasources/artifact-metric-datasource.js +2 -248
  5. package/dist/adapters/datasources/artifact-metric-datasource.js.map +1 -1
  6. package/dist/adapters/datasources/artifact-metric-discovery.d.ts +44 -0
  7. package/dist/adapters/datasources/artifact-metric-discovery.d.ts.map +1 -0
  8. package/dist/adapters/datasources/artifact-metric-discovery.js +256 -0
  9. package/dist/adapters/datasources/artifact-metric-discovery.js.map +1 -0
  10. package/dist/adapters/datasources/mcp-datasource.d.ts.map +1 -1
  11. package/dist/adapters/datasources/mcp-datasource.js +2 -4
  12. package/dist/adapters/datasources/mcp-datasource.js.map +1 -1
  13. package/dist/adapters/datasources/shell-datasource.d.ts.map +1 -1
  14. package/dist/adapters/datasources/shell-datasource.js +9 -2
  15. package/dist/adapters/datasources/shell-datasource.js.map +1 -1
  16. package/dist/adapters/mcp-client-manager.d.ts +1 -0
  17. package/dist/adapters/mcp-client-manager.d.ts.map +1 -1
  18. package/dist/adapters/mcp-client-manager.js +8 -3
  19. package/dist/adapters/mcp-client-manager.js.map +1 -1
  20. package/dist/adapters/types/a2a.d.ts +6 -6
  21. package/dist/adapters/types/mcp.d.ts +6 -6
  22. package/dist/base/config/global-config.d.ts +65 -6
  23. package/dist/base/config/global-config.d.ts.map +1 -1
  24. package/dist/base/config/global-config.js +73 -24
  25. package/dist/base/config/global-config.js.map +1 -1
  26. package/dist/base/config/identity-loader.d.ts +1 -1
  27. package/dist/base/config/identity-loader.d.ts.map +1 -1
  28. package/dist/base/config/identity-loader.js +3 -6
  29. package/dist/base/config/identity-loader.js.map +1 -1
  30. package/dist/base/config/tool-metadata.js +39 -39
  31. package/dist/base/config/tool-metadata.js.map +1 -1
  32. package/dist/base/llm/anthropic-runtime.d.ts +3 -0
  33. package/dist/base/llm/anthropic-runtime.d.ts.map +1 -0
  34. package/dist/base/llm/anthropic-runtime.js +4 -0
  35. package/dist/base/llm/anthropic-runtime.js.map +1 -0
  36. package/dist/base/llm/base-llm-client.d.ts.map +1 -1
  37. package/dist/base/llm/base-llm-client.js +15 -3
  38. package/dist/base/llm/base-llm-client.js.map +1 -1
  39. package/dist/base/llm/codex-llm-client.d.ts +13 -2
  40. package/dist/base/llm/codex-llm-client.d.ts.map +1 -1
  41. package/dist/base/llm/codex-llm-client.js +435 -38
  42. package/dist/base/llm/codex-llm-client.js.map +1 -1
  43. package/dist/base/llm/llm-client.d.ts +27 -4
  44. package/dist/base/llm/llm-client.d.ts.map +1 -1
  45. package/dist/base/llm/llm-client.js +43 -10
  46. package/dist/base/llm/llm-client.js.map +1 -1
  47. package/dist/base/llm/ollama-client.d.ts.map +1 -1
  48. package/dist/base/llm/ollama-client.js +6 -1
  49. package/dist/base/llm/ollama-client.js.map +1 -1
  50. package/dist/base/llm/openai-client.d.ts +1 -0
  51. package/dist/base/llm/openai-client.d.ts.map +1 -1
  52. package/dist/base/llm/openai-client.js +239 -20
  53. package/dist/base/llm/openai-client.js.map +1 -1
  54. package/dist/base/llm/provider-config-models.d.ts +13 -0
  55. package/dist/base/llm/provider-config-models.d.ts.map +1 -0
  56. package/dist/base/llm/provider-config-models.js +37 -0
  57. package/dist/base/llm/provider-config-models.js.map +1 -0
  58. package/dist/base/llm/provider-config-resolution.d.ts +18 -0
  59. package/dist/base/llm/provider-config-resolution.d.ts.map +1 -0
  60. package/dist/base/llm/provider-config-resolution.js +116 -0
  61. package/dist/base/llm/provider-config-resolution.js.map +1 -0
  62. package/dist/base/llm/provider-config-types.d.ts +103 -0
  63. package/dist/base/llm/provider-config-types.d.ts.map +1 -0
  64. package/dist/base/llm/provider-config-types.js +2 -0
  65. package/dist/base/llm/provider-config-types.js.map +1 -0
  66. package/dist/base/llm/provider-config.d.ts +3 -111
  67. package/dist/base/llm/provider-config.d.ts.map +1 -1
  68. package/dist/base/llm/provider-config.js +22 -160
  69. package/dist/base/llm/provider-config.js.map +1 -1
  70. package/dist/base/llm/provider-factory.d.ts +10 -0
  71. package/dist/base/llm/provider-factory.d.ts.map +1 -1
  72. package/dist/base/llm/provider-factory.js +26 -1
  73. package/dist/base/llm/provider-factory.js.map +1 -1
  74. package/dist/base/state/legacy-archived-goal-recovery.d.ts +8 -0
  75. package/dist/base/state/legacy-archived-goal-recovery.d.ts.map +1 -0
  76. package/dist/base/state/legacy-archived-goal-recovery.js +29 -0
  77. package/dist/base/state/legacy-archived-goal-recovery.js.map +1 -0
  78. package/dist/base/state/legacy-state-manager-wal-recovery.d.ts +13 -0
  79. package/dist/base/state/legacy-state-manager-wal-recovery.d.ts.map +1 -0
  80. package/dist/base/state/legacy-state-manager-wal-recovery.js +102 -0
  81. package/dist/base/state/legacy-state-manager-wal-recovery.js.map +1 -0
  82. package/dist/base/state/{state-wal.d.ts → legacy-state-wal.d.ts} +7 -1
  83. package/dist/base/state/legacy-state-wal.d.ts.map +1 -0
  84. package/dist/base/state/{state-wal.js → legacy-state-wal.js} +50 -2
  85. package/dist/base/state/legacy-state-wal.js.map +1 -0
  86. package/dist/base/state/state-manager.d.ts +73 -44
  87. package/dist/base/state/state-manager.d.ts.map +1 -1
  88. package/dist/base/state/state-manager.js +492 -265
  89. package/dist/base/state/state-manager.js.map +1 -1
  90. package/dist/base/state/state-snapshot.d.ts.map +1 -1
  91. package/dist/base/state/state-snapshot.js +16 -3
  92. package/dist/base/state/state-snapshot.js.map +1 -1
  93. package/dist/base/types/time-horizon.d.ts +1 -0
  94. package/dist/base/types/time-horizon.d.ts.map +1 -1
  95. package/dist/base/types/time-horizon.js +20 -19
  96. package/dist/base/types/time-horizon.js.map +1 -1
  97. package/dist/base/utils/abort-reason.d.ts +11 -0
  98. package/dist/base/utils/abort-reason.d.ts.map +1 -0
  99. package/dist/base/utils/abort-reason.js +17 -0
  100. package/dist/base/utils/abort-reason.js.map +1 -0
  101. package/dist/base/utils/event-spool.d.ts +26 -0
  102. package/dist/base/utils/event-spool.d.ts.map +1 -0
  103. package/dist/base/utils/event-spool.js +149 -0
  104. package/dist/base/utils/event-spool.js.map +1 -0
  105. package/dist/base/utils/execFileNoThrow.d.ts.map +1 -1
  106. package/dist/base/utils/execFileNoThrow.js +21 -3
  107. package/dist/base/utils/execFileNoThrow.js.map +1 -1
  108. package/dist/base/utils/json-io.d.ts +25 -1
  109. package/dist/base/utils/json-io.d.ts.map +1 -1
  110. package/dist/base/utils/json-io.js +144 -3
  111. package/dist/base/utils/json-io.js.map +1 -1
  112. package/dist/base/utils/package-metadata.d.ts +10 -0
  113. package/dist/base/utils/package-metadata.d.ts.map +1 -0
  114. package/dist/base/utils/package-metadata.js +40 -0
  115. package/dist/base/utils/package-metadata.js.map +1 -0
  116. package/dist/base/utils/paths.d.ts +2 -0
  117. package/dist/base/utils/paths.d.ts.map +1 -1
  118. package/dist/base/utils/paths.js +6 -0
  119. package/dist/base/utils/paths.js.map +1 -1
  120. package/dist/base/utils/process-pid.d.ts +15 -0
  121. package/dist/base/utils/process-pid.d.ts.map +1 -0
  122. package/dist/base/utils/process-pid.js +45 -0
  123. package/dist/base/utils/process-pid.js.map +1 -0
  124. package/dist/base/utils/usage-counter.d.ts +14 -0
  125. package/dist/base/utils/usage-counter.d.ts.map +1 -0
  126. package/dist/base/utils/usage-counter.js +50 -0
  127. package/dist/base/utils/usage-counter.js.map +1 -0
  128. package/dist/grounding/contracts.d.ts +2 -0
  129. package/dist/grounding/contracts.d.ts.map +1 -1
  130. package/dist/grounding/profile-surface.d.ts +30 -0
  131. package/dist/grounding/profile-surface.d.ts.map +1 -0
  132. package/dist/grounding/profile-surface.js +257 -0
  133. package/dist/grounding/profile-surface.js.map +1 -0
  134. package/dist/grounding/providers/helpers.d.ts +6 -1
  135. package/dist/grounding/providers/helpers.d.ts.map +1 -1
  136. package/dist/grounding/providers/helpers.js +11 -3
  137. package/dist/grounding/providers/helpers.js.map +1 -1
  138. package/dist/grounding/providers/knowledge-provider.d.ts.map +1 -1
  139. package/dist/grounding/providers/knowledge-provider.js +22 -5
  140. package/dist/grounding/providers/knowledge-provider.js.map +1 -1
  141. package/dist/grounding/providers/session-history-provider.d.ts.map +1 -1
  142. package/dist/grounding/providers/session-history-provider.js +12 -22
  143. package/dist/grounding/providers/session-history-provider.js.map +1 -1
  144. package/dist/grounding/providers/soil-provider.d.ts.map +1 -1
  145. package/dist/grounding/providers/soil-provider.js +65 -10
  146. package/dist/grounding/providers/soil-provider.js.map +1 -1
  147. package/dist/grounding/providers/task-state-provider.d.ts.map +1 -1
  148. package/dist/grounding/providers/task-state-provider.js +7 -27
  149. package/dist/grounding/providers/task-state-provider.js.map +1 -1
  150. package/dist/grounding/providers/trust-state-provider.d.ts.map +1 -1
  151. package/dist/grounding/providers/trust-state-provider.js +5 -4
  152. package/dist/grounding/providers/trust-state-provider.js.map +1 -1
  153. package/dist/grounding/surface-contract-source-helpers.d.ts +37 -0
  154. package/dist/grounding/surface-contract-source-helpers.d.ts.map +1 -0
  155. package/dist/grounding/surface-contract-source-helpers.js +58 -0
  156. package/dist/grounding/surface-contract-source-helpers.js.map +1 -0
  157. package/dist/grounding/surface-contracts.d.ts +19531 -0
  158. package/dist/grounding/surface-contracts.d.ts.map +1 -0
  159. package/dist/grounding/surface-contracts.js +1352 -0
  160. package/dist/grounding/surface-contracts.js.map +1 -0
  161. package/dist/index.d.ts +17 -7
  162. package/dist/index.d.ts.map +1 -1
  163. package/dist/index.js +9 -4
  164. package/dist/index.js.map +1 -1
  165. package/dist/interface/chat/chat-agentloop-state-migration.d.ts +14 -0
  166. package/dist/interface/chat/chat-agentloop-state-migration.d.ts.map +1 -0
  167. package/dist/interface/chat/chat-agentloop-state-migration.js +252 -0
  168. package/dist/interface/chat/chat-agentloop-state-migration.js.map +1 -0
  169. package/dist/interface/chat/chat-command-args.d.ts +47 -0
  170. package/dist/interface/chat/chat-command-args.d.ts.map +1 -0
  171. package/dist/interface/chat/chat-command-args.js +134 -0
  172. package/dist/interface/chat/chat-command-args.js.map +1 -0
  173. package/dist/interface/chat/chat-event-state.d.ts.map +1 -1
  174. package/dist/interface/chat/chat-event-state.js +17 -0
  175. package/dist/interface/chat/chat-event-state.js.map +1 -1
  176. package/dist/interface/chat/chat-events.d.ts +23 -11
  177. package/dist/interface/chat/chat-events.d.ts.map +1 -1
  178. package/dist/interface/chat/chat-history.d.ts +18 -8969
  179. package/dist/interface/chat/chat-history.d.ts.map +1 -1
  180. package/dist/interface/chat/chat-history.js +67 -182
  181. package/dist/interface/chat/chat-history.js.map +1 -1
  182. package/dist/interface/chat/chat-runner-command-helpers.d.ts +4 -8
  183. package/dist/interface/chat/chat-runner-command-helpers.d.ts.map +1 -1
  184. package/dist/interface/chat/chat-runner-command-helpers.js +25 -50
  185. package/dist/interface/chat/chat-runner-command-helpers.js.map +1 -1
  186. package/dist/interface/chat/chat-runner-commands.d.ts +2 -9
  187. package/dist/interface/chat/chat-runner-commands.d.ts.map +1 -1
  188. package/dist/interface/chat/chat-runner-commands.js +112 -254
  189. package/dist/interface/chat/chat-runner-commands.js.map +1 -1
  190. package/dist/interface/chat/chat-runner-contracts.d.ts +34 -3
  191. package/dist/interface/chat/chat-runner-contracts.d.ts.map +1 -1
  192. package/dist/interface/chat/chat-runner-event-bridge.d.ts +35 -21
  193. package/dist/interface/chat/chat-runner-event-bridge.d.ts.map +1 -1
  194. package/dist/interface/chat/chat-runner-event-bridge.js +406 -71
  195. package/dist/interface/chat/chat-runner-event-bridge.js.map +1 -1
  196. package/dist/interface/chat/chat-runner-guardrail-status.d.ts +12 -0
  197. package/dist/interface/chat/chat-runner-guardrail-status.d.ts.map +1 -0
  198. package/dist/interface/chat/chat-runner-guardrail-status.js +173 -0
  199. package/dist/interface/chat/chat-runner-guardrail-status.js.map +1 -0
  200. package/dist/interface/chat/chat-runner-routes.d.ts +34 -88
  201. package/dist/interface/chat/chat-runner-routes.d.ts.map +1 -1
  202. package/dist/interface/chat/chat-runner-routes.js +815 -426
  203. package/dist/interface/chat/chat-runner-routes.js.map +1 -1
  204. package/dist/interface/chat/chat-runner-runtime.d.ts +9 -4
  205. package/dist/interface/chat/chat-runner-runtime.d.ts.map +1 -1
  206. package/dist/interface/chat/chat-runner-runtime.js +47 -17
  207. package/dist/interface/chat/chat-runner-runtime.js.map +1 -1
  208. package/dist/interface/chat/chat-runner-setup-format.d.ts +11 -0
  209. package/dist/interface/chat/chat-runner-setup-format.d.ts.map +1 -0
  210. package/dist/interface/chat/chat-runner-setup-format.js +28 -0
  211. package/dist/interface/chat/chat-runner-setup-format.js.map +1 -0
  212. package/dist/interface/chat/chat-runner-state.d.ts +2 -6
  213. package/dist/interface/chat/chat-runner-state.d.ts.map +1 -1
  214. package/dist/interface/chat/chat-runner-state.js +22 -128
  215. package/dist/interface/chat/chat-runner-state.js.map +1 -1
  216. package/dist/interface/chat/chat-runner-support.d.ts +2 -2
  217. package/dist/interface/chat/chat-runner.d.ts +36 -1
  218. package/dist/interface/chat/chat-runner.d.ts.map +1 -1
  219. package/dist/interface/chat/chat-runner.js +449 -188
  220. package/dist/interface/chat/chat-runner.js.map +1 -1
  221. package/dist/interface/chat/chat-session-contracts.d.ts +8872 -0
  222. package/dist/interface/chat/chat-session-contracts.d.ts.map +1 -0
  223. package/dist/interface/chat/chat-session-contracts.js +143 -0
  224. package/dist/interface/chat/chat-session-contracts.js.map +1 -0
  225. package/dist/interface/chat/chat-session-data-store.d.ts +26 -0
  226. package/dist/interface/chat/chat-session-data-store.d.ts.map +1 -0
  227. package/dist/interface/chat/chat-session-data-store.js +227 -0
  228. package/dist/interface/chat/chat-session-data-store.js.map +1 -0
  229. package/dist/interface/chat/chat-session-store.d.ts +8 -3
  230. package/dist/interface/chat/chat-session-store.d.ts.map +1 -1
  231. package/dist/interface/chat/chat-session-store.js +111 -246
  232. package/dist/interface/chat/chat-session-store.js.map +1 -1
  233. package/dist/interface/chat/chat-state-base-dir.d.ts +3 -0
  234. package/dist/interface/chat/chat-state-base-dir.d.ts.map +1 -0
  235. package/dist/interface/chat/chat-state-base-dir.js +17 -0
  236. package/dist/interface/chat/chat-state-base-dir.js.map +1 -0
  237. package/dist/interface/chat/chat-state-service.d.ts.map +1 -1
  238. package/dist/interface/chat/chat-state-service.js +2 -3
  239. package/dist/interface/chat/chat-state-service.js.map +1 -1
  240. package/dist/interface/chat/chat-usage-contracts.d.ts +102 -0
  241. package/dist/interface/chat/chat-usage-contracts.d.ts.map +1 -0
  242. package/dist/interface/chat/chat-usage-contracts.js +17 -0
  243. package/dist/interface/chat/chat-usage-contracts.js.map +1 -0
  244. package/dist/interface/chat/chat-usage.d.ts +12 -0
  245. package/dist/interface/chat/chat-usage.d.ts.map +1 -0
  246. package/dist/interface/chat/chat-usage.js +38 -0
  247. package/dist/interface/chat/chat-usage.js.map +1 -0
  248. package/dist/interface/chat/cross-platform-session-normalization.d.ts +50 -0
  249. package/dist/interface/chat/cross-platform-session-normalization.d.ts.map +1 -0
  250. package/dist/interface/chat/cross-platform-session-normalization.js +134 -0
  251. package/dist/interface/chat/cross-platform-session-normalization.js.map +1 -0
  252. package/dist/interface/chat/cross-platform-session-types.d.ts +105 -0
  253. package/dist/interface/chat/cross-platform-session-types.d.ts.map +1 -0
  254. package/dist/interface/chat/cross-platform-session-types.js +2 -0
  255. package/dist/interface/chat/cross-platform-session-types.js.map +1 -0
  256. package/dist/interface/chat/cross-platform-session.d.ts +12 -101
  257. package/dist/interface/chat/cross-platform-session.d.ts.map +1 -1
  258. package/dist/interface/chat/cross-platform-session.js +410 -220
  259. package/dist/interface/chat/cross-platform-session.js.map +1 -1
  260. package/dist/interface/chat/event-subscriber.d.ts.map +1 -1
  261. package/dist/interface/chat/event-subscriber.js +3 -2
  262. package/dist/interface/chat/event-subscriber.js.map +1 -1
  263. package/dist/interface/chat/failure-recovery.d.ts +5 -5
  264. package/dist/interface/chat/failure-recovery.d.ts.map +1 -1
  265. package/dist/interface/chat/failure-recovery.js +23 -18
  266. package/dist/interface/chat/failure-recovery.js.map +1 -1
  267. package/dist/interface/chat/feedback-ingestion.d.ts +17 -0
  268. package/dist/interface/chat/feedback-ingestion.d.ts.map +1 -0
  269. package/dist/interface/chat/feedback-ingestion.js +140 -0
  270. package/dist/interface/chat/feedback-ingestion.js.map +1 -0
  271. package/dist/interface/chat/gateway-progress.d.ts +17 -0
  272. package/dist/interface/chat/gateway-progress.d.ts.map +1 -0
  273. package/dist/interface/chat/gateway-progress.js +2 -0
  274. package/dist/interface/chat/gateway-progress.js.map +1 -0
  275. package/dist/interface/chat/grounding.d.ts.map +1 -1
  276. package/dist/interface/chat/grounding.js +2 -0
  277. package/dist/interface/chat/grounding.js.map +1 -1
  278. package/dist/interface/chat/ingress-router.d.ts +11 -63
  279. package/dist/interface/chat/ingress-router.d.ts.map +1 -1
  280. package/dist/interface/chat/ingress-router.js +90 -142
  281. package/dist/interface/chat/ingress-router.js.map +1 -1
  282. package/dist/interface/chat/ingress-types.d.ts +52 -0
  283. package/dist/interface/chat/ingress-types.d.ts.map +1 -0
  284. package/dist/interface/chat/ingress-types.js +2 -0
  285. package/dist/interface/chat/ingress-types.js.map +1 -0
  286. package/dist/interface/chat/operation-progress.d.ts +2 -0
  287. package/dist/interface/chat/operation-progress.d.ts.map +1 -1
  288. package/dist/interface/chat/operation-progress.js +1 -0
  289. package/dist/interface/chat/operation-progress.js.map +1 -1
  290. package/dist/interface/chat/recovery-resume.d.ts +33 -0
  291. package/dist/interface/chat/recovery-resume.d.ts.map +1 -0
  292. package/dist/interface/chat/recovery-resume.js +92 -0
  293. package/dist/interface/chat/recovery-resume.js.map +1 -0
  294. package/dist/interface/chat/resume-choice.d.ts +2 -0
  295. package/dist/interface/chat/resume-choice.d.ts.map +1 -0
  296. package/dist/interface/chat/resume-choice.js +10 -0
  297. package/dist/interface/chat/resume-choice.js.map +1 -0
  298. package/dist/interface/chat/runtime-evidence-gate.d.ts +17 -0
  299. package/dist/interface/chat/runtime-evidence-gate.d.ts.map +1 -0
  300. package/dist/interface/chat/runtime-evidence-gate.js +171 -0
  301. package/dist/interface/chat/runtime-evidence-gate.js.map +1 -0
  302. package/dist/interface/chat/seedy-presence-text.d.ts +7 -0
  303. package/dist/interface/chat/seedy-presence-text.d.ts.map +1 -0
  304. package/dist/interface/chat/seedy-presence-text.js +78 -0
  305. package/dist/interface/chat/seedy-presence-text.js.map +1 -0
  306. package/dist/interface/chat/seedy-presence-view-model.d.ts +15 -0
  307. package/dist/interface/chat/seedy-presence-view-model.d.ts.map +1 -0
  308. package/dist/interface/chat/seedy-presence-view-model.js +90 -0
  309. package/dist/interface/chat/seedy-presence-view-model.js.map +1 -0
  310. package/dist/interface/chat/seedy-turn-presence.d.ts +103 -0
  311. package/dist/interface/chat/seedy-turn-presence.d.ts.map +1 -0
  312. package/dist/interface/chat/seedy-turn-presence.js +195 -0
  313. package/dist/interface/chat/seedy-turn-presence.js.map +1 -0
  314. package/dist/interface/chat/setup-config-write.js +1 -1
  315. package/dist/interface/chat/setup-config-write.js.map +1 -1
  316. package/dist/interface/chat/telegram-setup-guidance.d.ts +55 -0
  317. package/dist/interface/chat/telegram-setup-guidance.d.ts.map +1 -0
  318. package/dist/interface/chat/telegram-setup-guidance.js +105 -0
  319. package/dist/interface/chat/telegram-setup-guidance.js.map +1 -0
  320. package/dist/interface/chat/tend-command.d.ts +1 -0
  321. package/dist/interface/chat/tend-command.d.ts.map +1 -1
  322. package/dist/interface/chat/tend-command.js +67 -15
  323. package/dist/interface/chat/tend-command.js.map +1 -1
  324. package/dist/interface/chat/turn-context.d.ts +2 -0
  325. package/dist/interface/chat/turn-context.d.ts.map +1 -1
  326. package/dist/interface/chat/turn-context.js +2 -0
  327. package/dist/interface/chat/turn-context.js.map +1 -1
  328. package/dist/interface/chat/turn-language.d.ts +0 -1
  329. package/dist/interface/chat/turn-language.d.ts.map +1 -1
  330. package/dist/interface/chat/turn-language.js +0 -3
  331. package/dist/interface/chat/turn-language.js.map +1 -1
  332. package/dist/interface/chat/turn-protocol.d.ts +1 -2
  333. package/dist/interface/chat/turn-protocol.d.ts.map +1 -1
  334. package/dist/interface/chat/turn-protocol.js.map +1 -1
  335. package/dist/interface/chat/turn-state.d.ts +22 -0
  336. package/dist/interface/chat/turn-state.d.ts.map +1 -0
  337. package/dist/interface/chat/turn-state.js +2 -0
  338. package/dist/interface/chat/turn-state.js.map +1 -0
  339. package/dist/interface/cli/cli-command-registry.d.ts +6 -6
  340. package/dist/interface/cli/cli-command-registry.d.ts.map +1 -1
  341. package/dist/interface/cli/cli-command-registry.js +55 -50
  342. package/dist/interface/cli/cli-command-registry.js.map +1 -1
  343. package/dist/interface/cli/cli-runner.d.ts +2 -2
  344. package/dist/interface/cli/cli-runner.d.ts.map +1 -1
  345. package/dist/interface/cli/cli-runner.js +85 -9
  346. package/dist/interface/cli/cli-runner.js.map +1 -1
  347. package/dist/interface/cli/commands/approval.d.ts +1 -1
  348. package/dist/interface/cli/commands/approval.d.ts.map +1 -1
  349. package/dist/interface/cli/commands/approval.js +2 -33
  350. package/dist/interface/cli/commands/approval.js.map +1 -1
  351. package/dist/interface/cli/commands/config.d.ts +2 -2
  352. package/dist/interface/cli/commands/config.d.ts.map +1 -1
  353. package/dist/interface/cli/commands/config.js +85 -28
  354. package/dist/interface/cli/commands/config.js.map +1 -1
  355. package/dist/interface/cli/commands/daemon-shared.d.ts +4 -7
  356. package/dist/interface/cli/commands/daemon-shared.d.ts.map +1 -1
  357. package/dist/interface/cli/commands/daemon-shared.js +46 -52
  358. package/dist/interface/cli/commands/daemon-shared.js.map +1 -1
  359. package/dist/interface/cli/commands/daemon-status-health.d.ts +16 -0
  360. package/dist/interface/cli/commands/daemon-status-health.d.ts.map +1 -0
  361. package/dist/interface/cli/commands/daemon-status-health.js +134 -0
  362. package/dist/interface/cli/commands/daemon-status-health.js.map +1 -0
  363. package/dist/interface/cli/commands/daemon.d.ts +8 -2
  364. package/dist/interface/cli/commands/daemon.d.ts.map +1 -1
  365. package/dist/interface/cli/commands/daemon.js +155 -111
  366. package/dist/interface/cli/commands/daemon.js.map +1 -1
  367. package/dist/interface/cli/commands/display-format.d.ts +8 -0
  368. package/dist/interface/cli/commands/display-format.d.ts.map +1 -0
  369. package/dist/interface/cli/commands/display-format.js +79 -0
  370. package/dist/interface/cli/commands/display-format.js.map +1 -0
  371. package/dist/interface/cli/commands/doctor.d.ts +2 -1
  372. package/dist/interface/cli/commands/doctor.d.ts.map +1 -1
  373. package/dist/interface/cli/commands/doctor.js +172 -80
  374. package/dist/interface/cli/commands/doctor.js.map +1 -1
  375. package/dist/interface/cli/commands/exact-number.d.ts +2 -0
  376. package/dist/interface/cli/commands/exact-number.d.ts.map +1 -0
  377. package/dist/interface/cli/commands/exact-number.js +9 -0
  378. package/dist/interface/cli/commands/exact-number.js.map +1 -0
  379. package/dist/interface/cli/commands/gateway.d.ts +1 -1
  380. package/dist/interface/cli/commands/gateway.d.ts.map +1 -1
  381. package/dist/interface/cli/commands/gateway.js +40 -1
  382. package/dist/interface/cli/commands/gateway.js.map +1 -1
  383. package/dist/interface/cli/commands/goal-dispatch.d.ts.map +1 -1
  384. package/dist/interface/cli/commands/goal-dispatch.js +9 -2
  385. package/dist/interface/cli/commands/goal-dispatch.js.map +1 -1
  386. package/dist/interface/cli/commands/goal-read.d.ts +8 -2
  387. package/dist/interface/cli/commands/goal-read.d.ts.map +1 -1
  388. package/dist/interface/cli/commands/goal-read.js +143 -70
  389. package/dist/interface/cli/commands/goal-read.js.map +1 -1
  390. package/dist/interface/cli/commands/goal-utils.d.ts +5 -12
  391. package/dist/interface/cli/commands/goal-utils.d.ts.map +1 -1
  392. package/dist/interface/cli/commands/goal-utils.js +27 -20
  393. package/dist/interface/cli/commands/goal-utils.js.map +1 -1
  394. package/dist/interface/cli/commands/goal-write.d.ts +2 -2
  395. package/dist/interface/cli/commands/goal-write.d.ts.map +1 -1
  396. package/dist/interface/cli/commands/goal-write.js +17 -7
  397. package/dist/interface/cli/commands/goal-write.js.map +1 -1
  398. package/dist/interface/cli/commands/goal.d.ts +1 -1
  399. package/dist/interface/cli/commands/goal.d.ts.map +1 -1
  400. package/dist/interface/cli/commands/goal.js +1 -1
  401. package/dist/interface/cli/commands/goal.js.map +1 -1
  402. package/dist/interface/cli/commands/install.d.ts +1 -0
  403. package/dist/interface/cli/commands/install.d.ts.map +1 -1
  404. package/dist/interface/cli/commands/install.js +20 -4
  405. package/dist/interface/cli/commands/install.js.map +1 -1
  406. package/dist/interface/cli/commands/logs.d.ts +1 -0
  407. package/dist/interface/cli/commands/logs.d.ts.map +1 -1
  408. package/dist/interface/cli/commands/logs.js +23 -4
  409. package/dist/interface/cli/commands/logs.js.map +1 -1
  410. package/dist/interface/cli/commands/notify.d.ts.map +1 -1
  411. package/dist/interface/cli/commands/notify.js +59 -15
  412. package/dist/interface/cli/commands/notify.js.map +1 -1
  413. package/dist/interface/cli/commands/operator-binding-status.d.ts +2 -0
  414. package/dist/interface/cli/commands/operator-binding-status.d.ts.map +1 -1
  415. package/dist/interface/cli/commands/operator-binding-status.js +191 -14
  416. package/dist/interface/cli/commands/operator-binding-status.js.map +1 -1
  417. package/dist/interface/cli/commands/plugin.d.ts.map +1 -1
  418. package/dist/interface/cli/commands/plugin.js +54 -40
  419. package/dist/interface/cli/commands/plugin.js.map +1 -1
  420. package/dist/interface/cli/commands/profile.d.ts.map +1 -1
  421. package/dist/interface/cli/commands/profile.js +3 -2
  422. package/dist/interface/cli/commands/profile.js.map +1 -1
  423. package/dist/interface/cli/commands/run.d.ts +5 -5
  424. package/dist/interface/cli/commands/run.d.ts.map +1 -1
  425. package/dist/interface/cli/commands/run.js +15 -26
  426. package/dist/interface/cli/commands/run.js.map +1 -1
  427. package/dist/interface/cli/commands/runtime.d.ts.map +1 -1
  428. package/dist/interface/cli/commands/runtime.js +73 -11
  429. package/dist/interface/cli/commands/runtime.js.map +1 -1
  430. package/dist/interface/cli/commands/schedule/cost.d.ts +1 -1
  431. package/dist/interface/cli/commands/schedule/cost.d.ts.map +1 -1
  432. package/dist/interface/cli/commands/schedule/cost.js +9 -22
  433. package/dist/interface/cli/commands/schedule/cost.js.map +1 -1
  434. package/dist/interface/cli/commands/schedule/history.d.ts.map +1 -1
  435. package/dist/interface/cli/commands/schedule/history.js +19 -1
  436. package/dist/interface/cli/commands/schedule/history.js.map +1 -1
  437. package/dist/interface/cli/commands/schedule/shared.d.ts.map +1 -1
  438. package/dist/interface/cli/commands/schedule/shared.js +25 -8
  439. package/dist/interface/cli/commands/schedule/shared.js.map +1 -1
  440. package/dist/interface/cli/commands/schedule.d.ts +1 -1
  441. package/dist/interface/cli/commands/schedule.d.ts.map +1 -1
  442. package/dist/interface/cli/commands/schedule.js +163 -86
  443. package/dist/interface/cli/commands/schedule.js.map +1 -1
  444. package/dist/interface/cli/commands/setup/import/apply.d.ts.map +1 -1
  445. package/dist/interface/cli/commands/setup/import/apply.js +153 -7
  446. package/dist/interface/cli/commands/setup/import/apply.js.map +1 -1
  447. package/dist/interface/cli/commands/setup/import/discovery.js +14 -15
  448. package/dist/interface/cli/commands/setup/import/discovery.js.map +1 -1
  449. package/dist/interface/cli/commands/setup/import/fs-utils.d.ts +4 -0
  450. package/dist/interface/cli/commands/setup/import/fs-utils.d.ts.map +1 -1
  451. package/dist/interface/cli/commands/setup/import/fs-utils.js +20 -2
  452. package/dist/interface/cli/commands/setup/import/fs-utils.js.map +1 -1
  453. package/dist/interface/cli/commands/setup/import/provider.d.ts.map +1 -1
  454. package/dist/interface/cli/commands/setup/import/provider.js +44 -31
  455. package/dist/interface/cli/commands/setup/import/provider.js.map +1 -1
  456. package/dist/interface/cli/commands/setup/import/telegram.d.ts.map +1 -1
  457. package/dist/interface/cli/commands/setup/import/telegram.js +4 -3
  458. package/dist/interface/cli/commands/setup/import/telegram.js.map +1 -1
  459. package/dist/interface/cli/commands/setup/import/types.d.ts +3 -0
  460. package/dist/interface/cli/commands/setup/import/types.d.ts.map +1 -1
  461. package/dist/interface/cli/commands/setup/resident-readiness.d.ts +42 -0
  462. package/dist/interface/cli/commands/setup/resident-readiness.d.ts.map +1 -0
  463. package/dist/interface/cli/commands/setup/resident-readiness.js +79 -0
  464. package/dist/interface/cli/commands/setup/resident-readiness.js.map +1 -0
  465. package/dist/interface/cli/commands/setup/steps-gateway.d.ts +10 -0
  466. package/dist/interface/cli/commands/setup/steps-gateway.d.ts.map +1 -1
  467. package/dist/interface/cli/commands/setup/steps-gateway.js +89 -44
  468. package/dist/interface/cli/commands/setup/steps-gateway.js.map +1 -1
  469. package/dist/interface/cli/commands/setup/steps-runtime.d.ts +1 -0
  470. package/dist/interface/cli/commands/setup/steps-runtime.d.ts.map +1 -1
  471. package/dist/interface/cli/commands/setup/steps-runtime.js +29 -18
  472. package/dist/interface/cli/commands/setup/steps-runtime.js.map +1 -1
  473. package/dist/interface/cli/commands/setup-wizard.d.ts +3 -33
  474. package/dist/interface/cli/commands/setup-wizard.d.ts.map +1 -1
  475. package/dist/interface/cli/commands/setup-wizard.js +18 -81
  476. package/dist/interface/cli/commands/setup-wizard.js.map +1 -1
  477. package/dist/interface/cli/commands/skills.d.ts.map +1 -1
  478. package/dist/interface/cli/commands/skills.js +10 -2
  479. package/dist/interface/cli/commands/skills.js.map +1 -1
  480. package/dist/interface/cli/commands/suggest-normalizer.d.ts +7 -3
  481. package/dist/interface/cli/commands/suggest-normalizer.d.ts.map +1 -1
  482. package/dist/interface/cli/commands/suggest-normalizer.js +70 -23
  483. package/dist/interface/cli/commands/suggest-normalizer.js.map +1 -1
  484. package/dist/interface/cli/commands/suggest.d.ts +1 -0
  485. package/dist/interface/cli/commands/suggest.d.ts.map +1 -1
  486. package/dist/interface/cli/commands/suggest.js +40 -10
  487. package/dist/interface/cli/commands/suggest.js.map +1 -1
  488. package/dist/interface/cli/commands/task-read.d.ts +1 -1
  489. package/dist/interface/cli/commands/task-read.d.ts.map +1 -1
  490. package/dist/interface/cli/commands/task-read.js +8 -30
  491. package/dist/interface/cli/commands/task-read.js.map +1 -1
  492. package/dist/interface/cli/commands/telegram-id-parser.d.ts +10 -0
  493. package/dist/interface/cli/commands/telegram-id-parser.d.ts.map +1 -0
  494. package/dist/interface/cli/commands/telegram-id-parser.js +26 -0
  495. package/dist/interface/cli/commands/telegram-id-parser.js.map +1 -0
  496. package/dist/interface/cli/commands/telegram.d.ts +2 -1
  497. package/dist/interface/cli/commands/telegram.d.ts.map +1 -1
  498. package/dist/interface/cli/commands/telegram.js +66 -20
  499. package/dist/interface/cli/commands/telegram.js.map +1 -1
  500. package/dist/interface/cli/commands/usage.d.ts.map +1 -1
  501. package/dist/interface/cli/commands/usage.js +17 -83
  502. package/dist/interface/cli/commands/usage.js.map +1 -1
  503. package/dist/interface/cli/data-source-bootstrap.d.ts +1 -1
  504. package/dist/interface/cli/data-source-bootstrap.d.ts.map +1 -1
  505. package/dist/interface/cli/data-source-bootstrap.js +43 -10
  506. package/dist/interface/cli/data-source-bootstrap.js.map +1 -1
  507. package/dist/interface/cli/datasource-config-file.d.ts +5 -0
  508. package/dist/interface/cli/datasource-config-file.d.ts.map +1 -0
  509. package/dist/interface/cli/datasource-config-file.js +14 -0
  510. package/dist/interface/cli/datasource-config-file.js.map +1 -0
  511. package/dist/interface/cli/ensure-api-key.d.ts.map +1 -1
  512. package/dist/interface/cli/ensure-api-key.js +5 -1
  513. package/dist/interface/cli/ensure-api-key.js.map +1 -1
  514. package/dist/interface/cli/setup.d.ts.map +1 -1
  515. package/dist/interface/cli/setup.js +13 -10
  516. package/dist/interface/cli/setup.js.map +1 -1
  517. package/dist/interface/cli/utils/loop-runner.d.ts +2 -2
  518. package/dist/interface/cli/utils/loop-runner.d.ts.map +1 -1
  519. package/dist/interface/cli/utils/loop-runner.js +3 -3
  520. package/dist/interface/cli/utils/loop-runner.js.map +1 -1
  521. package/dist/interface/cli/utils.d.ts.map +1 -1
  522. package/dist/interface/cli/utils.js +5 -2
  523. package/dist/interface/cli/utils.js.map +1 -1
  524. package/dist/interface/current-goal-summary.d.ts +20 -0
  525. package/dist/interface/current-goal-summary.d.ts.map +1 -0
  526. package/dist/interface/current-goal-summary.js +197 -0
  527. package/dist/interface/current-goal-summary.js.map +1 -0
  528. package/dist/interface/goal-status-display.d.ts +7 -0
  529. package/dist/interface/goal-status-display.d.ts.map +1 -0
  530. package/dist/interface/goal-status-display.js +48 -0
  531. package/dist/interface/goal-status-display.js.map +1 -0
  532. package/dist/interface/mcp-server/tools.d.ts.map +1 -1
  533. package/dist/interface/mcp-server/tools.js +6 -29
  534. package/dist/interface/mcp-server/tools.js.map +1 -1
  535. package/dist/interface/runtime-budget-summary.d.ts +19 -0
  536. package/dist/interface/runtime-budget-summary.d.ts.map +1 -0
  537. package/dist/interface/runtime-budget-summary.js +157 -0
  538. package/dist/interface/runtime-budget-summary.js.map +1 -0
  539. package/dist/interface/tui/actions.d.ts +7 -0
  540. package/dist/interface/tui/actions.d.ts.map +1 -1
  541. package/dist/interface/tui/actions.js +91 -46
  542. package/dist/interface/tui/actions.js.map +1 -1
  543. package/dist/interface/tui/app-approval.d.ts +4 -0
  544. package/dist/interface/tui/app-approval.d.ts.map +1 -0
  545. package/dist/interface/tui/app-approval.js +53 -0
  546. package/dist/interface/tui/app-approval.js.map +1 -0
  547. package/dist/interface/tui/app-shell.d.ts +18 -0
  548. package/dist/interface/tui/app-shell.d.ts.map +1 -0
  549. package/dist/interface/tui/app-shell.js +47 -0
  550. package/dist/interface/tui/app-shell.js.map +1 -0
  551. package/dist/interface/tui/app.d.ts +4 -6
  552. package/dist/interface/tui/app.d.ts.map +1 -1
  553. package/dist/interface/tui/app.js +81 -77
  554. package/dist/interface/tui/app.js.map +1 -1
  555. package/dist/interface/tui/chat/scroll.d.ts.map +1 -1
  556. package/dist/interface/tui/chat/scroll.js +18 -8
  557. package/dist/interface/tui/chat/scroll.js.map +1 -1
  558. package/dist/interface/tui/chat/suggestions.js +19 -19
  559. package/dist/interface/tui/chat/suggestions.js.map +1 -1
  560. package/dist/interface/tui/chat.d.ts +1 -1
  561. package/dist/interface/tui/chat.d.ts.map +1 -1
  562. package/dist/interface/tui/chat.js +4 -3
  563. package/dist/interface/tui/chat.js.map +1 -1
  564. package/dist/interface/tui/dashboard.d.ts.map +1 -1
  565. package/dist/interface/tui/dashboard.js +2 -2
  566. package/dist/interface/tui/dashboard.js.map +1 -1
  567. package/dist/interface/tui/entry-daemon.d.ts.map +1 -1
  568. package/dist/interface/tui/entry-daemon.js +9 -4
  569. package/dist/interface/tui/entry-daemon.js.map +1 -1
  570. package/dist/interface/tui/entry-deps.d.ts.map +1 -1
  571. package/dist/interface/tui/entry-deps.js +12 -9
  572. package/dist/interface/tui/entry-deps.js.map +1 -1
  573. package/dist/interface/tui/flicker-overlay.d.ts.map +1 -1
  574. package/dist/interface/tui/flicker-overlay.js +5 -4
  575. package/dist/interface/tui/flicker-overlay.js.map +1 -1
  576. package/dist/interface/tui/fullscreen-chat-actions.d.ts +17 -0
  577. package/dist/interface/tui/fullscreen-chat-actions.d.ts.map +1 -0
  578. package/dist/interface/tui/fullscreen-chat-actions.js +98 -0
  579. package/dist/interface/tui/fullscreen-chat-actions.js.map +1 -0
  580. package/dist/interface/tui/fullscreen-chat-composer.d.ts +28 -0
  581. package/dist/interface/tui/fullscreen-chat-composer.d.ts.map +1 -0
  582. package/dist/interface/tui/fullscreen-chat-composer.js +385 -0
  583. package/dist/interface/tui/fullscreen-chat-composer.js.map +1 -0
  584. package/dist/interface/tui/fullscreen-chat-render-types.d.ts +68 -0
  585. package/dist/interface/tui/fullscreen-chat-render-types.d.ts.map +1 -0
  586. package/dist/interface/tui/fullscreen-chat-render-types.js +2 -0
  587. package/dist/interface/tui/fullscreen-chat-render-types.js.map +1 -0
  588. package/dist/interface/tui/fullscreen-chat-render-utils.d.ts +10 -0
  589. package/dist/interface/tui/fullscreen-chat-render-utils.d.ts.map +1 -0
  590. package/dist/interface/tui/fullscreen-chat-render-utils.js +45 -0
  591. package/dist/interface/tui/fullscreen-chat-render-utils.js.map +1 -0
  592. package/dist/interface/tui/fullscreen-chat-render.d.ts +13 -93
  593. package/dist/interface/tui/fullscreen-chat-render.d.ts.map +1 -1
  594. package/dist/interface/tui/fullscreen-chat-render.js +19 -420
  595. package/dist/interface/tui/fullscreen-chat-render.js.map +1 -1
  596. package/dist/interface/tui/fullscreen-chat.d.ts.map +1 -1
  597. package/dist/interface/tui/fullscreen-chat.js +2 -97
  598. package/dist/interface/tui/fullscreen-chat.js.map +1 -1
  599. package/dist/interface/tui/help-overlay.d.ts.map +1 -1
  600. package/dist/interface/tui/help-overlay.js +1 -1
  601. package/dist/interface/tui/help-overlay.js.map +1 -1
  602. package/dist/interface/tui/intent-recognizer.d.ts.map +1 -1
  603. package/dist/interface/tui/intent-recognizer.js +59 -3
  604. package/dist/interface/tui/intent-recognizer.js.map +1 -1
  605. package/dist/interface/tui/markdown-code-highlight.d.ts +7 -0
  606. package/dist/interface/tui/markdown-code-highlight.d.ts.map +1 -0
  607. package/dist/interface/tui/markdown-code-highlight.js +64 -0
  608. package/dist/interface/tui/markdown-code-highlight.js.map +1 -0
  609. package/dist/interface/tui/markdown-inline.d.ts +9 -0
  610. package/dist/interface/tui/markdown-inline.d.ts.map +1 -0
  611. package/dist/interface/tui/markdown-inline.js +86 -0
  612. package/dist/interface/tui/markdown-inline.js.map +1 -0
  613. package/dist/interface/tui/markdown-renderer-types.d.ts +16 -0
  614. package/dist/interface/tui/markdown-renderer-types.d.ts.map +1 -0
  615. package/dist/interface/tui/markdown-renderer-types.js +2 -0
  616. package/dist/interface/tui/markdown-renderer-types.js.map +1 -0
  617. package/dist/interface/tui/markdown-renderer.d.ts +4 -25
  618. package/dist/interface/tui/markdown-renderer.d.ts.map +1 -1
  619. package/dist/interface/tui/markdown-renderer.js +8 -164
  620. package/dist/interface/tui/markdown-renderer.js.map +1 -1
  621. package/dist/interface/tui/report-view.d.ts +2 -1
  622. package/dist/interface/tui/report-view.d.ts.map +1 -1
  623. package/dist/interface/tui/report-view.js +18 -7
  624. package/dist/interface/tui/report-view.js.map +1 -1
  625. package/dist/interface/tui/settings-overlay.js +4 -4
  626. package/dist/interface/tui/settings-overlay.js.map +1 -1
  627. package/dist/interface/tui/use-loop.d.ts +3 -3
  628. package/dist/interface/tui/use-loop.d.ts.map +1 -1
  629. package/dist/interface/tui/use-loop.js +18 -8
  630. package/dist/interface/tui/use-loop.js.map +1 -1
  631. package/dist/interface/usage-counter.d.ts +3 -0
  632. package/dist/interface/usage-counter.d.ts.map +1 -0
  633. package/dist/interface/usage-counter.js +2 -0
  634. package/dist/interface/usage-counter.js.map +1 -0
  635. package/dist/interface/usage-period.d.ts +2 -0
  636. package/dist/interface/usage-period.d.ts.map +1 -0
  637. package/dist/interface/usage-period.js +23 -0
  638. package/dist/interface/usage-period.js.map +1 -0
  639. package/dist/orchestrator/execution/adapter-layer.d.ts +3 -0
  640. package/dist/orchestrator/execution/adapter-layer.d.ts.map +1 -1
  641. package/dist/orchestrator/execution/adapter-layer.js.map +1 -1
  642. package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.d.ts.map +1 -1
  643. package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.js +1 -0
  644. package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.js.map +1 -1
  645. package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.d.ts.map +1 -1
  646. package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.js +1 -4
  647. package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.js.map +1 -1
  648. package/dist/orchestrator/execution/agent-loop/agent-loop-events.d.ts +3 -0
  649. package/dist/orchestrator/execution/agent-loop/agent-loop-events.d.ts.map +1 -1
  650. package/dist/orchestrator/execution/agent-loop/agent-loop-events.js.map +1 -1
  651. package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.d.ts.map +1 -1
  652. package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.js +22 -3
  653. package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.js.map +1 -1
  654. package/dist/orchestrator/execution/agent-loop/agent-loop-model.d.ts +5 -0
  655. package/dist/orchestrator/execution/agent-loop/agent-loop-model.d.ts.map +1 -1
  656. package/dist/orchestrator/execution/agent-loop/agent-loop-model.js.map +1 -1
  657. package/dist/orchestrator/execution/agent-loop/agent-loop-result.d.ts +6 -0
  658. package/dist/orchestrator/execution/agent-loop/agent-loop-result.d.ts.map +1 -1
  659. package/dist/orchestrator/execution/agent-loop/agent-loop-session-db-store.d.ts +37 -0
  660. package/dist/orchestrator/execution/agent-loop/agent-loop-session-db-store.d.ts.map +1 -0
  661. package/dist/orchestrator/execution/agent-loop/agent-loop-session-db-store.js +206 -0
  662. package/dist/orchestrator/execution/agent-loop/agent-loop-session-db-store.js.map +1 -0
  663. package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.d.ts +1 -1
  664. package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.d.ts.map +1 -1
  665. package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.js +6 -12
  666. package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.js.map +1 -1
  667. package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.d.ts +0 -6
  668. package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.d.ts.map +1 -1
  669. package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.js +0 -21
  670. package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.js.map +1 -1
  671. package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.d.ts +0 -7
  672. package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.d.ts.map +1 -1
  673. package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.js +0 -20
  674. package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.js.map +1 -1
  675. package/dist/orchestrator/execution/agent-loop/agent-loop-workspace-snapshot.d.ts +17 -0
  676. package/dist/orchestrator/execution/agent-loop/agent-loop-workspace-snapshot.d.ts.map +1 -0
  677. package/dist/orchestrator/execution/agent-loop/agent-loop-workspace-snapshot.js +144 -0
  678. package/dist/orchestrator/execution/agent-loop/agent-loop-workspace-snapshot.js.map +1 -0
  679. package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.d.ts.map +1 -1
  680. package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.js +2 -2
  681. package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.js.map +1 -1
  682. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.d.ts +0 -9
  683. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.d.ts.map +1 -1
  684. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.js +47 -203
  685. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.js.map +1 -1
  686. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-tool-observation.d.ts +11 -0
  687. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-tool-observation.d.ts.map +1 -0
  688. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-tool-observation.js +63 -0
  689. package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-tool-observation.js.map +1 -0
  690. package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.d.ts +2 -2
  691. package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.d.ts.map +1 -1
  692. package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.js +6 -3
  693. package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.js.map +1 -1
  694. package/dist/orchestrator/execution/agent-loop/core-phase-runner.d.ts.map +1 -1
  695. package/dist/orchestrator/execution/agent-loop/core-phase-runner.js +16 -2
  696. package/dist/orchestrator/execution/agent-loop/core-phase-runner.js.map +1 -1
  697. package/dist/orchestrator/execution/agent-loop/durable-loop-control-tools.d.ts.map +1 -1
  698. package/dist/orchestrator/execution/agent-loop/durable-loop-control-tools.js +26 -13
  699. package/dist/orchestrator/execution/agent-loop/durable-loop-control-tools.js.map +1 -1
  700. package/dist/orchestrator/execution/agent-loop/response-item.d.ts +22 -19
  701. package/dist/orchestrator/execution/agent-loop/response-item.d.ts.map +1 -1
  702. package/dist/orchestrator/execution/agent-loop/response-item.js.map +1 -1
  703. package/dist/orchestrator/execution/agent-loop/self-protection.d.ts.map +1 -1
  704. package/dist/orchestrator/execution/agent-loop/self-protection.js +2 -2
  705. package/dist/orchestrator/execution/agent-loop/self-protection.js.map +1 -1
  706. package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.d.ts.map +1 -1
  707. package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.js +18 -6
  708. package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.js.map +1 -1
  709. package/dist/orchestrator/execution/agent-loop/task-agent-loop-factory.js +32 -11
  710. package/dist/orchestrator/execution/agent-loop/task-agent-loop-factory.js.map +1 -1
  711. package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.d.ts.map +1 -1
  712. package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.js +3 -0
  713. package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.js.map +1 -1
  714. package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.d.ts +2 -0
  715. package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.d.ts.map +1 -1
  716. package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.js +180 -0
  717. package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.js.map +1 -1
  718. package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.d.ts.map +1 -1
  719. package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.js +27 -1
  720. package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.js.map +1 -1
  721. package/dist/orchestrator/execution/checkpoint-manager.d.ts +0 -3
  722. package/dist/orchestrator/execution/checkpoint-manager.d.ts.map +1 -1
  723. package/dist/orchestrator/execution/checkpoint-manager.js +12 -52
  724. package/dist/orchestrator/execution/checkpoint-manager.js.map +1 -1
  725. package/dist/orchestrator/execution/context/context-budget.d.ts.map +1 -1
  726. package/dist/orchestrator/execution/context/context-budget.js +36 -14
  727. package/dist/orchestrator/execution/context/context-budget.js.map +1 -1
  728. package/dist/orchestrator/execution/context/issue-context-fetcher.d.ts +1 -1
  729. package/dist/orchestrator/execution/context/issue-context-fetcher.d.ts.map +1 -1
  730. package/dist/orchestrator/execution/context/issue-context-fetcher.js +11 -3
  731. package/dist/orchestrator/execution/context/issue-context-fetcher.js.map +1 -1
  732. package/dist/orchestrator/execution/pipeline-executor.d.ts.map +1 -1
  733. package/dist/orchestrator/execution/pipeline-executor.js +3 -5
  734. package/dist/orchestrator/execution/pipeline-executor.js.map +1 -1
  735. package/dist/orchestrator/execution/session-manager.d.ts +4 -7
  736. package/dist/orchestrator/execution/session-manager.d.ts.map +1 -1
  737. package/dist/orchestrator/execution/session-manager.js +8 -38
  738. package/dist/orchestrator/execution/session-manager.js.map +1 -1
  739. package/dist/orchestrator/execution/task/task-artifact-contract.d.ts +1 -0
  740. package/dist/orchestrator/execution/task/task-artifact-contract.d.ts.map +1 -1
  741. package/dist/orchestrator/execution/task/task-artifact-contract.js +49 -3
  742. package/dist/orchestrator/execution/task/task-artifact-contract.js.map +1 -1
  743. package/dist/orchestrator/execution/task/task-diff-capture.d.ts +1 -0
  744. package/dist/orchestrator/execution/task/task-diff-capture.d.ts.map +1 -1
  745. package/dist/orchestrator/execution/task/task-diff-capture.js +92 -3
  746. package/dist/orchestrator/execution/task/task-diff-capture.js.map +1 -1
  747. package/dist/orchestrator/execution/task/task-execution-helpers.d.ts +2 -1
  748. package/dist/orchestrator/execution/task/task-execution-helpers.d.ts.map +1 -1
  749. package/dist/orchestrator/execution/task/task-execution-helpers.js +19 -6
  750. package/dist/orchestrator/execution/task/task-execution-helpers.js.map +1 -1
  751. package/dist/orchestrator/execution/task/task-executor.js +6 -6
  752. package/dist/orchestrator/execution/task/task-executor.js.map +1 -1
  753. package/dist/orchestrator/execution/task/task-generation-schema.d.ts +210 -0
  754. package/dist/orchestrator/execution/task/task-generation-schema.d.ts.map +1 -0
  755. package/dist/orchestrator/execution/task/task-generation-schema.js +42 -0
  756. package/dist/orchestrator/execution/task/task-generation-schema.js.map +1 -0
  757. package/dist/orchestrator/execution/task/task-generation-workspace-contract.d.ts +11 -0
  758. package/dist/orchestrator/execution/task/task-generation-workspace-contract.d.ts.map +1 -0
  759. package/dist/orchestrator/execution/task/task-generation-workspace-contract.js +149 -0
  760. package/dist/orchestrator/execution/task/task-generation-workspace-contract.js.map +1 -0
  761. package/dist/orchestrator/execution/task/task-generation.d.ts +3 -205
  762. package/dist/orchestrator/execution/task/task-generation.d.ts.map +1 -1
  763. package/dist/orchestrator/execution/task/task-generation.js +72 -87
  764. package/dist/orchestrator/execution/task/task-generation.js.map +1 -1
  765. package/dist/orchestrator/execution/task/task-history-metrics.d.ts +2 -0
  766. package/dist/orchestrator/execution/task/task-history-metrics.d.ts.map +1 -0
  767. package/dist/orchestrator/execution/task/task-history-metrics.js +13 -0
  768. package/dist/orchestrator/execution/task/task-history-metrics.js.map +1 -0
  769. package/dist/orchestrator/execution/task/task-lifecycle-policies.d.ts +29 -0
  770. package/dist/orchestrator/execution/task/task-lifecycle-policies.d.ts.map +1 -0
  771. package/dist/orchestrator/execution/task/task-lifecycle-policies.js +96 -0
  772. package/dist/orchestrator/execution/task/task-lifecycle-policies.js.map +1 -0
  773. package/dist/orchestrator/execution/task/task-lifecycle-runner.d.ts.map +1 -1
  774. package/dist/orchestrator/execution/task/task-lifecycle-runner.js +34 -3
  775. package/dist/orchestrator/execution/task/task-lifecycle-runner.js.map +1 -1
  776. package/dist/orchestrator/execution/task/task-lifecycle.d.ts.map +1 -1
  777. package/dist/orchestrator/execution/task/task-lifecycle.js +34 -84
  778. package/dist/orchestrator/execution/task/task-lifecycle.js.map +1 -1
  779. package/dist/orchestrator/execution/task/task-outcome-ledger.d.ts +1 -1
  780. package/dist/orchestrator/execution/task/task-outcome-ledger.d.ts.map +1 -1
  781. package/dist/orchestrator/execution/task/task-outcome-ledger.js +7 -73
  782. package/dist/orchestrator/execution/task/task-outcome-ledger.js.map +1 -1
  783. package/dist/orchestrator/execution/task/task-post-execution.d.ts +2 -1
  784. package/dist/orchestrator/execution/task/task-post-execution.d.ts.map +1 -1
  785. package/dist/orchestrator/execution/task/task-post-execution.js +3 -3
  786. package/dist/orchestrator/execution/task/task-post-execution.js.map +1 -1
  787. package/dist/orchestrator/execution/task/task-prompt-builder.d.ts.map +1 -1
  788. package/dist/orchestrator/execution/task/task-prompt-builder.js +37 -19
  789. package/dist/orchestrator/execution/task/task-prompt-builder.js.map +1 -1
  790. package/dist/orchestrator/execution/task/task-verifier-evidence.d.ts +33 -0
  791. package/dist/orchestrator/execution/task/task-verifier-evidence.d.ts.map +1 -0
  792. package/dist/orchestrator/execution/task/task-verifier-evidence.js +164 -0
  793. package/dist/orchestrator/execution/task/task-verifier-evidence.js.map +1 -0
  794. package/dist/orchestrator/execution/task/task-verifier-rules.d.ts +1 -0
  795. package/dist/orchestrator/execution/task/task-verifier-rules.d.ts.map +1 -1
  796. package/dist/orchestrator/execution/task/task-verifier-rules.js +50 -44
  797. package/dist/orchestrator/execution/task/task-verifier-rules.js.map +1 -1
  798. package/dist/orchestrator/execution/task/task-verifier-types.d.ts +1 -1
  799. package/dist/orchestrator/execution/task/task-verifier-types.d.ts.map +1 -1
  800. package/dist/orchestrator/execution/task/task-verifier-workspace-guards.d.ts +10 -0
  801. package/dist/orchestrator/execution/task/task-verifier-workspace-guards.d.ts.map +1 -0
  802. package/dist/orchestrator/execution/task/task-verifier-workspace-guards.js +65 -0
  803. package/dist/orchestrator/execution/task/task-verifier-workspace-guards.js.map +1 -0
  804. package/dist/orchestrator/execution/task/task-verifier.d.ts +3 -2
  805. package/dist/orchestrator/execution/task/task-verifier.d.ts.map +1 -1
  806. package/dist/orchestrator/execution/task/task-verifier.js +98 -258
  807. package/dist/orchestrator/execution/task/task-verifier.js.map +1 -1
  808. package/dist/orchestrator/execution/types/session.d.ts +2 -0
  809. package/dist/orchestrator/execution/types/session.d.ts.map +1 -1
  810. package/dist/orchestrator/execution/types/session.js +11 -7
  811. package/dist/orchestrator/execution/types/session.js.map +1 -1
  812. package/dist/orchestrator/execution/types/task-group.d.ts +5 -0
  813. package/dist/orchestrator/execution/types/task-group.d.ts.map +1 -1
  814. package/dist/orchestrator/execution/types/task.d.ts +11 -0
  815. package/dist/orchestrator/execution/types/task.d.ts.map +1 -1
  816. package/dist/orchestrator/execution/types/task.js +2 -0
  817. package/dist/orchestrator/execution/types/task.js.map +1 -1
  818. package/dist/orchestrator/goal/goal-dependency-graph.d.ts +7 -5
  819. package/dist/orchestrator/goal/goal-dependency-graph.d.ts.map +1 -1
  820. package/dist/orchestrator/goal/goal-dependency-graph.js +53 -18
  821. package/dist/orchestrator/goal/goal-dependency-graph.js.map +1 -1
  822. package/dist/orchestrator/goal/goal-negotiator.d.ts +5 -1
  823. package/dist/orchestrator/goal/goal-negotiator.d.ts.map +1 -1
  824. package/dist/orchestrator/goal/goal-negotiator.js +7 -6
  825. package/dist/orchestrator/goal/goal-negotiator.js.map +1 -1
  826. package/dist/orchestrator/goal/goal-refiner.d.ts.map +1 -1
  827. package/dist/orchestrator/goal/goal-refiner.js +15 -8
  828. package/dist/orchestrator/goal/goal-refiner.js.map +1 -1
  829. package/dist/orchestrator/goal/goal-suggest.d.ts +6 -2
  830. package/dist/orchestrator/goal/goal-suggest.d.ts.map +1 -1
  831. package/dist/orchestrator/goal/goal-suggest.js +19 -30
  832. package/dist/orchestrator/goal/goal-suggest.js.map +1 -1
  833. package/dist/orchestrator/goal/milestone-evaluator.d.ts.map +1 -1
  834. package/dist/orchestrator/goal/milestone-evaluator.js +65 -31
  835. package/dist/orchestrator/goal/milestone-evaluator.js.map +1 -1
  836. package/dist/orchestrator/goal/negotiator-context.d.ts.map +1 -1
  837. package/dist/orchestrator/goal/negotiator-context.js +68 -76
  838. package/dist/orchestrator/goal/negotiator-context.js.map +1 -1
  839. package/dist/orchestrator/goal/negotiator-feasibility.d.ts.map +1 -1
  840. package/dist/orchestrator/goal/negotiator-feasibility.js +2 -1
  841. package/dist/orchestrator/goal/negotiator-feasibility.js.map +1 -1
  842. package/dist/orchestrator/goal/types/dependency.d.ts +55 -0
  843. package/dist/orchestrator/goal/types/dependency.d.ts.map +1 -1
  844. package/dist/orchestrator/goal/types/dependency.js +5 -0
  845. package/dist/orchestrator/goal/types/dependency.js.map +1 -1
  846. package/dist/orchestrator/goal/types/goal-refiner.d.ts.map +1 -1
  847. package/dist/orchestrator/goal/types/goal-refiner.js +0 -1
  848. package/dist/orchestrator/goal/types/goal-refiner.js.map +1 -1
  849. package/dist/orchestrator/loop/checkpoint-manager-loop.d.ts.map +1 -1
  850. package/dist/orchestrator/loop/checkpoint-manager-loop.js +6 -9
  851. package/dist/orchestrator/loop/checkpoint-manager-loop.js.map +1 -1
  852. package/dist/orchestrator/loop/durable-loop/dream-review-checkpoint.js +1 -9
  853. package/dist/orchestrator/loop/durable-loop/dream-review-checkpoint.js.map +1 -1
  854. package/dist/orchestrator/loop/durable-loop/iteration-kernel-evidence-helpers.d.ts +13 -0
  855. package/dist/orchestrator/loop/durable-loop/iteration-kernel-evidence-helpers.d.ts.map +1 -0
  856. package/dist/orchestrator/loop/durable-loop/iteration-kernel-evidence-helpers.js +65 -0
  857. package/dist/orchestrator/loop/durable-loop/iteration-kernel-evidence-helpers.js.map +1 -0
  858. package/dist/orchestrator/loop/durable-loop/iteration-kernel-wait.d.ts.map +1 -1
  859. package/dist/orchestrator/loop/durable-loop/iteration-kernel-wait.js +1 -2
  860. package/dist/orchestrator/loop/durable-loop/iteration-kernel-wait.js.map +1 -1
  861. package/dist/orchestrator/loop/durable-loop/iteration-kernel.d.ts.map +1 -1
  862. package/dist/orchestrator/loop/durable-loop/iteration-kernel.js +9 -65
  863. package/dist/orchestrator/loop/durable-loop/iteration-kernel.js.map +1 -1
  864. package/dist/orchestrator/loop/durable-loop/learning.js +3 -3
  865. package/dist/orchestrator/loop/durable-loop/learning.js.map +1 -1
  866. package/dist/orchestrator/loop/durable-loop/phase-specs.d.ts +67 -57
  867. package/dist/orchestrator/loop/durable-loop/phase-specs.d.ts.map +1 -1
  868. package/dist/orchestrator/loop/durable-loop/phase-specs.js +33 -26
  869. package/dist/orchestrator/loop/durable-loop/phase-specs.js.map +1 -1
  870. package/dist/orchestrator/loop/durable-loop/task-cycle-stall.d.ts +3 -1
  871. package/dist/orchestrator/loop/durable-loop/task-cycle-stall.d.ts.map +1 -1
  872. package/dist/orchestrator/loop/durable-loop/task-cycle-stall.js +10 -4
  873. package/dist/orchestrator/loop/durable-loop/task-cycle-stall.js.map +1 -1
  874. package/dist/orchestrator/loop/durable-loop/task-cycle-wait.js +2 -3
  875. package/dist/orchestrator/loop/durable-loop/task-cycle-wait.js.map +1 -1
  876. package/dist/orchestrator/loop/durable-loop/task-cycle.d.ts +1 -4
  877. package/dist/orchestrator/loop/durable-loop/task-cycle.d.ts.map +1 -1
  878. package/dist/orchestrator/loop/durable-loop/task-cycle.js +32 -12
  879. package/dist/orchestrator/loop/durable-loop/task-cycle.js.map +1 -1
  880. package/dist/orchestrator/loop/iteration-budget.d.ts +11 -1
  881. package/dist/orchestrator/loop/iteration-budget.d.ts.map +1 -1
  882. package/dist/orchestrator/loop/iteration-budget.js +29 -11
  883. package/dist/orchestrator/loop/iteration-budget.js.map +1 -1
  884. package/dist/orchestrator/loop/tree-loop-runner.d.ts.map +1 -1
  885. package/dist/orchestrator/loop/tree-loop-runner.js +18 -8
  886. package/dist/orchestrator/loop/tree-loop-runner.js.map +1 -1
  887. package/dist/orchestrator/strategy/cross-goal-portfolio.d.ts.map +1 -1
  888. package/dist/orchestrator/strategy/cross-goal-portfolio.js +7 -5
  889. package/dist/orchestrator/strategy/cross-goal-portfolio.js.map +1 -1
  890. package/dist/orchestrator/strategy/portfolio-manager.d.ts +7 -1
  891. package/dist/orchestrator/strategy/portfolio-manager.d.ts.map +1 -1
  892. package/dist/orchestrator/strategy/portfolio-manager.js +8 -6
  893. package/dist/orchestrator/strategy/portfolio-manager.js.map +1 -1
  894. package/dist/orchestrator/strategy/portfolio-rebalance.d.ts +6 -5
  895. package/dist/orchestrator/strategy/portfolio-rebalance.d.ts.map +1 -1
  896. package/dist/orchestrator/strategy/portfolio-rebalance.js +28 -398
  897. package/dist/orchestrator/strategy/portfolio-rebalance.js.map +1 -1
  898. package/dist/orchestrator/strategy/portfolio-wait-observation.d.ts +18 -0
  899. package/dist/orchestrator/strategy/portfolio-wait-observation.d.ts.map +1 -0
  900. package/dist/orchestrator/strategy/portfolio-wait-observation.js +377 -0
  901. package/dist/orchestrator/strategy/portfolio-wait-observation.js.map +1 -0
  902. package/dist/orchestrator/strategy/strategy-helpers.d.ts +3 -2
  903. package/dist/orchestrator/strategy/strategy-helpers.d.ts.map +1 -1
  904. package/dist/orchestrator/strategy/strategy-helpers.js +5 -17
  905. package/dist/orchestrator/strategy/strategy-helpers.js.map +1 -1
  906. package/dist/orchestrator/strategy/strategy-manager-base.d.ts.map +1 -1
  907. package/dist/orchestrator/strategy/strategy-manager-base.js +5 -10
  908. package/dist/orchestrator/strategy/strategy-manager-base.js.map +1 -1
  909. package/dist/orchestrator/strategy/strategy-manager.d.ts +1 -3
  910. package/dist/orchestrator/strategy/strategy-manager.d.ts.map +1 -1
  911. package/dist/orchestrator/strategy/strategy-manager.js +23 -44
  912. package/dist/orchestrator/strategy/strategy-manager.js.map +1 -1
  913. package/dist/orchestrator/strategy/strategy-template-registry.d.ts +5 -6
  914. package/dist/orchestrator/strategy/strategy-template-registry.d.ts.map +1 -1
  915. package/dist/orchestrator/strategy/strategy-template-registry.js +10 -25
  916. package/dist/orchestrator/strategy/strategy-template-registry.js.map +1 -1
  917. package/dist/orchestrator/strategy/strategy-template-state-migration.d.ts +14 -0
  918. package/dist/orchestrator/strategy/strategy-template-state-migration.d.ts.map +1 -0
  919. package/dist/orchestrator/strategy/strategy-template-state-migration.js +136 -0
  920. package/dist/orchestrator/strategy/strategy-template-state-migration.js.map +1 -0
  921. package/dist/orchestrator/strategy/strategy-template-state-store.d.ts +16 -0
  922. package/dist/orchestrator/strategy/strategy-template-state-store.d.ts.map +1 -0
  923. package/dist/orchestrator/strategy/strategy-template-state-store.js +84 -0
  924. package/dist/orchestrator/strategy/strategy-template-state-store.js.map +1 -0
  925. package/dist/orchestrator/strategy/strategy-workspace.d.ts.map +1 -1
  926. package/dist/orchestrator/strategy/strategy-workspace.js +6 -19
  927. package/dist/orchestrator/strategy/strategy-workspace.js.map +1 -1
  928. package/dist/orchestrator/strategy/types/cross-portfolio.d.ts +7 -6
  929. package/dist/orchestrator/strategy/types/cross-portfolio.d.ts.map +1 -1
  930. package/dist/orchestrator/strategy/types/cross-portfolio.js +2 -1
  931. package/dist/orchestrator/strategy/types/cross-portfolio.js.map +1 -1
  932. package/dist/orchestrator/strategy/types/portfolio.d.ts +1 -0
  933. package/dist/orchestrator/strategy/types/portfolio.d.ts.map +1 -1
  934. package/dist/orchestrator/strategy/types/portfolio.js +2 -1
  935. package/dist/orchestrator/strategy/types/portfolio.js.map +1 -1
  936. package/dist/orchestrator/strategy/types/strategy.d.ts +8 -3
  937. package/dist/orchestrator/strategy/types/strategy.d.ts.map +1 -1
  938. package/dist/orchestrator/strategy/types/strategy.js +25 -17
  939. package/dist/orchestrator/strategy/types/strategy.js.map +1 -1
  940. package/dist/platform/code-search/candidate-normalizer.d.ts.map +1 -1
  941. package/dist/platform/code-search/candidate-normalizer.js +4 -2
  942. package/dist/platform/code-search/candidate-normalizer.js.map +1 -1
  943. package/dist/platform/code-search/candidate.d.ts.map +1 -1
  944. package/dist/platform/code-search/candidate.js +5 -0
  945. package/dist/platform/code-search/candidate.js.map +1 -1
  946. package/dist/platform/code-search/contracts.d.ts +8 -0
  947. package/dist/platform/code-search/contracts.d.ts.map +1 -1
  948. package/dist/platform/code-search/contracts.js.map +1 -1
  949. package/dist/platform/code-search/indexes/file-index.d.ts.map +1 -1
  950. package/dist/platform/code-search/indexes/file-index.js +4 -0
  951. package/dist/platform/code-search/indexes/file-index.js.map +1 -1
  952. package/dist/platform/code-search/indexes/package-graph.d.ts.map +1 -1
  953. package/dist/platform/code-search/indexes/package-graph.js +5 -2
  954. package/dist/platform/code-search/indexes/package-graph.js.map +1 -1
  955. package/dist/platform/code-search/parse-position.d.ts +2 -0
  956. package/dist/platform/code-search/parse-position.d.ts.map +1 -0
  957. package/dist/platform/code-search/parse-position.js +10 -0
  958. package/dist/platform/code-search/parse-position.js.map +1 -0
  959. package/dist/platform/code-search/progressive-reader.d.ts.map +1 -1
  960. package/dist/platform/code-search/progressive-reader.js +58 -13
  961. package/dist/platform/code-search/progressive-reader.js.map +1 -1
  962. package/dist/platform/code-search/query-planner.d.ts.map +1 -1
  963. package/dist/platform/code-search/query-planner.js +4 -3
  964. package/dist/platform/code-search/query-planner.js.map +1 -1
  965. package/dist/platform/code-search/verification-retrieval.d.ts.map +1 -1
  966. package/dist/platform/code-search/verification-retrieval.js +2 -1
  967. package/dist/platform/code-search/verification-retrieval.js.map +1 -1
  968. package/dist/platform/corrections/cognition-memory-review.d.ts +233 -0
  969. package/dist/platform/corrections/cognition-memory-review.d.ts.map +1 -0
  970. package/dist/platform/corrections/cognition-memory-review.js +93 -0
  971. package/dist/platform/corrections/cognition-memory-review.js.map +1 -0
  972. package/dist/platform/corrections/index.d.ts +2 -0
  973. package/dist/platform/corrections/index.d.ts.map +1 -1
  974. package/dist/platform/corrections/index.js +2 -0
  975. package/dist/platform/corrections/index.js.map +1 -1
  976. package/dist/platform/corrections/memory-correction-ledger.d.ts +60 -60
  977. package/dist/platform/corrections/memory-governance.d.ts +6 -6
  978. package/dist/platform/corrections/memory-quarantine.d.ts +1 -1
  979. package/dist/platform/corrections/user-memory-operations.js +4 -4
  980. package/dist/platform/corrections/user-memory-operations.js.map +1 -1
  981. package/dist/platform/dream/dream-activation-artifacts.d.ts.map +1 -1
  982. package/dist/platform/dream/dream-activation-artifacts.js +4 -16
  983. package/dist/platform/dream/dream-activation-artifacts.js.map +1 -1
  984. package/dist/platform/dream/dream-activation.d.ts +2 -185
  985. package/dist/platform/dream/dream-activation.d.ts.map +1 -1
  986. package/dist/platform/dream/dream-activation.js +10 -57
  987. package/dist/platform/dream/dream-activation.js.map +1 -1
  988. package/dist/platform/dream/dream-analyzer.d.ts +1 -2
  989. package/dist/platform/dream/dream-analyzer.d.ts.map +1 -1
  990. package/dist/platform/dream/dream-analyzer.js +21 -59
  991. package/dist/platform/dream/dream-analyzer.js.map +1 -1
  992. package/dist/platform/dream/dream-consolidator/evidence-helpers.d.ts +12 -0
  993. package/dist/platform/dream/dream-consolidator/evidence-helpers.d.ts.map +1 -0
  994. package/dist/platform/dream/dream-consolidator/evidence-helpers.js +73 -0
  995. package/dist/platform/dream/dream-consolidator/evidence-helpers.js.map +1 -0
  996. package/dist/platform/dream/dream-consolidator/fs-metrics.d.ts.map +1 -1
  997. package/dist/platform/dream/dream-consolidator/fs-metrics.js +27 -38
  998. package/dist/platform/dream/dream-consolidator/fs-metrics.js.map +1 -1
  999. package/dist/platform/dream/dream-consolidator.d.ts +3 -0
  1000. package/dist/platform/dream/dream-consolidator.d.ts.map +1 -1
  1001. package/dist/platform/dream/dream-consolidator.js +35 -129
  1002. package/dist/platform/dream/dream-consolidator.js.map +1 -1
  1003. package/dist/platform/dream/dream-decision-heuristics.d.ts +421 -0
  1004. package/dist/platform/dream/dream-decision-heuristics.d.ts.map +1 -0
  1005. package/dist/platform/dream/dream-decision-heuristics.js +27 -0
  1006. package/dist/platform/dream/dream-decision-heuristics.js.map +1 -0
  1007. package/dist/platform/dream/dream-event-workflows.d.ts.map +1 -1
  1008. package/dist/platform/dream/dream-event-workflows.js +23 -37
  1009. package/dist/platform/dream/dream-event-workflows.js.map +1 -1
  1010. package/dist/platform/dream/dream-importance.d.ts +1 -2
  1011. package/dist/platform/dream/dream-importance.d.ts.map +1 -1
  1012. package/dist/platform/dream/dream-importance.js +6 -24
  1013. package/dist/platform/dream/dream-importance.js.map +1 -1
  1014. package/dist/platform/dream/dream-log-collector.d.ts +4 -15
  1015. package/dist/platform/dream/dream-log-collector.d.ts.map +1 -1
  1016. package/dist/platform/dream/dream-log-collector.js +12 -101
  1017. package/dist/platform/dream/dream-log-collector.js.map +1 -1
  1018. package/dist/platform/dream/dream-schedule-suggestions.d.ts +1 -2
  1019. package/dist/platform/dream/dream-schedule-suggestions.d.ts.map +1 -1
  1020. package/dist/platform/dream/dream-schedule-suggestions.js +6 -20
  1021. package/dist/platform/dream/dream-schedule-suggestions.js.map +1 -1
  1022. package/dist/platform/dream/dream-soil-sync.d.ts.map +1 -1
  1023. package/dist/platform/dream/dream-soil-sync.js +2 -6
  1024. package/dist/platform/dream/dream-soil-sync.js.map +1 -1
  1025. package/dist/platform/dream/dream-types.d.ts +269 -269
  1026. package/dist/platform/dream/dream-types.js +2 -2
  1027. package/dist/platform/dream/dream-types.js.map +1 -1
  1028. package/dist/platform/dream/index.d.ts +1 -0
  1029. package/dist/platform/dream/index.d.ts.map +1 -1
  1030. package/dist/platform/dream/index.js +1 -0
  1031. package/dist/platform/dream/index.js.map +1 -1
  1032. package/dist/platform/dream/playbook-memory.d.ts +4 -4
  1033. package/dist/platform/dream/playbook-memory.d.ts.map +1 -1
  1034. package/dist/platform/dream/playbook-memory.js +14 -75
  1035. package/dist/platform/dream/playbook-memory.js.map +1 -1
  1036. package/dist/platform/dream/procedural-memory.d.ts +262 -0
  1037. package/dist/platform/dream/procedural-memory.d.ts.map +1 -0
  1038. package/dist/platform/dream/procedural-memory.js +78 -0
  1039. package/dist/platform/dream/procedural-memory.js.map +1 -0
  1040. package/dist/platform/drive/drive-schedule-state-migration.d.ts +13 -0
  1041. package/dist/platform/drive/drive-schedule-state-migration.d.ts.map +1 -0
  1042. package/dist/platform/drive/drive-schedule-state-migration.js +115 -0
  1043. package/dist/platform/drive/drive-schedule-state-migration.js.map +1 -0
  1044. package/dist/platform/drive/drive-schedule-state-store.d.ts +15 -0
  1045. package/dist/platform/drive/drive-schedule-state-store.d.ts.map +1 -0
  1046. package/dist/platform/drive/drive-schedule-state-store.js +84 -0
  1047. package/dist/platform/drive/drive-schedule-state-store.js.map +1 -0
  1048. package/dist/platform/drive/drive-scorer.d.ts +6 -6
  1049. package/dist/platform/drive/drive-scorer.d.ts.map +1 -1
  1050. package/dist/platform/drive/drive-scorer.js +44 -16
  1051. package/dist/platform/drive/drive-scorer.js.map +1 -1
  1052. package/dist/platform/drive/drive-system.d.ts +10 -8
  1053. package/dist/platform/drive/drive-system.d.ts.map +1 -1
  1054. package/dist/platform/drive/drive-system.js +42 -57
  1055. package/dist/platform/drive/drive-system.js.map +1 -1
  1056. package/dist/platform/drive/gap-calculator.d.ts.map +1 -1
  1057. package/dist/platform/drive/gap-calculator.js +36 -8
  1058. package/dist/platform/drive/gap-calculator.js.map +1 -1
  1059. package/dist/platform/drive/satisficing-helpers.d.ts.map +1 -1
  1060. package/dist/platform/drive/satisficing-helpers.js +14 -10
  1061. package/dist/platform/drive/satisficing-helpers.js.map +1 -1
  1062. package/dist/platform/drive/satisficing-judge.d.ts.map +1 -1
  1063. package/dist/platform/drive/satisficing-judge.js +16 -10
  1064. package/dist/platform/drive/satisficing-judge.js.map +1 -1
  1065. package/dist/platform/drive/satisficing-propagation.d.ts.map +1 -1
  1066. package/dist/platform/drive/satisficing-propagation.js +20 -16
  1067. package/dist/platform/drive/satisficing-propagation.js.map +1 -1
  1068. package/dist/platform/drive/stall-detector/repetitive.d.ts +28 -1
  1069. package/dist/platform/drive/stall-detector/repetitive.d.ts.map +1 -1
  1070. package/dist/platform/drive/stall-detector/repetitive.js.map +1 -1
  1071. package/dist/platform/drive/stall-detector/thresholds.d.ts.map +1 -1
  1072. package/dist/platform/drive/stall-detector/thresholds.js +2 -1
  1073. package/dist/platform/drive/stall-detector/thresholds.js.map +1 -1
  1074. package/dist/platform/drive/stall-detector.d.ts +7 -32
  1075. package/dist/platform/drive/stall-detector.d.ts.map +1 -1
  1076. package/dist/platform/drive/stall-detector.js +16 -13
  1077. package/dist/platform/drive/stall-detector.js.map +1 -1
  1078. package/dist/platform/drive/types/drive.d.ts +4 -0
  1079. package/dist/platform/drive/types/drive.d.ts.map +1 -1
  1080. package/dist/platform/drive/types/drive.js +26 -15
  1081. package/dist/platform/drive/types/drive.js.map +1 -1
  1082. package/dist/platform/drive/types/satisficing.js +1 -1
  1083. package/dist/platform/drive/types/satisficing.js.map +1 -1
  1084. package/dist/platform/knowledge/knowledge-graph-state-migration.d.ts +15 -0
  1085. package/dist/platform/knowledge/knowledge-graph-state-migration.d.ts.map +1 -0
  1086. package/dist/platform/knowledge/knowledge-graph-state-migration.js +137 -0
  1087. package/dist/platform/knowledge/knowledge-graph-state-migration.js.map +1 -0
  1088. package/dist/platform/knowledge/knowledge-graph-state-store.d.ts +38 -0
  1089. package/dist/platform/knowledge/knowledge-graph-state-store.d.ts.map +1 -0
  1090. package/dist/platform/knowledge/knowledge-graph-state-store.js +137 -0
  1091. package/dist/platform/knowledge/knowledge-graph-state-store.js.map +1 -0
  1092. package/dist/platform/knowledge/knowledge-graph.d.ts +17 -12
  1093. package/dist/platform/knowledge/knowledge-graph.d.ts.map +1 -1
  1094. package/dist/platform/knowledge/knowledge-graph.js +35 -44
  1095. package/dist/platform/knowledge/knowledge-graph.js.map +1 -1
  1096. package/dist/platform/knowledge/knowledge-manager-agent-memory.d.ts.map +1 -1
  1097. package/dist/platform/knowledge/knowledge-manager-agent-memory.js +18 -8
  1098. package/dist/platform/knowledge/knowledge-manager-agent-memory.js.map +1 -1
  1099. package/dist/platform/knowledge/knowledge-manager-internals.d.ts +3 -2
  1100. package/dist/platform/knowledge/knowledge-manager-internals.d.ts.map +1 -1
  1101. package/dist/platform/knowledge/knowledge-manager-internals.js +8 -7
  1102. package/dist/platform/knowledge/knowledge-manager-internals.js.map +1 -1
  1103. package/dist/platform/knowledge/knowledge-manager-query.js +2 -2
  1104. package/dist/platform/knowledge/knowledge-manager-query.js.map +1 -1
  1105. package/dist/platform/knowledge/knowledge-manager-store.js +3 -3
  1106. package/dist/platform/knowledge/knowledge-manager-store.js.map +1 -1
  1107. package/dist/platform/knowledge/knowledge-manager.d.ts +5 -6
  1108. package/dist/platform/knowledge/knowledge-manager.d.ts.map +1 -1
  1109. package/dist/platform/knowledge/knowledge-manager.js +53 -27
  1110. package/dist/platform/knowledge/knowledge-manager.js.map +1 -1
  1111. package/dist/platform/knowledge/knowledge-memory-state-store.d.ts +17 -0
  1112. package/dist/platform/knowledge/knowledge-memory-state-store.d.ts.map +1 -0
  1113. package/dist/platform/knowledge/knowledge-memory-state-store.js +565 -0
  1114. package/dist/platform/knowledge/knowledge-memory-state-store.js.map +1 -0
  1115. package/dist/platform/knowledge/knowledge-search.d.ts.map +1 -1
  1116. package/dist/platform/knowledge/knowledge-search.js +4 -17
  1117. package/dist/platform/knowledge/knowledge-search.js.map +1 -1
  1118. package/dist/platform/knowledge/learning/learning-cross-goal.d.ts +2 -2
  1119. package/dist/platform/knowledge/learning/learning-cross-goal.d.ts.map +1 -1
  1120. package/dist/platform/knowledge/learning/learning-feedback.d.ts +3 -3
  1121. package/dist/platform/knowledge/learning/learning-feedback.d.ts.map +1 -1
  1122. package/dist/platform/knowledge/learning/learning-feedback.js +3 -11
  1123. package/dist/platform/knowledge/learning/learning-feedback.js.map +1 -1
  1124. package/dist/platform/knowledge/learning/learning-pipeline.d.ts +4 -5
  1125. package/dist/platform/knowledge/learning/learning-pipeline.d.ts.map +1 -1
  1126. package/dist/platform/knowledge/learning/learning-pipeline.js +16 -33
  1127. package/dist/platform/knowledge/learning/learning-pipeline.js.map +1 -1
  1128. package/dist/platform/knowledge/memory/memory-compression.d.ts.map +1 -1
  1129. package/dist/platform/knowledge/memory/memory-compression.js +19 -43
  1130. package/dist/platform/knowledge/memory/memory-compression.js.map +1 -1
  1131. package/dist/platform/knowledge/memory/memory-exports.d.ts +2 -1
  1132. package/dist/platform/knowledge/memory/memory-exports.d.ts.map +1 -1
  1133. package/dist/platform/knowledge/memory/memory-exports.js +2 -1
  1134. package/dist/platform/knowledge/memory/memory-exports.js.map +1 -1
  1135. package/dist/platform/knowledge/memory/memory-index.d.ts +1 -1
  1136. package/dist/platform/knowledge/memory/memory-index.d.ts.map +1 -1
  1137. package/dist/platform/knowledge/memory/memory-index.js +11 -115
  1138. package/dist/platform/knowledge/memory/memory-index.js.map +1 -1
  1139. package/dist/platform/knowledge/memory/memory-lifecycle-state-store.d.ts +51 -0
  1140. package/dist/platform/knowledge/memory/memory-lifecycle-state-store.d.ts.map +1 -0
  1141. package/dist/platform/knowledge/memory/memory-lifecycle-state-store.js +498 -0
  1142. package/dist/platform/knowledge/memory/memory-lifecycle-state-store.js.map +1 -0
  1143. package/dist/platform/knowledge/memory/memory-lifecycle-storage.d.ts.map +1 -1
  1144. package/dist/platform/knowledge/memory/memory-lifecycle-storage.js +13 -91
  1145. package/dist/platform/knowledge/memory/memory-lifecycle-storage.js.map +1 -1
  1146. package/dist/platform/knowledge/memory/memory-lifecycle.d.ts +7 -9
  1147. package/dist/platform/knowledge/memory/memory-lifecycle.d.ts.map +1 -1
  1148. package/dist/platform/knowledge/memory/memory-lifecycle.js +14 -24
  1149. package/dist/platform/knowledge/memory/memory-lifecycle.js.map +1 -1
  1150. package/dist/platform/knowledge/memory/memory-persistence.d.ts +1 -27
  1151. package/dist/platform/knowledge/memory/memory-persistence.d.ts.map +1 -1
  1152. package/dist/platform/knowledge/memory/memory-persistence.js +0 -122
  1153. package/dist/platform/knowledge/memory/memory-persistence.js.map +1 -1
  1154. package/dist/platform/knowledge/memory/memory-query.d.ts.map +1 -1
  1155. package/dist/platform/knowledge/memory/memory-query.js +3 -59
  1156. package/dist/platform/knowledge/memory/memory-query.js.map +1 -1
  1157. package/dist/platform/knowledge/memory/memory-selection.d.ts.map +1 -1
  1158. package/dist/platform/knowledge/memory/memory-selection.js +7 -19
  1159. package/dist/platform/knowledge/memory/memory-selection.js.map +1 -1
  1160. package/dist/platform/knowledge/memory/memory-stats.d.ts.map +1 -1
  1161. package/dist/platform/knowledge/memory/memory-stats.js +4 -5
  1162. package/dist/platform/knowledge/memory/memory-stats.js.map +1 -1
  1163. package/dist/platform/knowledge/transfer/knowledge-transfer-types.d.ts.map +1 -1
  1164. package/dist/platform/knowledge/transfer/knowledge-transfer-types.js +6 -10
  1165. package/dist/platform/knowledge/transfer/knowledge-transfer-types.js.map +1 -1
  1166. package/dist/platform/knowledge/transfer/knowledge-transfer.d.ts +3 -2
  1167. package/dist/platform/knowledge/transfer/knowledge-transfer.d.ts.map +1 -1
  1168. package/dist/platform/knowledge/transfer/knowledge-transfer.js +19 -34
  1169. package/dist/platform/knowledge/transfer/knowledge-transfer.js.map +1 -1
  1170. package/dist/platform/knowledge/transfer/transfer-trust.d.ts +6 -5
  1171. package/dist/platform/knowledge/transfer/transfer-trust.d.ts.map +1 -1
  1172. package/dist/platform/knowledge/transfer/transfer-trust.js +23 -30
  1173. package/dist/platform/knowledge/transfer/transfer-trust.js.map +1 -1
  1174. package/dist/platform/knowledge/types/agent-memory.d.ts +194 -194
  1175. package/dist/platform/knowledge/types/embedding.js +2 -2
  1176. package/dist/platform/knowledge/types/embedding.js.map +1 -1
  1177. package/dist/platform/knowledge/types/memory-lifecycle.d.ts +4 -4
  1178. package/dist/platform/knowledge/vector-index-state-migration.d.ts +14 -0
  1179. package/dist/platform/knowledge/vector-index-state-migration.d.ts.map +1 -0
  1180. package/dist/platform/knowledge/vector-index-state-migration.js +132 -0
  1181. package/dist/platform/knowledge/vector-index-state-migration.js.map +1 -0
  1182. package/dist/platform/knowledge/vector-index-state-store.d.ts +19 -0
  1183. package/dist/platform/knowledge/vector-index-state-store.d.ts.map +1 -0
  1184. package/dist/platform/knowledge/vector-index-state-store.js +124 -0
  1185. package/dist/platform/knowledge/vector-index-state-store.js.map +1 -0
  1186. package/dist/platform/knowledge/vector-index.d.ts +11 -6
  1187. package/dist/platform/knowledge/vector-index.d.ts.map +1 -1
  1188. package/dist/platform/knowledge/vector-index.js +27 -37
  1189. package/dist/platform/knowledge/vector-index.js.map +1 -1
  1190. package/dist/platform/observation/capability-dependencies.d.ts +4 -3
  1191. package/dist/platform/observation/capability-dependencies.d.ts.map +1 -1
  1192. package/dist/platform/observation/capability-dependencies.js +8 -15
  1193. package/dist/platform/observation/capability-dependencies.js.map +1 -1
  1194. package/dist/platform/observation/capability-detector.d.ts.map +1 -1
  1195. package/dist/platform/observation/capability-detector.js +8 -2
  1196. package/dist/platform/observation/capability-detector.js.map +1 -1
  1197. package/dist/platform/observation/capability-graph.d.ts +16 -0
  1198. package/dist/platform/observation/capability-graph.d.ts.map +1 -0
  1199. package/dist/platform/observation/capability-graph.js +387 -0
  1200. package/dist/platform/observation/capability-graph.js.map +1 -0
  1201. package/dist/platform/observation/capability-readiness.d.ts +13 -0
  1202. package/dist/platform/observation/capability-readiness.d.ts.map +1 -0
  1203. package/dist/platform/observation/capability-readiness.js +192 -0
  1204. package/dist/platform/observation/capability-readiness.js.map +1 -0
  1205. package/dist/platform/observation/capability-registry.d.ts +3 -3
  1206. package/dist/platform/observation/capability-registry.d.ts.map +1 -1
  1207. package/dist/platform/observation/capability-registry.js +5 -14
  1208. package/dist/platform/observation/capability-registry.js.map +1 -1
  1209. package/dist/platform/observation/data-source-adapter.js +1 -1
  1210. package/dist/platform/observation/data-source-adapter.js.map +1 -1
  1211. package/dist/platform/observation/dimension-pre-checker.d.ts.map +1 -1
  1212. package/dist/platform/observation/dimension-pre-checker.js +12 -2
  1213. package/dist/platform/observation/dimension-pre-checker.js.map +1 -1
  1214. package/dist/platform/observation/observation-apply.d.ts.map +1 -1
  1215. package/dist/platform/observation/observation-apply.js +2 -14
  1216. package/dist/platform/observation/observation-apply.js.map +1 -1
  1217. package/dist/platform/observation/observation-datasource.d.ts.map +1 -1
  1218. package/dist/platform/observation/observation-datasource.js +2 -14
  1219. package/dist/platform/observation/observation-datasource.js.map +1 -1
  1220. package/dist/platform/observation/observation-engine.js +0 -2
  1221. package/dist/platform/observation/observation-engine.js.map +1 -1
  1222. package/dist/platform/observation/observation-value.d.ts +2 -0
  1223. package/dist/platform/observation/observation-value.d.ts.map +1 -0
  1224. package/dist/platform/observation/observation-value.js +18 -0
  1225. package/dist/platform/observation/observation-value.js.map +1 -0
  1226. package/dist/platform/observation/types/capability.d.ts +689 -0
  1227. package/dist/platform/observation/types/capability.d.ts.map +1 -1
  1228. package/dist/platform/observation/types/capability.js +170 -2
  1229. package/dist/platform/observation/types/capability.js.map +1 -1
  1230. package/dist/platform/observation/types/data-source.d.ts +122 -25
  1231. package/dist/platform/observation/types/data-source.d.ts.map +1 -1
  1232. package/dist/platform/observation/types/data-source.js +17 -9
  1233. package/dist/platform/observation/types/data-source.js.map +1 -1
  1234. package/dist/platform/profile/governed-memory.d.ts +667 -0
  1235. package/dist/platform/profile/governed-memory.d.ts.map +1 -0
  1236. package/dist/platform/profile/governed-memory.js +535 -0
  1237. package/dist/platform/profile/governed-memory.js.map +1 -0
  1238. package/dist/platform/profile/profile-change-proposal.d.ts +91 -89
  1239. package/dist/platform/profile/profile-change-proposal.d.ts.map +1 -1
  1240. package/dist/platform/profile/profile-change-proposal.js +134 -19
  1241. package/dist/platform/profile/profile-change-proposal.js.map +1 -1
  1242. package/dist/platform/profile/relationship-profile.d.ts +51 -51
  1243. package/dist/platform/profile/relationship-profile.d.ts.map +1 -1
  1244. package/dist/platform/profile/relationship-profile.js +3 -2
  1245. package/dist/platform/profile/relationship-profile.js.map +1 -1
  1246. package/dist/platform/profile/retrieval-context.d.ts +16 -0
  1247. package/dist/platform/profile/retrieval-context.d.ts.map +1 -1
  1248. package/dist/platform/profile/retrieval-context.js +17 -0
  1249. package/dist/platform/profile/retrieval-context.js.map +1 -1
  1250. package/dist/platform/profile/user-md-profile-import.d.ts +6 -6
  1251. package/dist/platform/soil/compiled-memory-projections.js +6 -6
  1252. package/dist/platform/soil/compiled-memory-projections.js.map +1 -1
  1253. package/dist/platform/soil/content-projections.js +12 -12
  1254. package/dist/platform/soil/content-projections.js.map +1 -1
  1255. package/dist/platform/soil/contracts.d.ts +414 -385
  1256. package/dist/platform/soil/contracts.d.ts.map +1 -1
  1257. package/dist/platform/soil/contracts.js +23 -3
  1258. package/dist/platform/soil/contracts.js.map +1 -1
  1259. package/dist/platform/soil/doctor.d.ts +0 -1
  1260. package/dist/platform/soil/doctor.d.ts.map +1 -1
  1261. package/dist/platform/soil/doctor.js +3 -17
  1262. package/dist/platform/soil/doctor.js.map +1 -1
  1263. package/dist/platform/soil/frontmatter.js +1 -1
  1264. package/dist/platform/soil/frontmatter.js.map +1 -1
  1265. package/dist/platform/soil/importer.d.ts +6 -6
  1266. package/dist/platform/soil/index-store.d.ts.map +1 -1
  1267. package/dist/platform/soil/index-store.js +6 -7
  1268. package/dist/platform/soil/index-store.js.map +1 -1
  1269. package/dist/platform/soil/projections.d.ts.map +1 -1
  1270. package/dist/platform/soil/projections.js +8 -4
  1271. package/dist/platform/soil/projections.js.map +1 -1
  1272. package/dist/platform/soil/runtime-rebuild.d.ts.map +1 -1
  1273. package/dist/platform/soil/runtime-rebuild.js +17 -23
  1274. package/dist/platform/soil/runtime-rebuild.js.map +1 -1
  1275. package/dist/platform/soil/source-paths.d.ts +2 -0
  1276. package/dist/platform/soil/source-paths.d.ts.map +1 -0
  1277. package/dist/platform/soil/source-paths.js +25 -0
  1278. package/dist/platform/soil/source-paths.js.map +1 -0
  1279. package/dist/platform/soil/sqlite-repository-helpers.d.ts.map +1 -1
  1280. package/dist/platform/soil/sqlite-repository-helpers.js +7 -3
  1281. package/dist/platform/soil/sqlite-repository-helpers.js.map +1 -1
  1282. package/dist/platform/soil/sqlite-repository-search.d.ts.map +1 -1
  1283. package/dist/platform/soil/sqlite-repository-search.js +5 -1
  1284. package/dist/platform/soil/sqlite-repository-search.js.map +1 -1
  1285. package/dist/platform/soil/types.d.ts +19 -18
  1286. package/dist/platform/soil/types.d.ts.map +1 -1
  1287. package/dist/platform/soil/types.js +58 -16
  1288. package/dist/platform/soil/types.js.map +1 -1
  1289. package/dist/platform/time/time-horizon-engine.d.ts.map +1 -1
  1290. package/dist/platform/time/time-horizon-engine.js +8 -3
  1291. package/dist/platform/time/time-horizon-engine.js.map +1 -1
  1292. package/dist/platform/traits/character-policy.d.ts +4 -0
  1293. package/dist/platform/traits/character-policy.d.ts.map +1 -0
  1294. package/dist/platform/traits/character-policy.js +10 -0
  1295. package/dist/platform/traits/character-policy.js.map +1 -0
  1296. package/dist/platform/traits/curiosity-engine.d.ts +5 -26
  1297. package/dist/platform/traits/curiosity-engine.d.ts.map +1 -1
  1298. package/dist/platform/traits/curiosity-engine.js +29 -203
  1299. package/dist/platform/traits/curiosity-engine.js.map +1 -1
  1300. package/dist/platform/traits/curiosity-triggers.d.ts +16 -0
  1301. package/dist/platform/traits/curiosity-triggers.d.ts.map +1 -0
  1302. package/dist/platform/traits/curiosity-triggers.js +187 -0
  1303. package/dist/platform/traits/curiosity-triggers.js.map +1 -0
  1304. package/dist/platform/traits/ethics-gate.d.ts +5 -4
  1305. package/dist/platform/traits/ethics-gate.d.ts.map +1 -1
  1306. package/dist/platform/traits/ethics-gate.js +11 -17
  1307. package/dist/platform/traits/ethics-gate.js.map +1 -1
  1308. package/dist/platform/traits/trust-manager.d.ts +5 -2
  1309. package/dist/platform/traits/trust-manager.d.ts.map +1 -1
  1310. package/dist/platform/traits/trust-manager.js +11 -20
  1311. package/dist/platform/traits/trust-manager.js.map +1 -1
  1312. package/dist/platform/traits/types/curiosity.d.ts +12 -12
  1313. package/dist/platform/traits/types/curiosity.d.ts.map +1 -1
  1314. package/dist/platform/traits/types/curiosity.js +24 -11
  1315. package/dist/platform/traits/types/curiosity.js.map +1 -1
  1316. package/dist/platform/traits/types/guardrail.d.ts +6 -6
  1317. package/dist/prompt/gateway.d.ts +2 -2
  1318. package/dist/prompt/gateway.d.ts.map +1 -1
  1319. package/dist/prompt/gateway.js +4 -3
  1320. package/dist/prompt/gateway.js.map +1 -1
  1321. package/dist/prompt/purposes/dream.d.ts.map +1 -1
  1322. package/dist/prompt/purposes/dream.js +3 -2
  1323. package/dist/prompt/purposes/dream.js.map +1 -1
  1324. package/dist/reflection/cognition-writeback-evaluator.d.ts +10 -0
  1325. package/dist/reflection/cognition-writeback-evaluator.d.ts.map +1 -0
  1326. package/dist/reflection/cognition-writeback-evaluator.js +49 -0
  1327. package/dist/reflection/cognition-writeback-evaluator.js.map +1 -0
  1328. package/dist/reflection/cognition-writeback-queue.d.ts +835 -0
  1329. package/dist/reflection/cognition-writeback-queue.d.ts.map +1 -0
  1330. package/dist/reflection/cognition-writeback-queue.js +198 -0
  1331. package/dist/reflection/cognition-writeback-queue.js.map +1 -0
  1332. package/dist/reflection/dream-consolidation.d.ts +4 -0
  1333. package/dist/reflection/dream-consolidation.d.ts.map +1 -1
  1334. package/dist/reflection/dream-consolidation.js +28 -8
  1335. package/dist/reflection/dream-consolidation.js.map +1 -1
  1336. package/dist/reflection/evening-catchup.d.ts.map +1 -1
  1337. package/dist/reflection/evening-catchup.js +21 -13
  1338. package/dist/reflection/evening-catchup.js.map +1 -1
  1339. package/dist/reflection/index.d.ts +4 -0
  1340. package/dist/reflection/index.d.ts.map +1 -1
  1341. package/dist/reflection/index.js +2 -0
  1342. package/dist/reflection/index.js.map +1 -1
  1343. package/dist/reflection/morning-planning.d.ts.map +1 -1
  1344. package/dist/reflection/morning-planning.js +17 -6
  1345. package/dist/reflection/morning-planning.js.map +1 -1
  1346. package/dist/reflection/reflection-profile-surface.d.ts +8 -0
  1347. package/dist/reflection/reflection-profile-surface.d.ts.map +1 -0
  1348. package/dist/reflection/reflection-profile-surface.js +20 -0
  1349. package/dist/reflection/reflection-profile-surface.js.map +1 -0
  1350. package/dist/reflection/reflection-report-state-migration.d.ts +14 -0
  1351. package/dist/reflection/reflection-report-state-migration.d.ts.map +1 -0
  1352. package/dist/reflection/reflection-report-state-migration.js +169 -0
  1353. package/dist/reflection/reflection-report-state-migration.js.map +1 -0
  1354. package/dist/reflection/reflection-report-state-store.d.ts +23 -0
  1355. package/dist/reflection/reflection-report-state-store.d.ts.map +1 -0
  1356. package/dist/reflection/reflection-report-state-store.js +90 -0
  1357. package/dist/reflection/reflection-report-state-store.js.map +1 -0
  1358. package/dist/reflection/reflection-utils.d.ts +7 -1
  1359. package/dist/reflection/reflection-utils.d.ts.map +1 -1
  1360. package/dist/reflection/reflection-utils.js +24 -7
  1361. package/dist/reflection/reflection-utils.js.map +1 -1
  1362. package/dist/reflection/types.d.ts +16 -4
  1363. package/dist/reflection/types.d.ts.map +1 -1
  1364. package/dist/reflection/types.js +14 -9
  1365. package/dist/reflection/types.js.map +1 -1
  1366. package/dist/reflection/weekly-review.d.ts.map +1 -1
  1367. package/dist/reflection/weekly-review.js +29 -8
  1368. package/dist/reflection/weekly-review.js.map +1 -1
  1369. package/dist/reporting/report-formatters.d.ts +1 -1
  1370. package/dist/reporting/report-formatters.d.ts.map +1 -1
  1371. package/dist/reporting/report-formatters.js +20 -16
  1372. package/dist/reporting/report-formatters.js.map +1 -1
  1373. package/dist/reporting/report-summary-builders.d.ts +16 -0
  1374. package/dist/reporting/report-summary-builders.d.ts.map +1 -0
  1375. package/dist/reporting/report-summary-builders.js +125 -0
  1376. package/dist/reporting/report-summary-builders.js.map +1 -0
  1377. package/dist/reporting/reporting-engine.d.ts +1 -1
  1378. package/dist/reporting/reporting-engine.d.ts.map +1 -1
  1379. package/dist/reporting/reporting-engine.js +10 -132
  1380. package/dist/reporting/reporting-engine.js.map +1 -1
  1381. package/dist/runtime/approval-broker.d.ts +8 -2
  1382. package/dist/runtime/approval-broker.d.ts.map +1 -1
  1383. package/dist/runtime/approval-broker.js +87 -7
  1384. package/dist/runtime/approval-broker.js.map +1 -1
  1385. package/dist/runtime/assets/checksum.d.ts +2 -0
  1386. package/dist/runtime/assets/checksum.d.ts.map +1 -0
  1387. package/dist/runtime/assets/checksum.js +44 -0
  1388. package/dist/runtime/assets/checksum.js.map +1 -0
  1389. package/dist/runtime/assets/index.d.ts +4 -0
  1390. package/dist/runtime/assets/index.d.ts.map +1 -0
  1391. package/dist/runtime/assets/index.js +4 -0
  1392. package/dist/runtime/assets/index.js.map +1 -0
  1393. package/dist/runtime/assets/registry.d.ts +16 -0
  1394. package/dist/runtime/assets/registry.d.ts.map +1 -0
  1395. package/dist/runtime/assets/registry.js +105 -0
  1396. package/dist/runtime/assets/registry.js.map +1 -0
  1397. package/dist/runtime/assets/types.d.ts +233 -0
  1398. package/dist/runtime/assets/types.d.ts.map +1 -0
  1399. package/dist/runtime/assets/types.js +92 -0
  1400. package/dist/runtime/assets/types.js.map +1 -0
  1401. package/dist/runtime/attention/attention-admission.d.ts +29 -0
  1402. package/dist/runtime/attention/attention-admission.d.ts.map +1 -0
  1403. package/dist/runtime/attention/attention-admission.js +92 -0
  1404. package/dist/runtime/attention/attention-admission.js.map +1 -0
  1405. package/dist/runtime/attention/attention-agenda.d.ts +21 -0
  1406. package/dist/runtime/attention/attention-agenda.d.ts.map +1 -0
  1407. package/dist/runtime/attention/attention-agenda.js +539 -0
  1408. package/dist/runtime/attention/attention-agenda.js.map +1 -0
  1409. package/dist/runtime/attention/attention-clustering.d.ts +54 -0
  1410. package/dist/runtime/attention/attention-clustering.d.ts.map +1 -0
  1411. package/dist/runtime/attention/attention-clustering.js +243 -0
  1412. package/dist/runtime/attention/attention-clustering.js.map +1 -0
  1413. package/dist/runtime/attention/attention-continuity.d.ts +609 -0
  1414. package/dist/runtime/attention/attention-continuity.d.ts.map +1 -0
  1415. package/dist/runtime/attention/attention-continuity.js +414 -0
  1416. package/dist/runtime/attention/attention-continuity.js.map +1 -0
  1417. package/dist/runtime/attention/attention-cycle.d.ts +56 -0
  1418. package/dist/runtime/attention/attention-cycle.d.ts.map +1 -0
  1419. package/dist/runtime/attention/attention-cycle.js +266 -0
  1420. package/dist/runtime/attention/attention-cycle.js.map +1 -0
  1421. package/dist/runtime/attention/attention-decomposition.d.ts +15 -0
  1422. package/dist/runtime/attention/attention-decomposition.d.ts.map +1 -0
  1423. package/dist/runtime/attention/attention-decomposition.js +157 -0
  1424. package/dist/runtime/attention/attention-decomposition.js.map +1 -0
  1425. package/dist/runtime/attention/attention-diagnostics.d.ts +122 -0
  1426. package/dist/runtime/attention/attention-diagnostics.d.ts.map +1 -0
  1427. package/dist/runtime/attention/attention-diagnostics.js +101 -0
  1428. package/dist/runtime/attention/attention-diagnostics.js.map +1 -0
  1429. package/dist/runtime/attention/attention-feedback.d.ts +58 -0
  1430. package/dist/runtime/attention/attention-feedback.d.ts.map +1 -0
  1431. package/dist/runtime/attention/attention-feedback.js +212 -0
  1432. package/dist/runtime/attention/attention-feedback.js.map +1 -0
  1433. package/dist/runtime/attention/attention-input.d.ts +673 -0
  1434. package/dist/runtime/attention/attention-input.d.ts.map +1 -0
  1435. package/dist/runtime/attention/attention-input.js +439 -0
  1436. package/dist/runtime/attention/attention-input.js.map +1 -0
  1437. package/dist/runtime/attention/attention-metabolism-types.d.ts +222 -0
  1438. package/dist/runtime/attention/attention-metabolism-types.d.ts.map +1 -0
  1439. package/dist/runtime/attention/attention-metabolism-types.js +2 -0
  1440. package/dist/runtime/attention/attention-metabolism-types.js.map +1 -0
  1441. package/dist/runtime/attention/attention-metabolism.d.ts +21 -0
  1442. package/dist/runtime/attention/attention-metabolism.d.ts.map +1 -0
  1443. package/dist/runtime/attention/attention-metabolism.js +1351 -0
  1444. package/dist/runtime/attention/attention-metabolism.js.map +1 -0
  1445. package/dist/runtime/attention/attention-promotion.d.ts +15 -0
  1446. package/dist/runtime/attention/attention-promotion.d.ts.map +1 -0
  1447. package/dist/runtime/attention/attention-promotion.js +110 -0
  1448. package/dist/runtime/attention/attention-promotion.js.map +1 -0
  1449. package/dist/runtime/attention/attention-refs.d.ts +12 -0
  1450. package/dist/runtime/attention/attention-refs.d.ts.map +1 -0
  1451. package/dist/runtime/attention/attention-refs.js +46 -0
  1452. package/dist/runtime/attention/attention-refs.js.map +1 -0
  1453. package/dist/runtime/attention/attention-scope.d.ts +33 -0
  1454. package/dist/runtime/attention/attention-scope.d.ts.map +1 -0
  1455. package/dist/runtime/attention/attention-scope.js +215 -0
  1456. package/dist/runtime/attention/attention-scope.js.map +1 -0
  1457. package/dist/runtime/attention/attention-semantic.d.ts +65 -0
  1458. package/dist/runtime/attention/attention-semantic.d.ts.map +1 -0
  1459. package/dist/runtime/attention/attention-semantic.js +102 -0
  1460. package/dist/runtime/attention/attention-semantic.js.map +1 -0
  1461. package/dist/runtime/attention/direct-path-inventory.d.ts +25 -0
  1462. package/dist/runtime/attention/direct-path-inventory.d.ts.map +1 -0
  1463. package/dist/runtime/attention/direct-path-inventory.js +377 -0
  1464. package/dist/runtime/attention/direct-path-inventory.js.map +1 -0
  1465. package/dist/runtime/attention/feedback-ingestion.d.ts +2236 -0
  1466. package/dist/runtime/attention/feedback-ingestion.d.ts.map +1 -0
  1467. package/dist/runtime/attention/feedback-ingestion.js +568 -0
  1468. package/dist/runtime/attention/feedback-ingestion.js.map +1 -0
  1469. package/dist/runtime/attention/index.d.ts +31 -0
  1470. package/dist/runtime/attention/index.d.ts.map +1 -0
  1471. package/dist/runtime/attention/index.js +16 -0
  1472. package/dist/runtime/attention/index.js.map +1 -0
  1473. package/dist/runtime/attention/proactive-policy.d.ts +200 -0
  1474. package/dist/runtime/attention/proactive-policy.d.ts.map +1 -0
  1475. package/dist/runtime/attention/proactive-policy.js +133 -0
  1476. package/dist/runtime/attention/proactive-policy.js.map +1 -0
  1477. package/dist/runtime/attention/surface-delivery.d.ts +215 -0
  1478. package/dist/runtime/attention/surface-delivery.d.ts.map +1 -0
  1479. package/dist/runtime/attention/surface-delivery.js +232 -0
  1480. package/dist/runtime/attention/surface-delivery.js.map +1 -0
  1481. package/dist/runtime/builtin-integrations.d.ts +4 -0
  1482. package/dist/runtime/builtin-integrations.d.ts.map +1 -1
  1483. package/dist/runtime/builtin-integrations.js +29 -0
  1484. package/dist/runtime/builtin-integrations.js.map +1 -1
  1485. package/dist/runtime/capability-execution-resolver.d.ts +9 -0
  1486. package/dist/runtime/capability-execution-resolver.d.ts.map +1 -0
  1487. package/dist/runtime/capability-execution-resolver.js +92 -0
  1488. package/dist/runtime/capability-execution-resolver.js.map +1 -0
  1489. package/dist/runtime/capability-operation-planner.d.ts +81 -0
  1490. package/dist/runtime/capability-operation-planner.d.ts.map +1 -0
  1491. package/dist/runtime/capability-operation-planner.js +481 -0
  1492. package/dist/runtime/capability-operation-planner.js.map +1 -0
  1493. package/dist/runtime/change-detector.d.ts.map +1 -1
  1494. package/dist/runtime/change-detector.js +17 -2
  1495. package/dist/runtime/change-detector.js.map +1 -1
  1496. package/dist/runtime/channels/http-post.d.ts +5 -1
  1497. package/dist/runtime/channels/http-post.d.ts.map +1 -1
  1498. package/dist/runtime/channels/http-post.js +65 -9
  1499. package/dist/runtime/channels/http-post.js.map +1 -1
  1500. package/dist/runtime/cognition/audit-sink.d.ts +37 -0
  1501. package/dist/runtime/cognition/audit-sink.d.ts.map +1 -0
  1502. package/dist/runtime/cognition/audit-sink.js +108 -0
  1503. package/dist/runtime/cognition/audit-sink.js.map +1 -0
  1504. package/dist/runtime/cognition/cloud-boundary.d.ts +308 -0
  1505. package/dist/runtime/cognition/cloud-boundary.d.ts.map +1 -0
  1506. package/dist/runtime/cognition/cloud-boundary.js +114 -0
  1507. package/dist/runtime/cognition/cloud-boundary.js.map +1 -0
  1508. package/dist/runtime/cognition/companion-cognition-service.d.ts +18 -0
  1509. package/dist/runtime/cognition/companion-cognition-service.d.ts.map +1 -0
  1510. package/dist/runtime/cognition/companion-cognition-service.js +224 -0
  1511. package/dist/runtime/cognition/companion-cognition-service.js.map +1 -0
  1512. package/dist/runtime/cognition/contracts.d.ts +19901 -0
  1513. package/dist/runtime/cognition/contracts.d.ts.map +1 -0
  1514. package/dist/runtime/cognition/contracts.js +559 -0
  1515. package/dist/runtime/cognition/contracts.js.map +1 -0
  1516. package/dist/runtime/cognition/index.d.ts +13 -0
  1517. package/dist/runtime/cognition/index.d.ts.map +1 -0
  1518. package/dist/runtime/cognition/index.js +9 -0
  1519. package/dist/runtime/cognition/index.js.map +1 -0
  1520. package/dist/runtime/cognition/memory-context.d.ts +19 -0
  1521. package/dist/runtime/cognition/memory-context.d.ts.map +1 -0
  1522. package/dist/runtime/cognition/memory-context.js +187 -0
  1523. package/dist/runtime/cognition/memory-context.js.map +1 -0
  1524. package/dist/runtime/cognition/ports.d.ts +11 -0
  1525. package/dist/runtime/cognition/ports.d.ts.map +1 -0
  1526. package/dist/runtime/cognition/ports.js +2 -0
  1527. package/dist/runtime/cognition/ports.js.map +1 -0
  1528. package/dist/runtime/cognition/situation.d.ts +6 -0
  1529. package/dist/runtime/cognition/situation.d.ts.map +1 -0
  1530. package/dist/runtime/cognition/situation.js +66 -0
  1531. package/dist/runtime/cognition/situation.js.map +1 -0
  1532. package/dist/runtime/cognition/tool-authority.d.ts +21 -0
  1533. package/dist/runtime/cognition/tool-authority.d.ts.map +1 -0
  1534. package/dist/runtime/cognition/tool-authority.js +56 -0
  1535. package/dist/runtime/cognition/tool-authority.js.map +1 -0
  1536. package/dist/runtime/cognition/writeback.d.ts +17 -0
  1537. package/dist/runtime/cognition/writeback.d.ts.map +1 -0
  1538. package/dist/runtime/cognition/writeback.js +40 -0
  1539. package/dist/runtime/cognition/writeback.js.map +1 -0
  1540. package/dist/runtime/companion-state-reducer.d.ts +10 -0
  1541. package/dist/runtime/companion-state-reducer.d.ts.map +1 -0
  1542. package/dist/runtime/companion-state-reducer.js +601 -0
  1543. package/dist/runtime/companion-state-reducer.js.map +1 -0
  1544. package/dist/runtime/companion-state-runtime-selectors.d.ts +44 -0
  1545. package/dist/runtime/companion-state-runtime-selectors.d.ts.map +1 -0
  1546. package/dist/runtime/companion-state-runtime-selectors.js +308 -0
  1547. package/dist/runtime/companion-state-runtime-selectors.js.map +1 -0
  1548. package/dist/runtime/confirmation-decision.d.ts +2 -2
  1549. package/dist/runtime/confirmation-decision.d.ts.map +1 -1
  1550. package/dist/runtime/confirmation-decision.js +3 -2
  1551. package/dist/runtime/confirmation-decision.js.map +1 -1
  1552. package/dist/runtime/control/admission-policy.d.ts +1228 -0
  1553. package/dist/runtime/control/admission-policy.d.ts.map +1 -0
  1554. package/dist/runtime/control/admission-policy.js +455 -0
  1555. package/dist/runtime/control/admission-policy.js.map +1 -0
  1556. package/dist/runtime/control/autonomy-governor.d.ts +1345 -0
  1557. package/dist/runtime/control/autonomy-governor.d.ts.map +1 -0
  1558. package/dist/runtime/control/autonomy-governor.js +1030 -0
  1559. package/dist/runtime/control/autonomy-governor.js.map +1 -0
  1560. package/dist/runtime/control/autonomy-ttl.d.ts +4 -0
  1561. package/dist/runtime/control/autonomy-ttl.d.ts.map +1 -0
  1562. package/dist/runtime/control/autonomy-ttl.js +8 -0
  1563. package/dist/runtime/control/autonomy-ttl.js.map +1 -0
  1564. package/dist/runtime/control/capability-status-projection.d.ts +987 -0
  1565. package/dist/runtime/control/capability-status-projection.d.ts.map +1 -0
  1566. package/dist/runtime/control/capability-status-projection.js +384 -0
  1567. package/dist/runtime/control/capability-status-projection.js.map +1 -0
  1568. package/dist/runtime/control/companion-action-projection.d.ts +640 -0
  1569. package/dist/runtime/control/companion-action-projection.d.ts.map +1 -0
  1570. package/dist/runtime/control/companion-action-projection.js +304 -0
  1571. package/dist/runtime/control/companion-action-projection.js.map +1 -0
  1572. package/dist/runtime/control/daemon-runtime-control-executor.d.ts.map +1 -1
  1573. package/dist/runtime/control/daemon-runtime-control-executor.js +2 -3
  1574. package/dist/runtime/control/daemon-runtime-control-executor.js.map +1 -1
  1575. package/dist/runtime/control/index.d.ts +14 -1
  1576. package/dist/runtime/control/index.d.ts.map +1 -1
  1577. package/dist/runtime/control/index.js +7 -0
  1578. package/dist/runtime/control/index.js.map +1 -1
  1579. package/dist/runtime/control/internal-autonomy-default.d.ts +163 -0
  1580. package/dist/runtime/control/internal-autonomy-default.d.ts.map +1 -0
  1581. package/dist/runtime/control/internal-autonomy-default.js +379 -0
  1582. package/dist/runtime/control/internal-autonomy-default.js.map +1 -0
  1583. package/dist/runtime/control/runtime-control-intent.d.ts +4 -0
  1584. package/dist/runtime/control/runtime-control-intent.d.ts.map +1 -1
  1585. package/dist/runtime/control/runtime-control-intent.js +29 -6
  1586. package/dist/runtime/control/runtime-control-intent.js.map +1 -1
  1587. package/dist/runtime/control/runtime-control-messages.d.ts +5 -0
  1588. package/dist/runtime/control/runtime-control-messages.d.ts.map +1 -0
  1589. package/dist/runtime/control/runtime-control-messages.js +11 -0
  1590. package/dist/runtime/control/runtime-control-messages.js.map +1 -0
  1591. package/dist/runtime/control/runtime-control-permission-grants.d.ts +16 -0
  1592. package/dist/runtime/control/runtime-control-permission-grants.d.ts.map +1 -0
  1593. package/dist/runtime/control/runtime-control-permission-grants.js +125 -0
  1594. package/dist/runtime/control/runtime-control-permission-grants.js.map +1 -0
  1595. package/dist/runtime/control/runtime-control-result-routing.d.ts +1 -0
  1596. package/dist/runtime/control/runtime-control-result-routing.d.ts.map +1 -1
  1597. package/dist/runtime/control/runtime-control-result-routing.js +1 -1
  1598. package/dist/runtime/control/runtime-control-result-routing.js.map +1 -1
  1599. package/dist/runtime/control/runtime-control-service.d.ts +49 -1
  1600. package/dist/runtime/control/runtime-control-service.d.ts.map +1 -1
  1601. package/dist/runtime/control/runtime-control-service.js +916 -19
  1602. package/dist/runtime/control/runtime-control-service.js.map +1 -1
  1603. package/dist/runtime/control/runtime-target-resolver.d.ts.map +1 -1
  1604. package/dist/runtime/control/runtime-target-resolver.js +54 -8
  1605. package/dist/runtime/control/runtime-target-resolver.js.map +1 -1
  1606. package/dist/runtime/conversational-approval-decision.d.ts +2 -2
  1607. package/dist/runtime/daemon/browser-backpressure-policy.d.ts +1 -0
  1608. package/dist/runtime/daemon/browser-backpressure-policy.d.ts.map +1 -1
  1609. package/dist/runtime/daemon/browser-backpressure-policy.js +7 -8
  1610. package/dist/runtime/daemon/browser-backpressure-policy.js.map +1 -1
  1611. package/dist/runtime/daemon/client.d.ts +1 -0
  1612. package/dist/runtime/daemon/client.d.ts.map +1 -1
  1613. package/dist/runtime/daemon/client.js +64 -24
  1614. package/dist/runtime/daemon/client.js.map +1 -1
  1615. package/dist/runtime/daemon/config-json.d.ts +5 -0
  1616. package/dist/runtime/daemon/config-json.d.ts.map +1 -0
  1617. package/dist/runtime/daemon/config-json.js +19 -0
  1618. package/dist/runtime/daemon/config-json.js.map +1 -0
  1619. package/dist/runtime/daemon/maintenance.d.ts +12 -2
  1620. package/dist/runtime/daemon/maintenance.d.ts.map +1 -1
  1621. package/dist/runtime/daemon/maintenance.js +59 -22
  1622. package/dist/runtime/daemon/maintenance.js.map +1 -1
  1623. package/dist/runtime/daemon/persistence.d.ts +1 -1
  1624. package/dist/runtime/daemon/persistence.d.ts.map +1 -1
  1625. package/dist/runtime/daemon/persistence.js +10 -20
  1626. package/dist/runtime/daemon/persistence.js.map +1 -1
  1627. package/dist/runtime/daemon/resident-attention-orchestrator.d.ts +35 -0
  1628. package/dist/runtime/daemon/resident-attention-orchestrator.d.ts.map +1 -0
  1629. package/dist/runtime/daemon/resident-attention-orchestrator.js +495 -0
  1630. package/dist/runtime/daemon/resident-attention-orchestrator.js.map +1 -0
  1631. package/dist/runtime/daemon/runner-bootstrap.d.ts.map +1 -1
  1632. package/dist/runtime/daemon/runner-bootstrap.js +8 -6
  1633. package/dist/runtime/daemon/runner-bootstrap.js.map +1 -1
  1634. package/dist/runtime/daemon/runner-commands.d.ts +6 -6
  1635. package/dist/runtime/daemon/runner-commands.d.ts.map +1 -1
  1636. package/dist/runtime/daemon/runner-commands.js +10 -6
  1637. package/dist/runtime/daemon/runner-commands.js.map +1 -1
  1638. package/dist/runtime/daemon/runner-goal-cycle.d.ts.map +1 -1
  1639. package/dist/runtime/daemon/runner-goal-cycle.js +4 -1
  1640. package/dist/runtime/daemon/runner-goal-cycle.js.map +1 -1
  1641. package/dist/runtime/daemon/runner-recovery.d.ts +2 -2
  1642. package/dist/runtime/daemon/runner-recovery.d.ts.map +1 -1
  1643. package/dist/runtime/daemon/runner-recovery.js +82 -88
  1644. package/dist/runtime/daemon/runner-recovery.js.map +1 -1
  1645. package/dist/runtime/daemon/runner-resident-curiosity.d.ts +6 -4
  1646. package/dist/runtime/daemon/runner-resident-curiosity.d.ts.map +1 -1
  1647. package/dist/runtime/daemon/runner-resident-curiosity.js +125 -20
  1648. package/dist/runtime/daemon/runner-resident-curiosity.js.map +1 -1
  1649. package/dist/runtime/daemon/runner-resident-dream.d.ts +2 -3
  1650. package/dist/runtime/daemon/runner-resident-dream.d.ts.map +1 -1
  1651. package/dist/runtime/daemon/runner-resident-dream.js +4 -14
  1652. package/dist/runtime/daemon/runner-resident-dream.js.map +1 -1
  1653. package/dist/runtime/daemon/runner-resident-proactive.d.ts +14 -3
  1654. package/dist/runtime/daemon/runner-resident-proactive.d.ts.map +1 -1
  1655. package/dist/runtime/daemon/runner-resident-proactive.js +312 -23
  1656. package/dist/runtime/daemon/runner-resident-proactive.js.map +1 -1
  1657. package/dist/runtime/daemon/runner-resident-shared.d.ts +25 -0
  1658. package/dist/runtime/daemon/runner-resident-shared.d.ts.map +1 -1
  1659. package/dist/runtime/daemon/runner-resident-shared.js +57 -12
  1660. package/dist/runtime/daemon/runner-resident-shared.js.map +1 -1
  1661. package/dist/runtime/daemon/runner-resident.d.ts +1 -1
  1662. package/dist/runtime/daemon/runner-resident.d.ts.map +1 -1
  1663. package/dist/runtime/daemon/runner-resident.js +1 -1
  1664. package/dist/runtime/daemon/runner-resident.js.map +1 -1
  1665. package/dist/runtime/daemon/runner-startup.d.ts +2 -1
  1666. package/dist/runtime/daemon/runner-startup.d.ts.map +1 -1
  1667. package/dist/runtime/daemon/runner-startup.js +19 -14
  1668. package/dist/runtime/daemon/runner-startup.js.map +1 -1
  1669. package/dist/runtime/daemon/runner.d.ts +28 -14
  1670. package/dist/runtime/daemon/runner.d.ts.map +1 -1
  1671. package/dist/runtime/daemon/runner.js +20 -19
  1672. package/dist/runtime/daemon/runner.js.map +1 -1
  1673. package/dist/runtime/daemon/runtime-ownership.d.ts +1 -0
  1674. package/dist/runtime/daemon/runtime-ownership.d.ts.map +1 -1
  1675. package/dist/runtime/daemon/runtime-ownership.js +41 -48
  1676. package/dist/runtime/daemon/runtime-ownership.js.map +1 -1
  1677. package/dist/runtime/daemon/runtime-root.d.ts.map +1 -1
  1678. package/dist/runtime/daemon/runtime-root.js +13 -17
  1679. package/dist/runtime/daemon/runtime-root.js.map +1 -1
  1680. package/dist/runtime/daemon/types.d.ts +18 -4
  1681. package/dist/runtime/daemon/types.d.ts.map +1 -1
  1682. package/dist/runtime/daemon/types.js +8 -1
  1683. package/dist/runtime/daemon/types.js.map +1 -1
  1684. package/dist/runtime/daemon/wait-deadline-resolver.d.ts +9 -2
  1685. package/dist/runtime/daemon/wait-deadline-resolver.d.ts.map +1 -1
  1686. package/dist/runtime/daemon/wait-deadline-resolver.js +13 -12
  1687. package/dist/runtime/daemon/wait-deadline-resolver.js.map +1 -1
  1688. package/dist/runtime/decision/companion-behavior-eval-contract.d.ts +645 -0
  1689. package/dist/runtime/decision/companion-behavior-eval-contract.d.ts.map +1 -0
  1690. package/dist/runtime/decision/companion-behavior-eval-contract.js +263 -0
  1691. package/dist/runtime/decision/companion-behavior-eval-contract.js.map +1 -0
  1692. package/dist/runtime/decision/companion-character-policy-projection.d.ts +325 -0
  1693. package/dist/runtime/decision/companion-character-policy-projection.d.ts.map +1 -0
  1694. package/dist/runtime/decision/companion-character-policy-projection.js +231 -0
  1695. package/dist/runtime/decision/companion-character-policy-projection.js.map +1 -0
  1696. package/dist/runtime/decision/companion-decision-contract.d.ts +503 -0
  1697. package/dist/runtime/decision/companion-decision-contract.d.ts.map +1 -0
  1698. package/dist/runtime/decision/companion-decision-contract.js +128 -0
  1699. package/dist/runtime/decision/companion-decision-contract.js.map +1 -0
  1700. package/dist/runtime/decision/companion-gadget-planning.d.ts +2252 -0
  1701. package/dist/runtime/decision/companion-gadget-planning.d.ts.map +1 -0
  1702. package/dist/runtime/decision/companion-gadget-planning.js +534 -0
  1703. package/dist/runtime/decision/companion-gadget-planning.js.map +1 -0
  1704. package/dist/runtime/decision/core-companion-memory-projection.d.ts +3059 -0
  1705. package/dist/runtime/decision/core-companion-memory-projection.d.ts.map +1 -0
  1706. package/dist/runtime/decision/core-companion-memory-projection.js +449 -0
  1707. package/dist/runtime/decision/core-companion-memory-projection.js.map +1 -0
  1708. package/dist/runtime/decision/index.d.ts +11 -0
  1709. package/dist/runtime/decision/index.d.ts.map +1 -0
  1710. package/dist/runtime/decision/index.js +6 -0
  1711. package/dist/runtime/decision/index.js.map +1 -0
  1712. package/dist/runtime/dream-sidecar-review.d.ts.map +1 -1
  1713. package/dist/runtime/dream-sidecar-review.js +2 -2
  1714. package/dist/runtime/dream-sidecar-review.js.map +1 -1
  1715. package/dist/runtime/event/outbox-seq.d.ts +2 -0
  1716. package/dist/runtime/event/outbox-seq.d.ts.map +1 -0
  1717. package/dist/runtime/event/outbox-seq.js +11 -0
  1718. package/dist/runtime/event/outbox-seq.js.map +1 -0
  1719. package/dist/runtime/event/server-auth.d.ts +1 -1
  1720. package/dist/runtime/event/server-auth.d.ts.map +1 -1
  1721. package/dist/runtime/event/server-auth.js +3 -1
  1722. package/dist/runtime/event/server-auth.js.map +1 -1
  1723. package/dist/runtime/event/server-command-handler.d.ts.map +1 -1
  1724. package/dist/runtime/event/server-command-handler.js +45 -44
  1725. package/dist/runtime/event/server-command-handler.js.map +1 -1
  1726. package/dist/runtime/event/server-file-ingestion.d.ts +1 -0
  1727. package/dist/runtime/event/server-file-ingestion.d.ts.map +1 -1
  1728. package/dist/runtime/event/server-file-ingestion.js +18 -29
  1729. package/dist/runtime/event/server-file-ingestion.js.map +1 -1
  1730. package/dist/runtime/event/server-http.d.ts +2 -1
  1731. package/dist/runtime/event/server-http.d.ts.map +1 -1
  1732. package/dist/runtime/event/server-http.js +2 -18
  1733. package/dist/runtime/event/server-http.js.map +1 -1
  1734. package/dist/runtime/event/server-router.d.ts +2 -0
  1735. package/dist/runtime/event/server-router.d.ts.map +1 -1
  1736. package/dist/runtime/event/server-router.js +21 -12
  1737. package/dist/runtime/event/server-router.js.map +1 -1
  1738. package/dist/runtime/event/server-snapshot-reader.d.ts +10 -2
  1739. package/dist/runtime/event/server-snapshot-reader.d.ts.map +1 -1
  1740. package/dist/runtime/event/server-snapshot-reader.js +95 -64
  1741. package/dist/runtime/event/server-snapshot-reader.js.map +1 -1
  1742. package/dist/runtime/event/server-sse.d.ts.map +1 -1
  1743. package/dist/runtime/event/server-sse.js +3 -4
  1744. package/dist/runtime/event/server-sse.js.map +1 -1
  1745. package/dist/runtime/event/server-trigger-handler.d.ts.map +1 -1
  1746. package/dist/runtime/event/server-trigger-handler.js +7 -10
  1747. package/dist/runtime/event/server-trigger-handler.js.map +1 -1
  1748. package/dist/runtime/event/server-types.d.ts +4 -0
  1749. package/dist/runtime/event/server-types.d.ts.map +1 -1
  1750. package/dist/runtime/event/server.d.ts +1 -0
  1751. package/dist/runtime/event/server.d.ts.map +1 -1
  1752. package/dist/runtime/event/server.js +15 -4
  1753. package/dist/runtime/event/server.js.map +1 -1
  1754. package/dist/runtime/evidence-answer.d.ts +26 -0
  1755. package/dist/runtime/evidence-answer.d.ts.map +1 -1
  1756. package/dist/runtime/evidence-answer.js +134 -14
  1757. package/dist/runtime/evidence-answer.js.map +1 -1
  1758. package/dist/runtime/executor/goal-worker.d.ts +3 -3
  1759. package/dist/runtime/executor/goal-worker.d.ts.map +1 -1
  1760. package/dist/runtime/executor/goal-worker.js +4 -4
  1761. package/dist/runtime/executor/goal-worker.js.map +1 -1
  1762. package/dist/runtime/executor/loop-supervisor.d.ts +13 -6
  1763. package/dist/runtime/executor/loop-supervisor.d.ts.map +1 -1
  1764. package/dist/runtime/executor/loop-supervisor.js +91 -23
  1765. package/dist/runtime/executor/loop-supervisor.js.map +1 -1
  1766. package/dist/runtime/foreign-plugins/compatibility.d.ts +18 -1
  1767. package/dist/runtime/foreign-plugins/compatibility.d.ts.map +1 -1
  1768. package/dist/runtime/foreign-plugins/compatibility.js +183 -55
  1769. package/dist/runtime/foreign-plugins/compatibility.js.map +1 -1
  1770. package/dist/runtime/foreign-plugins/index.d.ts +2 -2
  1771. package/dist/runtime/foreign-plugins/index.d.ts.map +1 -1
  1772. package/dist/runtime/foreign-plugins/index.js +1 -1
  1773. package/dist/runtime/foreign-plugins/index.js.map +1 -1
  1774. package/dist/runtime/foreign-plugins/types.d.ts +347 -14
  1775. package/dist/runtime/foreign-plugins/types.d.ts.map +1 -1
  1776. package/dist/runtime/foreign-plugins/types.js +88 -1
  1777. package/dist/runtime/foreign-plugins/types.js.map +1 -1
  1778. package/dist/runtime/gateway/channel-adapter.d.ts +3 -0
  1779. package/dist/runtime/gateway/channel-adapter.d.ts.map +1 -1
  1780. package/dist/runtime/gateway/channel-display-policy.js +1 -1
  1781. package/dist/runtime/gateway/channel-display-policy.js.map +1 -1
  1782. package/dist/runtime/gateway/channel-policy.d.ts +55 -0
  1783. package/dist/runtime/gateway/channel-policy.d.ts.map +1 -1
  1784. package/dist/runtime/gateway/channel-policy.js +108 -0
  1785. package/dist/runtime/gateway/channel-policy.js.map +1 -1
  1786. package/dist/runtime/gateway/channel-presence-policy.d.ts +34 -0
  1787. package/dist/runtime/gateway/channel-presence-policy.d.ts.map +1 -0
  1788. package/dist/runtime/gateway/channel-presence-policy.js +118 -0
  1789. package/dist/runtime/gateway/channel-presence-policy.js.map +1 -0
  1790. package/dist/runtime/gateway/chat-event-rendering.d.ts +18 -27
  1791. package/dist/runtime/gateway/chat-event-rendering.d.ts.map +1 -1
  1792. package/dist/runtime/gateway/chat-event-rendering.js +49 -34
  1793. package/dist/runtime/gateway/chat-event-rendering.js.map +1 -1
  1794. package/dist/runtime/gateway/chat-session-dispatch.d.ts +13 -0
  1795. package/dist/runtime/gateway/chat-session-dispatch.d.ts.map +1 -1
  1796. package/dist/runtime/gateway/chat-session-dispatch.js +43 -6
  1797. package/dist/runtime/gateway/chat-session-dispatch.js.map +1 -1
  1798. package/dist/runtime/gateway/chat-session-port.d.ts +2 -0
  1799. package/dist/runtime/gateway/chat-session-port.d.ts.map +1 -1
  1800. package/dist/runtime/gateway/chat-session-port.js.map +1 -1
  1801. package/dist/runtime/gateway/config-json.d.ts +3 -0
  1802. package/dist/runtime/gateway/config-json.d.ts.map +1 -0
  1803. package/dist/runtime/gateway/config-json.js +27 -0
  1804. package/dist/runtime/gateway/config-json.js.map +1 -0
  1805. package/dist/runtime/gateway/direct-chat-latency-smoke.d.ts +2 -0
  1806. package/dist/runtime/gateway/direct-chat-latency-smoke.d.ts.map +1 -0
  1807. package/dist/runtime/gateway/direct-chat-latency-smoke.js +214 -0
  1808. package/dist/runtime/gateway/direct-chat-latency-smoke.js.map +1 -0
  1809. package/dist/runtime/gateway/discord-gateway-adapter.d.ts +1 -1
  1810. package/dist/runtime/gateway/discord-gateway-adapter.d.ts.map +1 -1
  1811. package/dist/runtime/gateway/discord-gateway-adapter.js +87 -43
  1812. package/dist/runtime/gateway/discord-gateway-adapter.js.map +1 -1
  1813. package/dist/runtime/gateway/gateway-progress-narration.d.ts +12 -0
  1814. package/dist/runtime/gateway/gateway-progress-narration.d.ts.map +1 -0
  1815. package/dist/runtime/gateway/gateway-progress-narration.js +294 -0
  1816. package/dist/runtime/gateway/gateway-progress-narration.js.map +1 -0
  1817. package/dist/runtime/gateway/http-channel-adapter.d.ts +1 -0
  1818. package/dist/runtime/gateway/http-channel-adapter.d.ts.map +1 -1
  1819. package/dist/runtime/gateway/http-channel-adapter.js +2 -0
  1820. package/dist/runtime/gateway/http-channel-adapter.js.map +1 -1
  1821. package/dist/runtime/gateway/index.d.ts +7 -0
  1822. package/dist/runtime/gateway/index.d.ts.map +1 -1
  1823. package/dist/runtime/gateway/index.js +5 -0
  1824. package/dist/runtime/gateway/index.js.map +1 -1
  1825. package/dist/runtime/gateway/ingress-gateway.d.ts.map +1 -1
  1826. package/dist/runtime/gateway/ingress-gateway.js +2 -6
  1827. package/dist/runtime/gateway/ingress-gateway.js.map +1 -1
  1828. package/dist/runtime/gateway/non-tui-display-projector.d.ts +5 -0
  1829. package/dist/runtime/gateway/non-tui-display-projector.d.ts.map +1 -1
  1830. package/dist/runtime/gateway/non-tui-display-projector.js +202 -27
  1831. package/dist/runtime/gateway/non-tui-display-projector.js.map +1 -1
  1832. package/dist/runtime/gateway/seedy-presence-projector.d.ts +74 -0
  1833. package/dist/runtime/gateway/seedy-presence-projector.d.ts.map +1 -0
  1834. package/dist/runtime/gateway/seedy-presence-projector.js +395 -0
  1835. package/dist/runtime/gateway/seedy-presence-projector.js.map +1 -0
  1836. package/dist/runtime/gateway/seedy-presence-rendering.d.ts +9 -0
  1837. package/dist/runtime/gateway/seedy-presence-rendering.d.ts.map +1 -0
  1838. package/dist/runtime/gateway/seedy-presence-rendering.js +103 -0
  1839. package/dist/runtime/gateway/seedy-presence-rendering.js.map +1 -0
  1840. package/dist/runtime/gateway/signal-gateway-adapter.d.ts +1 -0
  1841. package/dist/runtime/gateway/signal-gateway-adapter.d.ts.map +1 -1
  1842. package/dist/runtime/gateway/signal-gateway-adapter.js +67 -38
  1843. package/dist/runtime/gateway/signal-gateway-adapter.js.map +1 -1
  1844. package/dist/runtime/gateway/slack-channel-adapter.d.ts +1 -0
  1845. package/dist/runtime/gateway/slack-channel-adapter.d.ts.map +1 -1
  1846. package/dist/runtime/gateway/slack-channel-adapter.js +85 -34
  1847. package/dist/runtime/gateway/slack-channel-adapter.js.map +1 -1
  1848. package/dist/runtime/gateway/telegram-gateway-adapter.d.ts +19 -4
  1849. package/dist/runtime/gateway/telegram-gateway-adapter.d.ts.map +1 -1
  1850. package/dist/runtime/gateway/telegram-gateway-adapter.js +428 -117
  1851. package/dist/runtime/gateway/telegram-gateway-adapter.js.map +1 -1
  1852. package/dist/runtime/gateway/whatsapp-gateway-adapter.d.ts +1 -1
  1853. package/dist/runtime/gateway/whatsapp-gateway-adapter.d.ts.map +1 -1
  1854. package/dist/runtime/gateway/whatsapp-gateway-adapter.js +86 -54
  1855. package/dist/runtime/gateway/whatsapp-gateway-adapter.js.map +1 -1
  1856. package/dist/runtime/gateway/ws-channel-adapter.d.ts.map +1 -1
  1857. package/dist/runtime/gateway/ws-channel-adapter.js +3 -4
  1858. package/dist/runtime/gateway/ws-channel-adapter.js.map +1 -1
  1859. package/dist/runtime/goal-lease-manager.d.ts +9 -14
  1860. package/dist/runtime/goal-lease-manager.d.ts.map +1 -1
  1861. package/dist/runtime/goal-lease-manager.js +85 -141
  1862. package/dist/runtime/goal-lease-manager.js.map +1 -1
  1863. package/dist/runtime/guardrails/backpressure-controller.d.ts +1 -1
  1864. package/dist/runtime/guardrails/backpressure-controller.d.ts.map +1 -1
  1865. package/dist/runtime/guardrails/backpressure-controller.js +5 -4
  1866. package/dist/runtime/guardrails/backpressure-controller.js.map +1 -1
  1867. package/dist/runtime/guardrails/backpressure-limits.d.ts +5 -0
  1868. package/dist/runtime/guardrails/backpressure-limits.d.ts.map +1 -0
  1869. package/dist/runtime/guardrails/backpressure-limits.js +13 -0
  1870. package/dist/runtime/guardrails/backpressure-limits.js.map +1 -0
  1871. package/dist/runtime/guardrails/guardrail-store.d.ts +8 -10
  1872. package/dist/runtime/guardrails/guardrail-store.d.ts.map +1 -1
  1873. package/dist/runtime/guardrails/guardrail-store.js +78 -55
  1874. package/dist/runtime/guardrails/guardrail-store.js.map +1 -1
  1875. package/dist/runtime/hook-manager.d.ts +2 -0
  1876. package/dist/runtime/hook-manager.d.ts.map +1 -1
  1877. package/dist/runtime/hook-manager.js +10 -4
  1878. package/dist/runtime/hook-manager.js.map +1 -1
  1879. package/dist/runtime/http-body.d.ts +8 -0
  1880. package/dist/runtime/http-body.d.ts.map +1 -0
  1881. package/dist/runtime/http-body.js +43 -0
  1882. package/dist/runtime/http-body.js.map +1 -0
  1883. package/dist/runtime/intention/companion-intention-state.d.ts +680 -0
  1884. package/dist/runtime/intention/companion-intention-state.d.ts.map +1 -0
  1885. package/dist/runtime/intention/companion-intention-state.js +146 -0
  1886. package/dist/runtime/intention/companion-intention-state.js.map +1 -0
  1887. package/dist/runtime/intention/index.d.ts +3 -0
  1888. package/dist/runtime/intention/index.d.ts.map +1 -0
  1889. package/dist/runtime/intention/index.js +2 -0
  1890. package/dist/runtime/intention/index.js.map +1 -0
  1891. package/dist/runtime/interactive-automation/browser-session-store.d.ts +8 -4
  1892. package/dist/runtime/interactive-automation/browser-session-store.d.ts.map +1 -1
  1893. package/dist/runtime/interactive-automation/browser-session-store.js +78 -9
  1894. package/dist/runtime/interactive-automation/browser-session-store.js.map +1 -1
  1895. package/dist/runtime/interactive-automation/runtime-auth-handoff-store.d.ts +9 -4
  1896. package/dist/runtime/interactive-automation/runtime-auth-handoff-store.d.ts.map +1 -1
  1897. package/dist/runtime/interactive-automation/runtime-auth-handoff-store.js +82 -9
  1898. package/dist/runtime/interactive-automation/runtime-auth-handoff-store.js.map +1 -1
  1899. package/dist/runtime/leader-lock-manager.d.ts +27 -4
  1900. package/dist/runtime/leader-lock-manager.d.ts.map +1 -1
  1901. package/dist/runtime/leader-lock-manager.js +102 -105
  1902. package/dist/runtime/leader-lock-manager.js.map +1 -1
  1903. package/dist/runtime/mcp/compatibility.d.ts +53 -0
  1904. package/dist/runtime/mcp/compatibility.d.ts.map +1 -0
  1905. package/dist/runtime/mcp/compatibility.js +94 -0
  1906. package/dist/runtime/mcp/compatibility.js.map +1 -0
  1907. package/dist/runtime/mcp/index.d.ts +3 -0
  1908. package/dist/runtime/mcp/index.d.ts.map +1 -0
  1909. package/dist/runtime/mcp/index.js +2 -0
  1910. package/dist/runtime/mcp/index.js.map +1 -0
  1911. package/dist/runtime/notification-routing.d.ts.map +1 -1
  1912. package/dist/runtime/notification-routing.js +2 -1
  1913. package/dist/runtime/notification-routing.js.map +1 -1
  1914. package/dist/runtime/observation/index.d.ts +3 -0
  1915. package/dist/runtime/observation/index.d.ts.map +1 -0
  1916. package/dist/runtime/observation/index.js +2 -0
  1917. package/dist/runtime/observation/index.js.map +1 -0
  1918. package/dist/runtime/observation/observation-contracts.d.ts +1518 -0
  1919. package/dist/runtime/observation/observation-contracts.d.ts.map +1 -0
  1920. package/dist/runtime/observation/observation-contracts.js +311 -0
  1921. package/dist/runtime/observation/observation-contracts.js.map +1 -0
  1922. package/dist/runtime/permission-dialogue.d.ts +87 -10
  1923. package/dist/runtime/permission-dialogue.d.ts.map +1 -1
  1924. package/dist/runtime/permission-dialogue.js +39 -4
  1925. package/dist/runtime/permission-dialogue.js.map +1 -1
  1926. package/dist/runtime/permission-grant-decision.d.ts +50 -0
  1927. package/dist/runtime/permission-grant-decision.d.ts.map +1 -0
  1928. package/dist/runtime/permission-grant-decision.js +139 -0
  1929. package/dist/runtime/permission-grant-decision.js.map +1 -0
  1930. package/dist/runtime/pid-manager.d.ts +1 -0
  1931. package/dist/runtime/pid-manager.d.ts.map +1 -1
  1932. package/dist/runtime/pid-manager.js +44 -21
  1933. package/dist/runtime/pid-manager.js.map +1 -1
  1934. package/dist/runtime/plugin-loader.d.ts +10 -1
  1935. package/dist/runtime/plugin-loader.d.ts.map +1 -1
  1936. package/dist/runtime/plugin-loader.js +104 -78
  1937. package/dist/runtime/plugin-loader.js.map +1 -1
  1938. package/dist/runtime/plugin-manifest-reader.d.ts +38 -0
  1939. package/dist/runtime/plugin-manifest-reader.d.ts.map +1 -0
  1940. package/dist/runtime/plugin-manifest-reader.js +163 -0
  1941. package/dist/runtime/plugin-manifest-reader.js.map +1 -0
  1942. package/dist/runtime/port-utils.d.ts.map +1 -1
  1943. package/dist/runtime/port-utils.js +20 -6
  1944. package/dist/runtime/port-utils.js.map +1 -1
  1945. package/dist/runtime/queue/journal-backed-queue.d.ts +8 -7
  1946. package/dist/runtime/queue/journal-backed-queue.d.ts.map +1 -1
  1947. package/dist/runtime/queue/journal-backed-queue.js +172 -122
  1948. package/dist/runtime/queue/journal-backed-queue.js.map +1 -1
  1949. package/dist/runtime/resident-runtime-interface.d.ts +1034 -0
  1950. package/dist/runtime/resident-runtime-interface.d.ts.map +1 -0
  1951. package/dist/runtime/resident-runtime-interface.js +429 -0
  1952. package/dist/runtime/resident-runtime-interface.js.map +1 -0
  1953. package/dist/runtime/run-spec/confirmation.d.ts +4 -1
  1954. package/dist/runtime/run-spec/confirmation.d.ts.map +1 -1
  1955. package/dist/runtime/run-spec/confirmation.js +101 -6
  1956. package/dist/runtime/run-spec/confirmation.js.map +1 -1
  1957. package/dist/runtime/run-spec/derive.d.ts +29 -29
  1958. package/dist/runtime/run-spec/derive.d.ts.map +1 -1
  1959. package/dist/runtime/run-spec/derive.js +8 -7
  1960. package/dist/runtime/run-spec/derive.js.map +1 -1
  1961. package/dist/runtime/run-spec/handoff.d.ts.map +1 -1
  1962. package/dist/runtime/run-spec/handoff.js +43 -39
  1963. package/dist/runtime/run-spec/handoff.js.map +1 -1
  1964. package/dist/runtime/run-spec/index.d.ts +2 -0
  1965. package/dist/runtime/run-spec/index.d.ts.map +1 -1
  1966. package/dist/runtime/run-spec/index.js +1 -0
  1967. package/dist/runtime/run-spec/index.js.map +1 -1
  1968. package/dist/runtime/run-spec/pending-dialogue-arbiter.d.ts +4 -4
  1969. package/dist/runtime/run-spec/pending-dialogue-arbiter.js +1 -1
  1970. package/dist/runtime/run-spec/pending-dialogue-arbiter.js.map +1 -1
  1971. package/dist/runtime/run-spec/run-spec-state-migration.d.ts +13 -0
  1972. package/dist/runtime/run-spec/run-spec-state-migration.d.ts.map +1 -0
  1973. package/dist/runtime/run-spec/run-spec-state-migration.js +117 -0
  1974. package/dist/runtime/run-spec/run-spec-state-migration.js.map +1 -0
  1975. package/dist/runtime/run-spec/store.d.ts +9 -3
  1976. package/dist/runtime/run-spec/store.d.ts.map +1 -1
  1977. package/dist/runtime/run-spec/store.js +68 -19
  1978. package/dist/runtime/run-spec/store.js.map +1 -1
  1979. package/dist/runtime/run-spec/types.d.ts +49 -44
  1980. package/dist/runtime/run-spec/types.d.ts.map +1 -1
  1981. package/dist/runtime/run-spec/types.js +11 -6
  1982. package/dist/runtime/run-spec/types.js.map +1 -1
  1983. package/dist/runtime/schedule/engine-execution.d.ts +7 -3
  1984. package/dist/runtime/schedule/engine-execution.d.ts.map +1 -1
  1985. package/dist/runtime/schedule/engine-execution.js +61 -26
  1986. package/dist/runtime/schedule/engine-execution.js.map +1 -1
  1987. package/dist/runtime/schedule/engine-heartbeat.d.ts.map +1 -1
  1988. package/dist/runtime/schedule/engine-heartbeat.js +15 -7
  1989. package/dist/runtime/schedule/engine-heartbeat.js.map +1 -1
  1990. package/dist/runtime/schedule/engine-layers.d.ts +4 -1
  1991. package/dist/runtime/schedule/engine-layers.d.ts.map +1 -1
  1992. package/dist/runtime/schedule/engine-layers.js +155 -12
  1993. package/dist/runtime/schedule/engine-layers.js.map +1 -1
  1994. package/dist/runtime/schedule/engine-mutations.js.map +1 -1
  1995. package/dist/runtime/schedule/engine.d.ts +7 -3
  1996. package/dist/runtime/schedule/engine.d.ts.map +1 -1
  1997. package/dist/runtime/schedule/engine.js +62 -13
  1998. package/dist/runtime/schedule/engine.js.map +1 -1
  1999. package/dist/runtime/schedule/entry-normalization.d.ts +9 -0
  2000. package/dist/runtime/schedule/entry-normalization.d.ts.map +1 -0
  2001. package/dist/runtime/schedule/entry-normalization.js +105 -0
  2002. package/dist/runtime/schedule/entry-normalization.js.map +1 -0
  2003. package/dist/runtime/schedule/entry-store.d.ts +7 -6
  2004. package/dist/runtime/schedule/entry-store.d.ts.map +1 -1
  2005. package/dist/runtime/schedule/entry-store.js +94 -67
  2006. package/dist/runtime/schedule/entry-store.js.map +1 -1
  2007. package/dist/runtime/schedule/history.d.ts +649 -9
  2008. package/dist/runtime/schedule/history.d.ts.map +1 -1
  2009. package/dist/runtime/schedule/history.js +66 -23
  2010. package/dist/runtime/schedule/history.js.map +1 -1
  2011. package/dist/runtime/schedule/legacy-cron-migration.d.ts.map +1 -1
  2012. package/dist/runtime/schedule/legacy-cron-migration.js +34 -8
  2013. package/dist/runtime/schedule/legacy-cron-migration.js.map +1 -1
  2014. package/dist/runtime/schedule/presets.d.ts +20 -20
  2015. package/dist/runtime/schedule/presets.d.ts.map +1 -1
  2016. package/dist/runtime/schedule/presets.js +4 -2
  2017. package/dist/runtime/schedule/presets.js.map +1 -1
  2018. package/dist/runtime/schedule/source.d.ts +30 -28
  2019. package/dist/runtime/schedule/source.d.ts.map +1 -1
  2020. package/dist/runtime/schedule/source.js +16 -5
  2021. package/dist/runtime/schedule/source.js.map +1 -1
  2022. package/dist/runtime/schedule/wait-projection.d.ts.map +1 -1
  2023. package/dist/runtime/schedule/wait-projection.js +6 -9
  2024. package/dist/runtime/schedule/wait-projection.js.map +1 -1
  2025. package/dist/runtime/session-registry/registry-helpers.d.ts +2 -0
  2026. package/dist/runtime/session-registry/registry-helpers.d.ts.map +1 -1
  2027. package/dist/runtime/session-registry/registry-helpers.js +34 -10
  2028. package/dist/runtime/session-registry/registry-helpers.js.map +1 -1
  2029. package/dist/runtime/session-registry/registry.d.ts +3 -2
  2030. package/dist/runtime/session-registry/registry.d.ts.map +1 -1
  2031. package/dist/runtime/session-registry/registry.js +118 -211
  2032. package/dist/runtime/session-registry/registry.js.map +1 -1
  2033. package/dist/runtime/session-registry/types.d.ts +160 -160
  2034. package/dist/runtime/session-registry/types.d.ts.map +1 -1
  2035. package/dist/runtime/session-registry/types.js +1 -0
  2036. package/dist/runtime/session-registry/types.js.map +1 -1
  2037. package/dist/runtime/skills/skill-bundle.d.ts +45 -0
  2038. package/dist/runtime/skills/skill-bundle.d.ts.map +1 -0
  2039. package/dist/runtime/skills/skill-bundle.js +203 -0
  2040. package/dist/runtime/skills/skill-bundle.js.map +1 -0
  2041. package/dist/runtime/skills/skill-parser.d.ts +1 -0
  2042. package/dist/runtime/skills/skill-parser.d.ts.map +1 -1
  2043. package/dist/runtime/skills/skill-parser.js +30 -11
  2044. package/dist/runtime/skills/skill-parser.js.map +1 -1
  2045. package/dist/runtime/skills/skill-registry.d.ts +5 -0
  2046. package/dist/runtime/skills/skill-registry.d.ts.map +1 -1
  2047. package/dist/runtime/skills/skill-registry.js +53 -9
  2048. package/dist/runtime/skills/skill-registry.js.map +1 -1
  2049. package/dist/runtime/store/approval-store.d.ts +5 -5
  2050. package/dist/runtime/store/approval-store.d.ts.map +1 -1
  2051. package/dist/runtime/store/approval-store.js +86 -81
  2052. package/dist/runtime/store/approval-store.js.map +1 -1
  2053. package/dist/runtime/store/artifact-retention.d.ts.map +1 -1
  2054. package/dist/runtime/store/artifact-retention.js +13 -2
  2055. package/dist/runtime/store/artifact-retention.js.map +1 -1
  2056. package/dist/runtime/store/attention-state-store.d.ts +195 -0
  2057. package/dist/runtime/store/attention-state-store.d.ts.map +1 -0
  2058. package/dist/runtime/store/attention-state-store.js +1186 -0
  2059. package/dist/runtime/store/attention-state-store.js.map +1 -0
  2060. package/dist/runtime/store/background-run-store.d.ts +233 -2
  2061. package/dist/runtime/store/background-run-store.d.ts.map +1 -1
  2062. package/dist/runtime/store/background-run-store.js +65 -9
  2063. package/dist/runtime/store/background-run-store.js.map +1 -1
  2064. package/dist/runtime/store/budget-store.d.ts +101 -48
  2065. package/dist/runtime/store/budget-store.d.ts.map +1 -1
  2066. package/dist/runtime/store/budget-store.js +226 -47
  2067. package/dist/runtime/store/budget-store.js.map +1 -1
  2068. package/dist/runtime/store/capability-registry-state-migration.d.ts +24 -0
  2069. package/dist/runtime/store/capability-registry-state-migration.d.ts.map +1 -0
  2070. package/dist/runtime/store/capability-registry-state-migration.js +208 -0
  2071. package/dist/runtime/store/capability-registry-state-migration.js.map +1 -0
  2072. package/dist/runtime/store/capability-registry-state-store.d.ts +36 -0
  2073. package/dist/runtime/store/capability-registry-state-store.d.ts.map +1 -0
  2074. package/dist/runtime/store/capability-registry-state-store.js +181 -0
  2075. package/dist/runtime/store/capability-registry-state-store.js.map +1 -0
  2076. package/dist/runtime/store/capability-verification-schemas.d.ts +184 -0
  2077. package/dist/runtime/store/capability-verification-schemas.d.ts.map +1 -0
  2078. package/dist/runtime/store/capability-verification-schemas.js +150 -0
  2079. package/dist/runtime/store/capability-verification-schemas.js.map +1 -0
  2080. package/dist/runtime/store/capability-verification-store.d.ts +31 -0
  2081. package/dist/runtime/store/capability-verification-store.d.ts.map +1 -0
  2082. package/dist/runtime/store/capability-verification-store.js +198 -0
  2083. package/dist/runtime/store/capability-verification-store.js.map +1 -0
  2084. package/dist/runtime/store/control-db/control-db.d.ts +80 -0
  2085. package/dist/runtime/store/control-db/control-db.d.ts.map +1 -0
  2086. package/dist/runtime/store/control-db/control-db.js +313 -0
  2087. package/dist/runtime/store/control-db/control-db.js.map +1 -0
  2088. package/dist/runtime/store/control-db/index.d.ts +7 -0
  2089. package/dist/runtime/store/control-db/index.d.ts.map +1 -0
  2090. package/dist/runtime/store/control-db/index.js +4 -0
  2091. package/dist/runtime/store/control-db/index.js.map +1 -0
  2092. package/dist/runtime/store/control-db/runtime-control-db.d.ts +11 -0
  2093. package/dist/runtime/store/control-db/runtime-control-db.d.ts.map +1 -0
  2094. package/dist/runtime/store/control-db/runtime-control-db.js +27 -0
  2095. package/dist/runtime/store/control-db/runtime-control-db.js.map +1 -0
  2096. package/dist/runtime/store/control-db/schema.d.ts +41 -0
  2097. package/dist/runtime/store/control-db/schema.d.ts.map +1 -0
  2098. package/dist/runtime/store/control-db/schema.js +2032 -0
  2099. package/dist/runtime/store/control-db/schema.js.map +1 -0
  2100. package/dist/runtime/store/curiosity-state-migration.d.ts +14 -0
  2101. package/dist/runtime/store/curiosity-state-migration.d.ts.map +1 -0
  2102. package/dist/runtime/store/curiosity-state-migration.js +98 -0
  2103. package/dist/runtime/store/curiosity-state-migration.js.map +1 -0
  2104. package/dist/runtime/store/curiosity-state-store.d.ts +19 -0
  2105. package/dist/runtime/store/curiosity-state-store.d.ts.map +1 -0
  2106. package/dist/runtime/store/curiosity-state-store.js +161 -0
  2107. package/dist/runtime/store/curiosity-state-store.js.map +1 -0
  2108. package/dist/runtime/store/daemon-state-store.d.ts +25 -0
  2109. package/dist/runtime/store/daemon-state-store.d.ts.map +1 -0
  2110. package/dist/runtime/store/daemon-state-store.js +145 -0
  2111. package/dist/runtime/store/daemon-state-store.js.map +1 -0
  2112. package/dist/runtime/store/dream-decision-heuristic-migration.d.ts +8 -0
  2113. package/dist/runtime/store/dream-decision-heuristic-migration.d.ts.map +1 -0
  2114. package/dist/runtime/store/dream-decision-heuristic-migration.js +89 -0
  2115. package/dist/runtime/store/dream-decision-heuristic-migration.js.map +1 -0
  2116. package/dist/runtime/store/dream-decision-heuristic-store.d.ts +13 -0
  2117. package/dist/runtime/store/dream-decision-heuristic-store.d.ts.map +1 -0
  2118. package/dist/runtime/store/dream-decision-heuristic-store.js +62 -0
  2119. package/dist/runtime/store/dream-decision-heuristic-store.js.map +1 -0
  2120. package/dist/runtime/store/ethics-log-migration.d.ts +12 -0
  2121. package/dist/runtime/store/ethics-log-migration.d.ts.map +1 -0
  2122. package/dist/runtime/store/ethics-log-migration.js +94 -0
  2123. package/dist/runtime/store/ethics-log-migration.js.map +1 -0
  2124. package/dist/runtime/store/ethics-log-store.d.ts +20 -0
  2125. package/dist/runtime/store/ethics-log-store.d.ts.map +1 -0
  2126. package/dist/runtime/store/ethics-log-store.js +90 -0
  2127. package/dist/runtime/store/ethics-log-store.js.map +1 -0
  2128. package/dist/runtime/store/evidence-ledger.d.ts +8 -203
  2129. package/dist/runtime/store/evidence-ledger.d.ts.map +1 -1
  2130. package/dist/runtime/store/evidence-ledger.js +172 -507
  2131. package/dist/runtime/store/evidence-ledger.js.map +1 -1
  2132. package/dist/runtime/store/evidence-types.d.ts +768 -749
  2133. package/dist/runtime/store/evidence-types.d.ts.map +1 -1
  2134. package/dist/runtime/store/evidence-types.js +7 -4
  2135. package/dist/runtime/store/evidence-types.js.map +1 -1
  2136. package/dist/runtime/store/execution-session-state-migration.d.ts +14 -0
  2137. package/dist/runtime/store/execution-session-state-migration.d.ts.map +1 -0
  2138. package/dist/runtime/store/execution-session-state-migration.js +184 -0
  2139. package/dist/runtime/store/execution-session-state-migration.js.map +1 -0
  2140. package/dist/runtime/store/execution-session-state-store.d.ts +21 -0
  2141. package/dist/runtime/store/execution-session-state-store.d.ts.map +1 -0
  2142. package/dist/runtime/store/execution-session-state-store.js +117 -0
  2143. package/dist/runtime/store/execution-session-state-store.js.map +1 -0
  2144. package/dist/runtime/store/experiment-queue-store.d.ts +76 -72
  2145. package/dist/runtime/store/experiment-queue-store.d.ts.map +1 -1
  2146. package/dist/runtime/store/experiment-queue-store.js +72 -9
  2147. package/dist/runtime/store/experiment-queue-store.js.map +1 -1
  2148. package/dist/runtime/store/feedback-ingestion-store.d.ts +19 -0
  2149. package/dist/runtime/store/feedback-ingestion-store.d.ts.map +1 -0
  2150. package/dist/runtime/store/feedback-ingestion-store.js +147 -0
  2151. package/dist/runtime/store/feedback-ingestion-store.js.map +1 -0
  2152. package/dist/runtime/store/goal-orchestration-state-migration.d.ts +14 -0
  2153. package/dist/runtime/store/goal-orchestration-state-migration.d.ts.map +1 -0
  2154. package/dist/runtime/store/goal-orchestration-state-migration.js +206 -0
  2155. package/dist/runtime/store/goal-orchestration-state-migration.js.map +1 -0
  2156. package/dist/runtime/store/goal-orchestration-state-store.d.ts +25 -0
  2157. package/dist/runtime/store/goal-orchestration-state-store.d.ts.map +1 -0
  2158. package/dist/runtime/store/goal-orchestration-state-store.js +101 -0
  2159. package/dist/runtime/store/goal-orchestration-state-store.js.map +1 -0
  2160. package/dist/runtime/store/goal-task-state-migration.d.ts +24 -0
  2161. package/dist/runtime/store/goal-task-state-migration.d.ts.map +1 -0
  2162. package/dist/runtime/store/goal-task-state-migration.js +554 -0
  2163. package/dist/runtime/store/goal-task-state-migration.js.map +1 -0
  2164. package/dist/runtime/store/goal-task-state-store.d.ts +85 -0
  2165. package/dist/runtime/store/goal-task-state-store.d.ts.map +1 -0
  2166. package/dist/runtime/store/goal-task-state-store.js +992 -0
  2167. package/dist/runtime/store/goal-task-state-store.js.map +1 -0
  2168. package/dist/runtime/store/health-store.d.ts +5 -2
  2169. package/dist/runtime/store/health-store.d.ts.map +1 -1
  2170. package/dist/runtime/store/health-store.js +70 -23
  2171. package/dist/runtime/store/health-store.js.map +1 -1
  2172. package/dist/runtime/store/index.d.ts +91 -4
  2173. package/dist/runtime/store/index.d.ts.map +1 -1
  2174. package/dist/runtime/store/index.js +49 -3
  2175. package/dist/runtime/store/index.js.map +1 -1
  2176. package/dist/runtime/store/knowledge-memory-state-migration.d.ts +14 -0
  2177. package/dist/runtime/store/knowledge-memory-state-migration.d.ts.map +1 -0
  2178. package/dist/runtime/store/knowledge-memory-state-migration.js +160 -0
  2179. package/dist/runtime/store/knowledge-memory-state-migration.js.map +1 -0
  2180. package/dist/runtime/store/knowledge-transfer-state-migration.d.ts +14 -0
  2181. package/dist/runtime/store/knowledge-transfer-state-migration.d.ts.map +1 -0
  2182. package/dist/runtime/store/knowledge-transfer-state-migration.js +210 -0
  2183. package/dist/runtime/store/knowledge-transfer-state-migration.js.map +1 -0
  2184. package/dist/runtime/store/knowledge-transfer-state-store.d.ts +658 -0
  2185. package/dist/runtime/store/knowledge-transfer-state-store.d.ts.map +1 -0
  2186. package/dist/runtime/store/knowledge-transfer-state-store.js +214 -0
  2187. package/dist/runtime/store/knowledge-transfer-state-store.js.map +1 -0
  2188. package/dist/runtime/store/learning-runtime-state-migration.d.ts +16 -0
  2189. package/dist/runtime/store/learning-runtime-state-migration.d.ts.map +1 -0
  2190. package/dist/runtime/store/learning-runtime-state-migration.js +202 -0
  2191. package/dist/runtime/store/learning-runtime-state-migration.js.map +1 -0
  2192. package/dist/runtime/store/learning-runtime-state-store.d.ts +53 -0
  2193. package/dist/runtime/store/learning-runtime-state-store.d.ts.map +1 -0
  2194. package/dist/runtime/store/learning-runtime-state-store.js +232 -0
  2195. package/dist/runtime/store/learning-runtime-state-store.js.map +1 -0
  2196. package/dist/runtime/store/memory-lifecycle-state-migration.d.ts +18 -0
  2197. package/dist/runtime/store/memory-lifecycle-state-migration.d.ts.map +1 -0
  2198. package/dist/runtime/store/memory-lifecycle-state-migration.js +344 -0
  2199. package/dist/runtime/store/memory-lifecycle-state-migration.js.map +1 -0
  2200. package/dist/runtime/store/metric-history.d.ts +4 -1
  2201. package/dist/runtime/store/metric-history.d.ts.map +1 -1
  2202. package/dist/runtime/store/metric-history.js +18 -3
  2203. package/dist/runtime/store/metric-history.js.map +1 -1
  2204. package/dist/runtime/store/operator-handoff-store.d.ts +19 -14
  2205. package/dist/runtime/store/operator-handoff-store.d.ts.map +1 -1
  2206. package/dist/runtime/store/operator-handoff-store.js +74 -7
  2207. package/dist/runtime/store/operator-handoff-store.js.map +1 -1
  2208. package/dist/runtime/store/outbox-store.d.ts +5 -3
  2209. package/dist/runtime/store/outbox-store.d.ts.map +1 -1
  2210. package/dist/runtime/store/outbox-store.js +76 -66
  2211. package/dist/runtime/store/outbox-store.js.map +1 -1
  2212. package/dist/runtime/store/permission-grant-store.d.ts +961 -0
  2213. package/dist/runtime/store/permission-grant-store.d.ts.map +1 -0
  2214. package/dist/runtime/store/permission-grant-store.js +525 -0
  2215. package/dist/runtime/store/permission-grant-store.js.map +1 -0
  2216. package/dist/runtime/store/permission-wait-plan-store.d.ts +633 -0
  2217. package/dist/runtime/store/permission-wait-plan-store.d.ts.map +1 -0
  2218. package/dist/runtime/store/permission-wait-plan-store.js +366 -0
  2219. package/dist/runtime/store/permission-wait-plan-store.js.map +1 -0
  2220. package/dist/runtime/store/plugin-channel-runtime-state-migration.d.ts +14 -0
  2221. package/dist/runtime/store/plugin-channel-runtime-state-migration.d.ts.map +1 -0
  2222. package/dist/runtime/store/plugin-channel-runtime-state-migration.js +204 -0
  2223. package/dist/runtime/store/plugin-channel-runtime-state-migration.js.map +1 -0
  2224. package/dist/runtime/store/plugin-channel-runtime-state-store.d.ts +78 -0
  2225. package/dist/runtime/store/plugin-channel-runtime-state-store.d.ts.map +1 -0
  2226. package/dist/runtime/store/plugin-channel-runtime-state-store.js +278 -0
  2227. package/dist/runtime/store/plugin-channel-runtime-state-store.js.map +1 -0
  2228. package/dist/runtime/store/postmortem-report.d.ts +10 -8
  2229. package/dist/runtime/store/postmortem-report.d.ts.map +1 -1
  2230. package/dist/runtime/store/postmortem-report.js +40 -18
  2231. package/dist/runtime/store/postmortem-report.js.map +1 -1
  2232. package/dist/runtime/store/proactive-intervention-store.d.ts +2376 -33
  2233. package/dist/runtime/store/proactive-intervention-store.d.ts.map +1 -1
  2234. package/dist/runtime/store/proactive-intervention-store.js +83 -37
  2235. package/dist/runtime/store/proactive-intervention-store.js.map +1 -1
  2236. package/dist/runtime/store/process-session-state-store.d.ts +83 -0
  2237. package/dist/runtime/store/process-session-state-store.d.ts.map +1 -0
  2238. package/dist/runtime/store/process-session-state-store.js +199 -0
  2239. package/dist/runtime/store/process-session-state-store.js.map +1 -0
  2240. package/dist/runtime/store/queue-daemon-schedule-state-migration.d.ts +17 -0
  2241. package/dist/runtime/store/queue-daemon-schedule-state-migration.d.ts.map +1 -0
  2242. package/dist/runtime/store/queue-daemon-schedule-state-migration.js +261 -0
  2243. package/dist/runtime/store/queue-daemon-schedule-state-migration.js.map +1 -0
  2244. package/dist/runtime/store/relationship-profile-proposal-state-migration.d.ts +13 -0
  2245. package/dist/runtime/store/relationship-profile-proposal-state-migration.d.ts.map +1 -0
  2246. package/dist/runtime/store/relationship-profile-proposal-state-migration.js +94 -0
  2247. package/dist/runtime/store/relationship-profile-proposal-state-migration.js.map +1 -0
  2248. package/dist/runtime/store/reproducibility-manifest.d.ts +33 -33
  2249. package/dist/runtime/store/reproducibility-manifest.d.ts.map +1 -1
  2250. package/dist/runtime/store/reproducibility-manifest.js +22 -11
  2251. package/dist/runtime/store/reproducibility-manifest.js.map +1 -1
  2252. package/dist/runtime/store/runtime-control-state-migration.d.ts +23 -0
  2253. package/dist/runtime/store/runtime-control-state-migration.d.ts.map +1 -0
  2254. package/dist/runtime/store/runtime-control-state-migration.js +151 -0
  2255. package/dist/runtime/store/runtime-control-state-migration.js.map +1 -0
  2256. package/dist/runtime/store/runtime-control-store-migration.d.ts +18 -0
  2257. package/dist/runtime/store/runtime-control-store-migration.d.ts.map +1 -0
  2258. package/dist/runtime/store/runtime-control-store-migration.js +119 -0
  2259. package/dist/runtime/store/runtime-control-store-migration.js.map +1 -0
  2260. package/dist/runtime/store/runtime-evidence-state-store.d.ts +34 -0
  2261. package/dist/runtime/store/runtime-evidence-state-store.d.ts.map +1 -0
  2262. package/dist/runtime/store/runtime-evidence-state-store.js +181 -0
  2263. package/dist/runtime/store/runtime-evidence-state-store.js.map +1 -0
  2264. package/dist/runtime/store/runtime-evidence-strategy-dream-state-migration.d.ts +24 -0
  2265. package/dist/runtime/store/runtime-evidence-strategy-dream-state-migration.d.ts.map +1 -0
  2266. package/dist/runtime/store/runtime-evidence-strategy-dream-state-migration.js +369 -0
  2267. package/dist/runtime/store/runtime-evidence-strategy-dream-state-migration.js.map +1 -0
  2268. package/dist/runtime/store/runtime-evidence-summary-types.d.ts +213 -0
  2269. package/dist/runtime/store/runtime-evidence-summary-types.d.ts.map +1 -0
  2270. package/dist/runtime/store/runtime-evidence-summary-types.js +2 -0
  2271. package/dist/runtime/store/runtime-evidence-summary-types.js.map +1 -0
  2272. package/dist/runtime/store/runtime-journal-state-migration.d.ts +20 -0
  2273. package/dist/runtime/store/runtime-journal-state-migration.d.ts.map +1 -0
  2274. package/dist/runtime/store/runtime-journal-state-migration.js +280 -0
  2275. package/dist/runtime/store/runtime-journal-state-migration.js.map +1 -0
  2276. package/dist/runtime/store/runtime-journal.d.ts +0 -11
  2277. package/dist/runtime/store/runtime-journal.d.ts.map +1 -1
  2278. package/dist/runtime/store/runtime-journal.js +0 -25
  2279. package/dist/runtime/store/runtime-journal.js.map +1 -1
  2280. package/dist/runtime/store/runtime-operation-companion.d.ts +13 -0
  2281. package/dist/runtime/store/runtime-operation-companion.d.ts.map +1 -0
  2282. package/dist/runtime/store/runtime-operation-companion.js +597 -0
  2283. package/dist/runtime/store/runtime-operation-companion.js.map +1 -0
  2284. package/dist/runtime/store/runtime-operation-schemas.d.ts +623 -34
  2285. package/dist/runtime/store/runtime-operation-schemas.d.ts.map +1 -1
  2286. package/dist/runtime/store/runtime-operation-schemas.js +62 -1
  2287. package/dist/runtime/store/runtime-operation-schemas.js.map +1 -1
  2288. package/dist/runtime/store/runtime-operation-store.d.ts +19 -8
  2289. package/dist/runtime/store/runtime-operation-store.d.ts.map +1 -1
  2290. package/dist/runtime/store/runtime-operation-store.js +173 -36
  2291. package/dist/runtime/store/runtime-operation-store.js.map +1 -1
  2292. package/dist/runtime/store/runtime-paths.d.ts +4 -17
  2293. package/dist/runtime/store/runtime-paths.d.ts.map +1 -1
  2294. package/dist/runtime/store/runtime-paths.js +10 -61
  2295. package/dist/runtime/store/runtime-paths.js.map +1 -1
  2296. package/dist/runtime/store/runtime-schemas.d.ts +647 -194
  2297. package/dist/runtime/store/runtime-schemas.d.ts.map +1 -1
  2298. package/dist/runtime/store/runtime-schemas.js +72 -38
  2299. package/dist/runtime/store/runtime-schemas.js.map +1 -1
  2300. package/dist/runtime/store/safe-pause-store.d.ts +5 -2
  2301. package/dist/runtime/store/safe-pause-store.d.ts.map +1 -1
  2302. package/dist/runtime/store/safe-pause-store.js +46 -8
  2303. package/dist/runtime/store/safe-pause-store.js.map +1 -1
  2304. package/dist/runtime/store/stall-state-migration.d.ts +13 -0
  2305. package/dist/runtime/store/stall-state-migration.d.ts.map +1 -0
  2306. package/dist/runtime/store/stall-state-migration.js +143 -0
  2307. package/dist/runtime/store/stall-state-migration.js.map +1 -0
  2308. package/dist/runtime/store/stall-state-store.d.ts +22 -0
  2309. package/dist/runtime/store/stall-state-store.d.ts.map +1 -0
  2310. package/dist/runtime/store/stall-state-store.js +76 -0
  2311. package/dist/runtime/store/stall-state-store.js.map +1 -0
  2312. package/dist/runtime/store/strategy-dream-state-store.d.ts +65 -0
  2313. package/dist/runtime/store/strategy-dream-state-store.d.ts.map +1 -0
  2314. package/dist/runtime/store/strategy-dream-state-store.js +524 -0
  2315. package/dist/runtime/store/strategy-dream-state-store.js.map +1 -0
  2316. package/dist/runtime/store/supervisor-state-store.d.ts +71 -0
  2317. package/dist/runtime/store/supervisor-state-store.d.ts.map +1 -0
  2318. package/dist/runtime/store/supervisor-state-store.js +134 -0
  2319. package/dist/runtime/store/supervisor-state-store.js.map +1 -0
  2320. package/dist/runtime/store/transfer-trust-state-migration.d.ts +15 -0
  2321. package/dist/runtime/store/transfer-trust-state-migration.d.ts.map +1 -0
  2322. package/dist/runtime/store/transfer-trust-state-migration.js +281 -0
  2323. package/dist/runtime/store/transfer-trust-state-migration.js.map +1 -0
  2324. package/dist/runtime/store/transfer-trust-state-store.d.ts +62 -0
  2325. package/dist/runtime/store/transfer-trust-state-store.d.ts.map +1 -0
  2326. package/dist/runtime/store/transfer-trust-state-store.js +322 -0
  2327. package/dist/runtime/store/transfer-trust-state-store.js.map +1 -0
  2328. package/dist/runtime/store/trust-state-migration.d.ts +14 -0
  2329. package/dist/runtime/store/trust-state-migration.d.ts.map +1 -0
  2330. package/dist/runtime/store/trust-state-migration.js +99 -0
  2331. package/dist/runtime/store/trust-state-migration.js.map +1 -0
  2332. package/dist/runtime/store/trust-state-store.d.ts +18 -0
  2333. package/dist/runtime/store/trust-state-store.d.ts.map +1 -0
  2334. package/dist/runtime/store/trust-state-store.js +132 -0
  2335. package/dist/runtime/store/trust-state-store.js.map +1 -0
  2336. package/dist/runtime/trigger-mapper.d.ts +1 -0
  2337. package/dist/runtime/trigger-mapper.d.ts.map +1 -1
  2338. package/dist/runtime/trigger-mapper.js +83 -18
  2339. package/dist/runtime/trigger-mapper.js.map +1 -1
  2340. package/dist/runtime/trigger-mappings-json.d.ts +4 -0
  2341. package/dist/runtime/trigger-mappings-json.d.ts.map +1 -0
  2342. package/dist/runtime/trigger-mappings-json.js +10 -0
  2343. package/dist/runtime/trigger-mappings-json.js.map +1 -0
  2344. package/dist/runtime/types/capability-operation-plan.d.ts +580 -0
  2345. package/dist/runtime/types/capability-operation-plan.d.ts.map +1 -0
  2346. package/dist/runtime/types/capability-operation-plan.js +38 -0
  2347. package/dist/runtime/types/capability-operation-plan.js.map +1 -0
  2348. package/dist/runtime/types/companion-autonomy.d.ts +10283 -0
  2349. package/dist/runtime/types/companion-autonomy.d.ts.map +1 -0
  2350. package/dist/runtime/types/companion-autonomy.js +1091 -0
  2351. package/dist/runtime/types/companion-autonomy.js.map +1 -0
  2352. package/dist/runtime/types/companion-state.d.ts +8234 -0
  2353. package/dist/runtime/types/companion-state.d.ts.map +1 -0
  2354. package/dist/runtime/types/companion-state.js +403 -0
  2355. package/dist/runtime/types/companion-state.js.map +1 -0
  2356. package/dist/runtime/types/companion.d.ts +30 -28
  2357. package/dist/runtime/types/companion.d.ts.map +1 -1
  2358. package/dist/runtime/types/companion.js +3 -1
  2359. package/dist/runtime/types/companion.js.map +1 -1
  2360. package/dist/runtime/types/daemon.d.ts +2090 -2
  2361. package/dist/runtime/types/daemon.d.ts.map +1 -1
  2362. package/dist/runtime/types/daemon.js +69 -26
  2363. package/dist/runtime/types/daemon.js.map +1 -1
  2364. package/dist/runtime/types/envelope.d.ts +8 -8
  2365. package/dist/runtime/types/envelope.js +2 -2
  2366. package/dist/runtime/types/envelope.js.map +1 -1
  2367. package/dist/runtime/types/hook.d.ts.map +1 -1
  2368. package/dist/runtime/types/hook.js +2 -1
  2369. package/dist/runtime/types/hook.js.map +1 -1
  2370. package/dist/runtime/types/notification.d.ts +57 -56
  2371. package/dist/runtime/types/notification.d.ts.map +1 -1
  2372. package/dist/runtime/types/notification.js +24 -10
  2373. package/dist/runtime/types/notification.js.map +1 -1
  2374. package/dist/runtime/types/plugin.d.ts +8 -8
  2375. package/dist/runtime/types/plugin.d.ts.map +1 -1
  2376. package/dist/runtime/types/plugin.js +30 -15
  2377. package/dist/runtime/types/plugin.js.map +1 -1
  2378. package/dist/runtime/types/schedule.d.ts +1385 -97
  2379. package/dist/runtime/types/schedule.d.ts.map +1 -1
  2380. package/dist/runtime/types/schedule.js +120 -27
  2381. package/dist/runtime/types/schedule.js.map +1 -1
  2382. package/dist/runtime/types/trigger.d.ts +6 -6
  2383. package/dist/runtime/visibility/cognitive-replay-index.d.ts +1072 -0
  2384. package/dist/runtime/visibility/cognitive-replay-index.d.ts.map +1 -0
  2385. package/dist/runtime/visibility/cognitive-replay-index.js +226 -0
  2386. package/dist/runtime/visibility/cognitive-replay-index.js.map +1 -0
  2387. package/dist/runtime/visibility/companion-audit-visibility.d.ts +161 -0
  2388. package/dist/runtime/visibility/companion-audit-visibility.d.ts.map +1 -0
  2389. package/dist/runtime/visibility/companion-audit-visibility.js +565 -0
  2390. package/dist/runtime/visibility/companion-audit-visibility.js.map +1 -0
  2391. package/dist/runtime/visibility/index.d.ts +5 -0
  2392. package/dist/runtime/visibility/index.d.ts.map +1 -0
  2393. package/dist/runtime/visibility/index.js +3 -0
  2394. package/dist/runtime/visibility/index.js.map +1 -0
  2395. package/dist/runtime/watchdog.d.ts +9 -1
  2396. package/dist/runtime/watchdog.d.ts.map +1 -1
  2397. package/dist/runtime/watchdog.js +53 -11
  2398. package/dist/runtime/watchdog.js.map +1 -1
  2399. package/dist/tools/automation/InteractiveAutomationTools.d.ts +59 -219
  2400. package/dist/tools/automation/InteractiveAutomationTools.d.ts.map +1 -1
  2401. package/dist/tools/automation/InteractiveAutomationTools.js +5 -117
  2402. package/dist/tools/automation/InteractiveAutomationTools.js.map +1 -1
  2403. package/dist/tools/automation/automation-tool-base.d.ts +37 -0
  2404. package/dist/tools/automation/automation-tool-base.d.ts.map +1 -0
  2405. package/dist/tools/automation/automation-tool-base.js +77 -0
  2406. package/dist/tools/automation/automation-tool-base.js.map +1 -0
  2407. package/dist/tools/automation/interactive-automation-schemas.d.ts +136 -0
  2408. package/dist/tools/automation/interactive-automation-schemas.d.ts.map +1 -0
  2409. package/dist/tools/automation/interactive-automation-schemas.js +54 -0
  2410. package/dist/tools/automation/interactive-automation-schemas.js.map +1 -0
  2411. package/dist/tools/builtin/factory.d.ts +4 -2
  2412. package/dist/tools/builtin/factory.d.ts.map +1 -1
  2413. package/dist/tools/builtin/factory.js +4 -2
  2414. package/dist/tools/builtin/factory.js.map +1 -1
  2415. package/dist/tools/capability-execution-records.d.ts +8 -0
  2416. package/dist/tools/capability-execution-records.d.ts.map +1 -0
  2417. package/dist/tools/capability-execution-records.js +165 -0
  2418. package/dist/tools/capability-execution-records.js.map +1 -0
  2419. package/dist/tools/execution/MemoryCorrectionTool/MemoryCorrectionTool.d.ts +4 -4
  2420. package/dist/tools/execution/MemorySaveTool/MemorySaveTool.d.ts +28 -28
  2421. package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.d.ts +2 -2
  2422. package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.d.ts.map +1 -1
  2423. package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.js +1 -1
  2424. package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.js.map +1 -1
  2425. package/dist/tools/execution/RunAdapterTool/RunAdapterTool.d.ts +2 -2
  2426. package/dist/tools/execution/RunAdapterTool/RunAdapterTool.d.ts.map +1 -1
  2427. package/dist/tools/execution/RunAdapterTool/RunAdapterTool.js +1 -1
  2428. package/dist/tools/execution/RunAdapterTool/RunAdapterTool.js.map +1 -1
  2429. package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.d.ts +2 -2
  2430. package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.d.ts.map +1 -1
  2431. package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.js +1 -1
  2432. package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.js.map +1 -1
  2433. package/dist/tools/execution/SoilImportTool/SoilImportTool.d.ts +8 -8
  2434. package/dist/tools/execution/SoilImportTool/SoilImportTool.js +4 -4
  2435. package/dist/tools/execution/SoilImportTool/SoilImportTool.js.map +1 -1
  2436. package/dist/tools/execution/SoilOpenTool/SoilOpenTool.d.ts +2 -2
  2437. package/dist/tools/execution/SoilOpenTool/SoilOpenTool.d.ts.map +1 -1
  2438. package/dist/tools/execution/SoilOpenTool/SoilOpenTool.js +1 -1
  2439. package/dist/tools/execution/SoilOpenTool/SoilOpenTool.js.map +1 -1
  2440. package/dist/tools/execution/SoilPublishTool/SoilPublishTool.d.ts +2 -2
  2441. package/dist/tools/execution/SoilPublishTool/SoilPublishTool.d.ts.map +1 -1
  2442. package/dist/tools/execution/SoilPublishTool/SoilPublishTool.js +1 -1
  2443. package/dist/tools/execution/SoilPublishTool/SoilPublishTool.js.map +1 -1
  2444. package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.d.ts +2 -2
  2445. package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.d.ts.map +1 -1
  2446. package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.js +1 -1
  2447. package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.js.map +1 -1
  2448. package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.d.ts +3 -2
  2449. package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.d.ts.map +1 -1
  2450. package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.js +3 -2
  2451. package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.js.map +1 -1
  2452. package/dist/tools/execution-orchestrator.d.ts +2 -9
  2453. package/dist/tools/execution-orchestrator.d.ts.map +1 -1
  2454. package/dist/tools/execution-orchestrator.js.map +1 -1
  2455. package/dist/tools/executor.d.ts +2 -0
  2456. package/dist/tools/executor.d.ts.map +1 -1
  2457. package/dist/tools/executor.js +163 -22
  2458. package/dist/tools/executor.js.map +1 -1
  2459. package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.d.ts +2 -2
  2460. package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.d.ts.map +1 -1
  2461. package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.js +1 -1
  2462. package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.js.map +1 -1
  2463. package/dist/tools/fs/FileEditTool/FileEditTool.d.ts +2 -2
  2464. package/dist/tools/fs/FileEditTool/FileEditTool.d.ts.map +1 -1
  2465. package/dist/tools/fs/FileEditTool/FileEditTool.js +1 -1
  2466. package/dist/tools/fs/FileEditTool/FileEditTool.js.map +1 -1
  2467. package/dist/tools/fs/FileWriteTool/FileWriteTool.d.ts +2 -2
  2468. package/dist/tools/fs/FileWriteTool/FileWriteTool.d.ts.map +1 -1
  2469. package/dist/tools/fs/FileWriteTool/FileWriteTool.js +1 -1
  2470. package/dist/tools/fs/FileWriteTool/FileWriteTool.js.map +1 -1
  2471. package/dist/tools/fs/GlobTool/GlobTool.d.ts +2 -2
  2472. package/dist/tools/fs/GlobTool/GlobTool.d.ts.map +1 -1
  2473. package/dist/tools/fs/GlobTool/GlobTool.js +23 -9
  2474. package/dist/tools/fs/GlobTool/GlobTool.js.map +1 -1
  2475. package/dist/tools/fs/GrepTool/GrepTool.d.ts +8 -2
  2476. package/dist/tools/fs/GrepTool/GrepTool.d.ts.map +1 -1
  2477. package/dist/tools/fs/GrepTool/GrepTool.js +53 -7
  2478. package/dist/tools/fs/GrepTool/GrepTool.js.map +1 -1
  2479. package/dist/tools/fs/GrepTool/prompt.d.ts +1 -1
  2480. package/dist/tools/fs/GrepTool/prompt.d.ts.map +1 -1
  2481. package/dist/tools/fs/GrepTool/prompt.js +1 -1
  2482. package/dist/tools/fs/GrepTool/prompt.js.map +1 -1
  2483. package/dist/tools/fs/JsonQueryTool/JsonQueryTool.d.ts +2 -2
  2484. package/dist/tools/fs/JsonQueryTool/JsonQueryTool.d.ts.map +1 -1
  2485. package/dist/tools/fs/JsonQueryTool/JsonQueryTool.js +20 -5
  2486. package/dist/tools/fs/JsonQueryTool/JsonQueryTool.js.map +1 -1
  2487. package/dist/tools/fs/JsonQueryTool/constants.d.ts +1 -0
  2488. package/dist/tools/fs/JsonQueryTool/constants.d.ts.map +1 -1
  2489. package/dist/tools/fs/JsonQueryTool/constants.js +1 -0
  2490. package/dist/tools/fs/JsonQueryTool/constants.js.map +1 -1
  2491. package/dist/tools/fs/ListDirTool/ListDirTool.d.ts +2 -2
  2492. package/dist/tools/fs/ListDirTool/ListDirTool.d.ts.map +1 -1
  2493. package/dist/tools/fs/ListDirTool/ListDirTool.js +7 -4
  2494. package/dist/tools/fs/ListDirTool/ListDirTool.js.map +1 -1
  2495. package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.d.ts +2 -2
  2496. package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.d.ts.map +1 -1
  2497. package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.js +1 -1
  2498. package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.js.map +1 -1
  2499. package/dist/tools/fs/ReadTool/ReadTool.d.ts +2 -2
  2500. package/dist/tools/fs/ReadTool/ReadTool.d.ts.map +1 -1
  2501. package/dist/tools/fs/ReadTool/ReadTool.js +51 -12
  2502. package/dist/tools/fs/ReadTool/ReadTool.js.map +1 -1
  2503. package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.d.ts +2 -2
  2504. package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.d.ts.map +1 -1
  2505. package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.js +1 -2
  2506. package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.js.map +1 -1
  2507. package/dist/tools/interaction/AskHumanTool/AskHumanTool.d.ts +75 -2
  2508. package/dist/tools/interaction/AskHumanTool/AskHumanTool.d.ts.map +1 -1
  2509. package/dist/tools/interaction/AskHumanTool/AskHumanTool.js +55 -6
  2510. package/dist/tools/interaction/AskHumanTool/AskHumanTool.js.map +1 -1
  2511. package/dist/tools/interaction/AskHumanTool/prompt.d.ts +1 -1
  2512. package/dist/tools/interaction/AskHumanTool/prompt.d.ts.map +1 -1
  2513. package/dist/tools/interaction/AskHumanTool/prompt.js +1 -1
  2514. package/dist/tools/interaction/AskHumanTool/prompt.js.map +1 -1
  2515. package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.d.ts +2 -2
  2516. package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.d.ts.map +1 -1
  2517. package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.js +4 -4
  2518. package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.js.map +1 -1
  2519. package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.d.ts +2 -2
  2520. package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.d.ts.map +1 -1
  2521. package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.js +14 -5
  2522. package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.js.map +1 -1
  2523. package/dist/tools/interaction/plan-utils.d.ts +3 -0
  2524. package/dist/tools/interaction/plan-utils.d.ts.map +1 -1
  2525. package/dist/tools/interaction/plan-utils.js +3 -0
  2526. package/dist/tools/interaction/plan-utils.js.map +1 -1
  2527. package/dist/tools/kaggle/KaggleExperimentTools.d.ts +2 -2
  2528. package/dist/tools/kaggle/KaggleExperimentTools.d.ts.map +1 -1
  2529. package/dist/tools/kaggle/KaggleExperimentTools.js +14 -320
  2530. package/dist/tools/kaggle/KaggleExperimentTools.js.map +1 -1
  2531. package/dist/tools/kaggle/KaggleSubmissionTools.d.ts +6 -6
  2532. package/dist/tools/kaggle/KaggleSubmissionTools.d.ts.map +1 -1
  2533. package/dist/tools/kaggle/KaggleSubmissionTools.js +7 -1
  2534. package/dist/tools/kaggle/KaggleSubmissionTools.js.map +1 -1
  2535. package/dist/tools/kaggle/experiment-artifacts.d.ts +16 -0
  2536. package/dist/tools/kaggle/experiment-artifacts.d.ts.map +1 -0
  2537. package/dist/tools/kaggle/experiment-artifacts.js +103 -0
  2538. package/dist/tools/kaggle/experiment-artifacts.js.map +1 -0
  2539. package/dist/tools/kaggle/metrics.d.ts +2 -2
  2540. package/dist/tools/kaggle/metrics.js +3 -1
  2541. package/dist/tools/kaggle/metrics.js.map +1 -1
  2542. package/dist/tools/kaggle/tee-wrapper.d.ts +2 -0
  2543. package/dist/tools/kaggle/tee-wrapper.d.ts.map +1 -0
  2544. package/dist/tools/kaggle/tee-wrapper.js +244 -0
  2545. package/dist/tools/kaggle/tee-wrapper.js.map +1 -0
  2546. package/dist/tools/media/ViewImageTool/ViewImageTool.d.ts +2 -2
  2547. package/dist/tools/media/ViewImageTool/ViewImageTool.d.ts.map +1 -1
  2548. package/dist/tools/media/ViewImageTool/ViewImageTool.js +1 -1
  2549. package/dist/tools/media/ViewImageTool/ViewImageTool.js.map +1 -1
  2550. package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.d.ts +2 -2
  2551. package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.d.ts.map +1 -1
  2552. package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.js +1 -1
  2553. package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.js.map +1 -1
  2554. package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.d.ts +2 -2
  2555. package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.d.ts.map +1 -1
  2556. package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.js +1 -1
  2557. package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.js.map +1 -1
  2558. package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.d.ts +1 -1
  2559. package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.d.ts.map +1 -1
  2560. package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.js +1 -1
  2561. package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.js.map +1 -1
  2562. package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.d.ts +2 -2
  2563. package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.d.ts.map +1 -1
  2564. package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.js +1 -1
  2565. package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.js.map +1 -1
  2566. package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.d.ts +2 -2
  2567. package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.d.ts.map +1 -1
  2568. package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.js +1 -1
  2569. package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.js.map +1 -1
  2570. package/dist/tools/mutation/SetGoalTool/SetGoalTool.d.ts +2 -2
  2571. package/dist/tools/mutation/SetGoalTool/SetGoalTool.d.ts.map +1 -1
  2572. package/dist/tools/mutation/SetGoalTool/SetGoalTool.js +1 -1
  2573. package/dist/tools/mutation/SetGoalTool/SetGoalTool.js.map +1 -1
  2574. package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.d.ts +8 -8
  2575. package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.d.ts.map +1 -1
  2576. package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.js +8 -5
  2577. package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.js.map +1 -1
  2578. package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.d.ts +2 -2
  2579. package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.d.ts.map +1 -1
  2580. package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.js +3 -3
  2581. package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.js.map +1 -1
  2582. package/dist/tools/mutation/TaskStopTool/TaskStopTool.d.ts +2 -2
  2583. package/dist/tools/mutation/TaskStopTool/TaskStopTool.d.ts.map +1 -1
  2584. package/dist/tools/mutation/TaskStopTool/TaskStopTool.js +3 -3
  2585. package/dist/tools/mutation/TaskStopTool/TaskStopTool.js.map +1 -1
  2586. package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.d.ts +8 -8
  2587. package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.d.ts.map +1 -1
  2588. package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.js +10 -7
  2589. package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.js.map +1 -1
  2590. package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.d.ts +2 -2
  2591. package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.d.ts.map +1 -1
  2592. package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.js +1 -1
  2593. package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.js.map +1 -1
  2594. package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.d.ts +2 -2
  2595. package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.d.ts.map +1 -1
  2596. package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.js +1 -1
  2597. package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.js.map +1 -1
  2598. package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.d.ts +2 -2
  2599. package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.d.ts.map +1 -1
  2600. package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.js +1 -1
  2601. package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.js.map +1 -1
  2602. package/dist/tools/mutation/task-history-utils.d.ts.map +1 -1
  2603. package/dist/tools/mutation/task-history-utils.js +4 -7
  2604. package/dist/tools/mutation/task-history-utils.js.map +1 -1
  2605. package/dist/tools/network/GitHubCliTool/GitHubCliTool.d.ts +10 -10
  2606. package/dist/tools/network/GitHubCliTool/GitHubCliTool.d.ts.map +1 -1
  2607. package/dist/tools/network/GitHubCliTool/GitHubCliTool.js +6 -5
  2608. package/dist/tools/network/GitHubCliTool/GitHubCliTool.js.map +1 -1
  2609. package/dist/tools/network/HttpFetchTool/HttpFetchTool.d.ts +2 -2
  2610. package/dist/tools/network/HttpFetchTool/HttpFetchTool.d.ts.map +1 -1
  2611. package/dist/tools/network/HttpFetchTool/HttpFetchTool.js +19 -7
  2612. package/dist/tools/network/HttpFetchTool/HttpFetchTool.js.map +1 -1
  2613. package/dist/tools/network/McpStdioTool/McpStdioTool.d.ts +14 -14
  2614. package/dist/tools/network/McpStdioTool/McpStdioTool.js +1 -1
  2615. package/dist/tools/network/McpStdioTool/McpStdioTool.js.map +1 -1
  2616. package/dist/tools/network/WebSearchTool/WebSearchTool.d.ts +3 -3
  2617. package/dist/tools/network/WebSearchTool/WebSearchTool.d.ts.map +1 -1
  2618. package/dist/tools/network/WebSearchTool/WebSearchTool.js +2 -2
  2619. package/dist/tools/network/WebSearchTool/WebSearchTool.js.map +1 -1
  2620. package/dist/tools/permission-grant-evaluator.d.ts +22 -0
  2621. package/dist/tools/permission-grant-evaluator.d.ts.map +1 -0
  2622. package/dist/tools/permission-grant-evaluator.js +289 -0
  2623. package/dist/tools/permission-grant-evaluator.js.map +1 -0
  2624. package/dist/tools/permission.d.ts.map +1 -1
  2625. package/dist/tools/permission.js +21 -1
  2626. package/dist/tools/permission.js.map +1 -1
  2627. package/dist/tools/query/ArchitectureTool/ArchitectureTool.d.ts +2 -2
  2628. package/dist/tools/query/ArchitectureTool/ArchitectureTool.d.ts.map +1 -1
  2629. package/dist/tools/query/ArchitectureTool/ArchitectureTool.js +1 -1
  2630. package/dist/tools/query/ArchitectureTool/ArchitectureTool.js.map +1 -1
  2631. package/dist/tools/query/CodeReadContextTool/CodeReadContextTool.d.ts +262 -12
  2632. package/dist/tools/query/CodeReadContextTool/CodeReadContextTool.d.ts.map +1 -1
  2633. package/dist/tools/query/CodeReadContextTool/CodeReadContextTool.js +31 -13
  2634. package/dist/tools/query/CodeReadContextTool/CodeReadContextTool.js.map +1 -1
  2635. package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.d.ts +4 -4
  2636. package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.d.ts.map +1 -1
  2637. package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.js +3 -3
  2638. package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.js.map +1 -1
  2639. package/dist/tools/query/CodeSearchTool/CodeSearchTool.d.ts +4 -4
  2640. package/dist/tools/query/CodeSearchTool/CodeSearchTool.d.ts.map +1 -1
  2641. package/dist/tools/query/CodeSearchTool/CodeSearchTool.js +12 -7
  2642. package/dist/tools/query/CodeSearchTool/CodeSearchTool.js.map +1 -1
  2643. package/dist/tools/query/ConfigTool/ConfigTool.d.ts +3 -3
  2644. package/dist/tools/query/ConfigTool/ConfigTool.d.ts.map +1 -1
  2645. package/dist/tools/query/ConfigTool/ConfigTool.js +17 -29
  2646. package/dist/tools/query/ConfigTool/ConfigTool.js.map +1 -1
  2647. package/dist/tools/query/ConfigTool/prompt.d.ts +1 -1
  2648. package/dist/tools/query/ConfigTool/prompt.d.ts.map +1 -1
  2649. package/dist/tools/query/ConfigTool/prompt.js +1 -1
  2650. package/dist/tools/query/ConfigTool/prompt.js.map +1 -1
  2651. package/dist/tools/query/GoalStateTool/GoalStateTool.d.ts +2 -2
  2652. package/dist/tools/query/GoalStateTool/GoalStateTool.d.ts.map +1 -1
  2653. package/dist/tools/query/GoalStateTool/GoalStateTool.js +1 -1
  2654. package/dist/tools/query/GoalStateTool/GoalStateTool.js.map +1 -1
  2655. package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.d.ts +2 -2
  2656. package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.d.ts.map +1 -1
  2657. package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.js +1 -1
  2658. package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.js.map +1 -1
  2659. package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.d.ts +10 -10
  2660. package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.d.ts.map +1 -1
  2661. package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.js +1 -1
  2662. package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.js.map +1 -1
  2663. package/dist/tools/query/PluginStateTool/PluginStateTool.d.ts +2 -2
  2664. package/dist/tools/query/PluginStateTool/PluginStateTool.d.ts.map +1 -1
  2665. package/dist/tools/query/PluginStateTool/PluginStateTool.js +11 -7
  2666. package/dist/tools/query/PluginStateTool/PluginStateTool.js.map +1 -1
  2667. package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.d.ts +2 -2
  2668. package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.d.ts.map +1 -1
  2669. package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.js +1 -1
  2670. package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.js.map +1 -1
  2671. package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.d.ts +8 -3
  2672. package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.d.ts.map +1 -1
  2673. package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.js +29 -53
  2674. package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.js.map +1 -1
  2675. package/dist/tools/query/SkillSearchTool/SkillSearchTool.d.ts +2 -2
  2676. package/dist/tools/query/SkillSearchTool/SkillSearchTool.d.ts.map +1 -1
  2677. package/dist/tools/query/SkillSearchTool/SkillSearchTool.js +1 -1
  2678. package/dist/tools/query/SkillSearchTool/SkillSearchTool.js.map +1 -1
  2679. package/dist/tools/query/SoilQueryTool/SoilQueryTool.d.ts +8 -8
  2680. package/dist/tools/query/TaskGetTool/TaskGetTool.d.ts +2 -2
  2681. package/dist/tools/query/TaskGetTool/TaskGetTool.d.ts.map +1 -1
  2682. package/dist/tools/query/TaskGetTool/TaskGetTool.js +2 -9
  2683. package/dist/tools/query/TaskGetTool/TaskGetTool.js.map +1 -1
  2684. package/dist/tools/query/TaskListTool/TaskListTool.d.ts +2 -2
  2685. package/dist/tools/query/TaskListTool/TaskListTool.d.ts.map +1 -1
  2686. package/dist/tools/query/TaskListTool/TaskListTool.js +2 -22
  2687. package/dist/tools/query/TaskListTool/TaskListTool.js.map +1 -1
  2688. package/dist/tools/query/ToolSearchTool/ToolSearchTool.d.ts +2 -2
  2689. package/dist/tools/query/ToolSearchTool/ToolSearchTool.d.ts.map +1 -1
  2690. package/dist/tools/query/ToolSearchTool/ToolSearchTool.js +2 -1
  2691. package/dist/tools/query/ToolSearchTool/ToolSearchTool.js.map +1 -1
  2692. package/dist/tools/query/TrustStateTool/TrustStateTool.d.ts +6 -3
  2693. package/dist/tools/query/TrustStateTool/TrustStateTool.d.ts.map +1 -1
  2694. package/dist/tools/query/TrustStateTool/TrustStateTool.js +10 -5
  2695. package/dist/tools/query/TrustStateTool/TrustStateTool.js.map +1 -1
  2696. package/dist/tools/query/runtime-dream-review-tool.d.ts +2 -2
  2697. package/dist/tools/query/runtime-dream-review-tool.d.ts.map +1 -1
  2698. package/dist/tools/query/runtime-dream-review-tool.js +1 -1
  2699. package/dist/tools/query/runtime-dream-review-tool.js.map +1 -1
  2700. package/dist/tools/query/runtime-session-tool-schemas.d.ts +211 -0
  2701. package/dist/tools/query/runtime-session-tool-schemas.d.ts.map +1 -0
  2702. package/dist/tools/query/runtime-session-tool-schemas.js +83 -0
  2703. package/dist/tools/query/runtime-session-tool-schemas.js.map +1 -0
  2704. package/dist/tools/query/runtime-session-tools.d.ts +72 -280
  2705. package/dist/tools/query/runtime-session-tools.d.ts.map +1 -1
  2706. package/dist/tools/query/runtime-session-tools.js +87 -294
  2707. package/dist/tools/query/runtime-session-tools.js.map +1 -1
  2708. package/dist/tools/registry.d.ts +1 -1
  2709. package/dist/tools/registry.d.ts.map +1 -1
  2710. package/dist/tools/registry.js +4 -2
  2711. package/dist/tools/registry.js.map +1 -1
  2712. package/dist/tools/runtime/LongRunningRuntimeTools.d.ts +38 -548
  2713. package/dist/tools/runtime/LongRunningRuntimeTools.d.ts.map +1 -1
  2714. package/dist/tools/runtime/LongRunningRuntimeTools.js +29 -226
  2715. package/dist/tools/runtime/LongRunningRuntimeTools.js.map +1 -1
  2716. package/dist/tools/runtime/RunSpecHandoffTools.d.ts.map +1 -1
  2717. package/dist/tools/runtime/RunSpecHandoffTools.js +13 -12
  2718. package/dist/tools/runtime/RunSpecHandoffTools.js.map +1 -1
  2719. package/dist/tools/runtime/SetupRuntimeControlTools.js +28 -16
  2720. package/dist/tools/runtime/SetupRuntimeControlTools.js.map +1 -1
  2721. package/dist/tools/runtime/long-running-report-render.d.ts +5 -0
  2722. package/dist/tools/runtime/long-running-report-render.d.ts.map +1 -0
  2723. package/dist/tools/runtime/long-running-report-render.js +53 -0
  2724. package/dist/tools/runtime/long-running-report-render.js.map +1 -0
  2725. package/dist/tools/runtime/long-running-runtime-paths.d.ts +8 -0
  2726. package/dist/tools/runtime/long-running-runtime-paths.d.ts.map +1 -0
  2727. package/dist/tools/runtime/long-running-runtime-paths.js +77 -0
  2728. package/dist/tools/runtime/long-running-runtime-paths.js.map +1 -0
  2729. package/dist/tools/runtime/long-running-runtime-schemas.d.ts +515 -0
  2730. package/dist/tools/runtime/long-running-runtime-schemas.d.ts.map +1 -0
  2731. package/dist/tools/runtime/long-running-runtime-schemas.js +92 -0
  2732. package/dist/tools/runtime/long-running-runtime-schemas.js.map +1 -0
  2733. package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts +509 -145
  2734. package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts.map +1 -1
  2735. package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.js +14 -14
  2736. package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.js.map +1 -1
  2737. package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.d.ts +2 -2
  2738. package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.d.ts.map +1 -1
  2739. package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.js +1 -1
  2740. package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.js.map +1 -1
  2741. package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.d.ts +6 -6
  2742. package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.d.ts.map +1 -1
  2743. package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.js +1 -1
  2744. package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.js.map +1 -1
  2745. package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.d.ts +2 -2
  2746. package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.d.ts.map +1 -1
  2747. package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.js +1 -1
  2748. package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.js.map +1 -1
  2749. package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.d.ts +2 -2
  2750. package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.d.ts.map +1 -1
  2751. package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.js +1 -1
  2752. package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.js.map +1 -1
  2753. package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.d.ts +2 -2
  2754. package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.d.ts.map +1 -1
  2755. package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.js +1 -1
  2756. package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.js.map +1 -1
  2757. package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.d.ts +2 -2
  2758. package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.d.ts.map +1 -1
  2759. package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.js +1 -1
  2760. package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.js.map +1 -1
  2761. package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts +594 -106
  2762. package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts.map +1 -1
  2763. package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.js +8 -8
  2764. package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.js.map +1 -1
  2765. package/dist/tools/schedule/schedule-tool-input-schemas.d.ts +611 -0
  2766. package/dist/tools/schedule/schedule-tool-input-schemas.d.ts.map +1 -0
  2767. package/dist/tools/schedule/schedule-tool-input-schemas.js +152 -0
  2768. package/dist/tools/schedule/schedule-tool-input-schemas.js.map +1 -0
  2769. package/dist/tools/shared/parse-tool-output.d.ts.map +1 -1
  2770. package/dist/tools/shared/parse-tool-output.js +6 -3
  2771. package/dist/tools/shared/parse-tool-output.js.map +1 -1
  2772. package/dist/tools/system/EnvTool/EnvTool.d.ts +2 -2
  2773. package/dist/tools/system/EnvTool/EnvTool.d.ts.map +1 -1
  2774. package/dist/tools/system/EnvTool/EnvTool.js +1 -1
  2775. package/dist/tools/system/EnvTool/EnvTool.js.map +1 -1
  2776. package/dist/tools/system/GitDiffTool/GitDiffTool.d.ts +6 -6
  2777. package/dist/tools/system/GitDiffTool/GitDiffTool.d.ts.map +1 -1
  2778. package/dist/tools/system/GitDiffTool/GitDiffTool.js +1 -1
  2779. package/dist/tools/system/GitDiffTool/GitDiffTool.js.map +1 -1
  2780. package/dist/tools/system/GitLogTool/GitLogTool.d.ts +2 -2
  2781. package/dist/tools/system/GitLogTool/GitLogTool.d.ts.map +1 -1
  2782. package/dist/tools/system/GitLogTool/GitLogTool.js +4 -2
  2783. package/dist/tools/system/GitLogTool/GitLogTool.js.map +1 -1
  2784. package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.d.ts +17 -14
  2785. package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.d.ts.map +1 -1
  2786. package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.js +43 -54
  2787. package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.js.map +1 -1
  2788. package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.d.ts +3 -3
  2789. package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.d.ts.map +1 -1
  2790. package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.js +43 -10
  2791. package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.js.map +1 -1
  2792. package/dist/tools/system/ShellCommandTool/ShellCommandTool.d.ts +2 -2
  2793. package/dist/tools/system/ShellCommandTool/ShellCommandTool.d.ts.map +1 -1
  2794. package/dist/tools/system/ShellCommandTool/ShellCommandTool.js +3 -3
  2795. package/dist/tools/system/ShellCommandTool/ShellCommandTool.js.map +1 -1
  2796. package/dist/tools/system/ShellTool/ShellTool.d.ts +5 -2
  2797. package/dist/tools/system/ShellTool/ShellTool.d.ts.map +1 -1
  2798. package/dist/tools/system/ShellTool/ShellTool.js +5 -2
  2799. package/dist/tools/system/ShellTool/ShellTool.js.map +1 -1
  2800. package/dist/tools/system/SleepTool/SleepTool.d.ts +2 -2
  2801. package/dist/tools/system/SleepTool/SleepTool.d.ts.map +1 -1
  2802. package/dist/tools/system/SleepTool/SleepTool.js +1 -1
  2803. package/dist/tools/system/SleepTool/SleepTool.js.map +1 -1
  2804. package/dist/tools/system/TestRunnerTool/TestRunnerTool.d.ts +8 -6
  2805. package/dist/tools/system/TestRunnerTool/TestRunnerTool.d.ts.map +1 -1
  2806. package/dist/tools/system/TestRunnerTool/TestRunnerTool.js +59 -44
  2807. package/dist/tools/system/TestRunnerTool/TestRunnerTool.js.map +1 -1
  2808. package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.d.ts +4 -4
  2809. package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.d.ts.map +1 -1
  2810. package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.js +6 -5
  2811. package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.js.map +1 -1
  2812. package/dist/tools/tool-definition-adapter.d.ts.map +1 -1
  2813. package/dist/tools/tool-definition-adapter.js +189 -20
  2814. package/dist/tools/tool-definition-adapter.js.map +1 -1
  2815. package/dist/tools/types.d.ts +98 -7
  2816. package/dist/tools/types.d.ts.map +1 -1
  2817. package/dist/tools/types.js +26 -8
  2818. package/dist/tools/types.js.map +1 -1
  2819. package/package.json +9 -2
  2820. package/dist/base/state/state-lock.d.ts +0 -17
  2821. package/dist/base/state/state-lock.d.ts.map +0 -1
  2822. package/dist/base/state/state-lock.js +0 -134
  2823. package/dist/base/state/state-lock.js.map +0 -1
  2824. package/dist/base/state/state-manager-goal-state.d.ts +0 -40
  2825. package/dist/base/state/state-manager-goal-state.d.ts.map +0 -1
  2826. package/dist/base/state/state-manager-goal-state.js +0 -235
  2827. package/dist/base/state/state-manager-goal-state.js.map +0 -1
  2828. package/dist/base/state/state-manager-goal-write.d.ts +0 -26
  2829. package/dist/base/state/state-manager-goal-write.d.ts.map +0 -1
  2830. package/dist/base/state/state-manager-goal-write.js +0 -116
  2831. package/dist/base/state/state-manager-goal-write.js.map +0 -1
  2832. package/dist/base/state/state-manager-wal.d.ts +0 -11
  2833. package/dist/base/state/state-manager-wal.d.ts.map +0 -1
  2834. package/dist/base/state/state-manager-wal.js +0 -101
  2835. package/dist/base/state/state-manager-wal.js.map +0 -1
  2836. package/dist/base/state/state-wal.d.ts.map +0 -1
  2837. package/dist/base/state/state-wal.js.map +0 -1
  2838. package/dist/interface/chat/freeform-route-classifier.d.ts +0 -21
  2839. package/dist/interface/chat/freeform-route-classifier.d.ts.map +0 -1
  2840. package/dist/interface/chat/freeform-route-classifier.js +0 -43
  2841. package/dist/interface/chat/freeform-route-classifier.js.map +0 -1
  2842. package/dist/orchestrator/ethics-gate.d.ts +0 -3
  2843. package/dist/orchestrator/ethics-gate.d.ts.map +0 -1
  2844. package/dist/orchestrator/ethics-gate.js +0 -2
  2845. package/dist/orchestrator/ethics-gate.js.map +0 -1
  2846. package/dist/orchestrator/loop/core-loop/capability.d.ts +0 -2
  2847. package/dist/orchestrator/loop/core-loop/capability.d.ts.map +0 -1
  2848. package/dist/orchestrator/loop/core-loop/capability.js +0 -2
  2849. package/dist/orchestrator/loop/core-loop/capability.js.map +0 -1
  2850. package/dist/orchestrator/loop/core-loop/contracts.d.ts +0 -2
  2851. package/dist/orchestrator/loop/core-loop/contracts.d.ts.map +0 -1
  2852. package/dist/orchestrator/loop/core-loop/contracts.js +0 -2
  2853. package/dist/orchestrator/loop/core-loop/contracts.js.map +0 -1
  2854. package/dist/orchestrator/loop/core-loop/control.d.ts +0 -2
  2855. package/dist/orchestrator/loop/core-loop/control.d.ts.map +0 -1
  2856. package/dist/orchestrator/loop/core-loop/control.js +0 -2
  2857. package/dist/orchestrator/loop/core-loop/control.js.map +0 -1
  2858. package/dist/orchestrator/loop/core-loop/decision-engine.d.ts +0 -2
  2859. package/dist/orchestrator/loop/core-loop/decision-engine.d.ts.map +0 -1
  2860. package/dist/orchestrator/loop/core-loop/decision-engine.js +0 -2
  2861. package/dist/orchestrator/loop/core-loop/decision-engine.js.map +0 -1
  2862. package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.d.ts +0 -2
  2863. package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.d.ts.map +0 -1
  2864. package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.js +0 -2
  2865. package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.js.map +0 -1
  2866. package/dist/orchestrator/loop/core-loop/evidence-ledger.d.ts +0 -2
  2867. package/dist/orchestrator/loop/core-loop/evidence-ledger.d.ts.map +0 -1
  2868. package/dist/orchestrator/loop/core-loop/evidence-ledger.js +0 -2
  2869. package/dist/orchestrator/loop/core-loop/evidence-ledger.js.map +0 -1
  2870. package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.d.ts +0 -2
  2871. package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.d.ts.map +0 -1
  2872. package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.js +0 -2
  2873. package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.js.map +0 -1
  2874. package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.d.ts +0 -2
  2875. package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.d.ts.map +0 -1
  2876. package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.js +0 -2
  2877. package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.js.map +0 -1
  2878. package/dist/orchestrator/loop/core-loop/iteration-kernel.d.ts +0 -2
  2879. package/dist/orchestrator/loop/core-loop/iteration-kernel.d.ts.map +0 -1
  2880. package/dist/orchestrator/loop/core-loop/iteration-kernel.js +0 -2
  2881. package/dist/orchestrator/loop/core-loop/iteration-kernel.js.map +0 -1
  2882. package/dist/orchestrator/loop/core-loop/learning.d.ts +0 -2
  2883. package/dist/orchestrator/loop/core-loop/learning.d.ts.map +0 -1
  2884. package/dist/orchestrator/loop/core-loop/learning.js +0 -2
  2885. package/dist/orchestrator/loop/core-loop/learning.js.map +0 -1
  2886. package/dist/orchestrator/loop/core-loop/phase-policy.d.ts +0 -2
  2887. package/dist/orchestrator/loop/core-loop/phase-policy.d.ts.map +0 -1
  2888. package/dist/orchestrator/loop/core-loop/phase-policy.js +0 -2
  2889. package/dist/orchestrator/loop/core-loop/phase-policy.js.map +0 -1
  2890. package/dist/orchestrator/loop/core-loop/phase-runtime.d.ts +0 -2
  2891. package/dist/orchestrator/loop/core-loop/phase-runtime.d.ts.map +0 -1
  2892. package/dist/orchestrator/loop/core-loop/phase-runtime.js +0 -2
  2893. package/dist/orchestrator/loop/core-loop/phase-runtime.js.map +0 -1
  2894. package/dist/orchestrator/loop/core-loop/phase-specs.d.ts +0 -2
  2895. package/dist/orchestrator/loop/core-loop/phase-specs.d.ts.map +0 -1
  2896. package/dist/orchestrator/loop/core-loop/phase-specs.js +0 -2
  2897. package/dist/orchestrator/loop/core-loop/phase-specs.js.map +0 -1
  2898. package/dist/orchestrator/loop/core-loop/preparation.d.ts +0 -2
  2899. package/dist/orchestrator/loop/core-loop/preparation.d.ts.map +0 -1
  2900. package/dist/orchestrator/loop/core-loop/preparation.js +0 -2
  2901. package/dist/orchestrator/loop/core-loop/preparation.js.map +0 -1
  2902. package/dist/orchestrator/loop/core-loop/public-research.d.ts +0 -2
  2903. package/dist/orchestrator/loop/core-loop/public-research.d.ts.map +0 -1
  2904. package/dist/orchestrator/loop/core-loop/public-research.js +0 -2
  2905. package/dist/orchestrator/loop/core-loop/public-research.js.map +0 -1
  2906. package/dist/orchestrator/loop/core-loop/task-cycle-stall.d.ts +0 -2
  2907. package/dist/orchestrator/loop/core-loop/task-cycle-stall.d.ts.map +0 -1
  2908. package/dist/orchestrator/loop/core-loop/task-cycle-stall.js +0 -2
  2909. package/dist/orchestrator/loop/core-loop/task-cycle-stall.js.map +0 -1
  2910. package/dist/orchestrator/loop/core-loop/task-cycle-wait.d.ts +0 -2
  2911. package/dist/orchestrator/loop/core-loop/task-cycle-wait.d.ts.map +0 -1
  2912. package/dist/orchestrator/loop/core-loop/task-cycle-wait.js +0 -2
  2913. package/dist/orchestrator/loop/core-loop/task-cycle-wait.js.map +0 -1
  2914. package/dist/orchestrator/loop/core-loop/task-cycle.d.ts +0 -2
  2915. package/dist/orchestrator/loop/core-loop/task-cycle.d.ts.map +0 -1
  2916. package/dist/orchestrator/loop/core-loop/task-cycle.js +0 -2
  2917. package/dist/orchestrator/loop/core-loop/task-cycle.js.map +0 -1
  2918. package/dist/platform/dream/dream-log-store.d.ts +0 -22
  2919. package/dist/platform/dream/dream-log-store.d.ts.map +0 -1
  2920. package/dist/platform/dream/dream-log-store.js +0 -150
  2921. package/dist/platform/dream/dream-log-store.js.map +0 -1
  2922. package/dist/platform/ethics-gate.d.ts +0 -2
  2923. package/dist/platform/ethics-gate.d.ts.map +0 -1
  2924. package/dist/platform/ethics-gate.js +0 -2
  2925. package/dist/platform/ethics-gate.js.map +0 -1
@@ -5,6 +5,8 @@ export declare const RuntimeEvidenceOutcomeSchema: z.ZodEnum<["improved", "regre
5
5
  export type RuntimeEvidenceOutcome = z.infer<typeof RuntimeEvidenceOutcomeSchema>;
6
6
  export declare const RuntimeEvidenceEntryKindSchema: z.ZodEnum<["observation", "strategy", "task_generation", "execution", "verification", "decision", "metric", "evaluator", "research", "dream_checkpoint", "artifact", "failure", "correction", "other"]>;
7
7
  export type RuntimeEvidenceEntryKind = z.infer<typeof RuntimeEvidenceEntryKindSchema>;
8
+ export declare const RuntimeEvidenceScalarValueSchema: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
9
+ export type RuntimeEvidenceScalarValue = z.infer<typeof RuntimeEvidenceScalarValueSchema>;
8
10
  export declare const RuntimeEvidenceArtifactRefSchema: z.ZodObject<{
9
11
  label: z.ZodString;
10
12
  path: z.ZodOptional<z.ZodString>;
@@ -16,7 +18,7 @@ export declare const RuntimeEvidenceArtifactRefSchema: z.ZodObject<{
16
18
  source: z.ZodOptional<z.ZodString>;
17
19
  dependency_refs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18
20
  }, "strict", z.ZodTypeAny, {
19
- kind: "url" | "log" | "diff" | "other" | "metrics" | "report";
21
+ kind: "url" | "diff" | "report" | "metrics" | "other" | "log";
20
22
  label: string;
21
23
  path?: string | undefined;
22
24
  source?: string | undefined;
@@ -29,7 +31,7 @@ export declare const RuntimeEvidenceArtifactRefSchema: z.ZodObject<{
29
31
  label: string;
30
32
  path?: string | undefined;
31
33
  source?: string | undefined;
32
- kind?: "url" | "log" | "diff" | "other" | "metrics" | "report" | undefined;
34
+ kind?: "url" | "diff" | "report" | "metrics" | "other" | "log" | undefined;
33
35
  url?: string | undefined;
34
36
  state_relative_path?: string | undefined;
35
37
  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 +266,7 @@ export declare const RuntimeEvidenceCandidateRecordSchema: z.ZodObject<{
264
266
  source: z.ZodOptional<z.ZodString>;
265
267
  dependency_refs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
266
268
  }, "strict", z.ZodTypeAny, {
267
- kind: "url" | "log" | "diff" | "other" | "metrics" | "report";
269
+ kind: "url" | "diff" | "report" | "metrics" | "other" | "log";
268
270
  label: string;
269
271
  path?: string | undefined;
270
272
  source?: string | undefined;
@@ -277,7 +279,7 @@ export declare const RuntimeEvidenceCandidateRecordSchema: z.ZodObject<{
277
279
  label: string;
278
280
  path?: string | undefined;
279
281
  source?: string | undefined;
280
- kind?: "url" | "log" | "diff" | "other" | "metrics" | "report" | undefined;
282
+ kind?: "url" | "diff" | "report" | "metrics" | "other" | "log" | undefined;
281
283
  url?: string | undefined;
282
284
  state_relative_path?: string | undefined;
283
285
  retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
@@ -316,8 +318,8 @@ export declare const RuntimeEvidenceCandidateRecordSchema: z.ZodObject<{
316
318
  provenance_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
317
319
  summary: z.ZodOptional<z.ZodString>;
318
320
  }, "strict", z.ZodTypeAny, {
319
- weak_dimensions: string[];
320
321
  provenance_refs: string[];
322
+ weak_dimensions: string[];
321
323
  summary?: string | undefined;
322
324
  stability_score?: number | undefined;
323
325
  diversity_score?: number | undefined;
@@ -332,6 +334,7 @@ export declare const RuntimeEvidenceCandidateRecordSchema: z.ZodObject<{
332
334
  seed_score_range?: number | undefined;
333
335
  }, {
334
336
  summary?: string | undefined;
337
+ provenance_refs?: string[] | undefined;
335
338
  weak_dimensions?: string[] | undefined;
336
339
  stability_score?: number | undefined;
337
340
  diversity_score?: number | undefined;
@@ -344,7 +347,6 @@ export declare const RuntimeEvidenceCandidateRecordSchema: z.ZodObject<{
344
347
  score_stddev?: number | undefined;
345
348
  fold_score_range?: number | undefined;
346
349
  seed_score_range?: number | undefined;
347
- provenance_refs?: string[] | undefined;
348
350
  }>>;
349
351
  near_miss: z.ZodOptional<z.ZodObject<{
350
352
  status: z.ZodDefault<z.ZodEnum<["retained", "promoted", "rejected"]>>;
@@ -424,18 +426,6 @@ export declare const RuntimeEvidenceCandidateRecordSchema: z.ZodObject<{
424
426
  signal: "lineage" | "other" | "declared" | "metric_correlation" | "artifact_overlap";
425
427
  summary?: string | undefined;
426
428
  }[];
427
- artifacts: {
428
- kind: "url" | "log" | "diff" | "other" | "metrics" | "report";
429
- label: string;
430
- path?: string | undefined;
431
- source?: string | undefined;
432
- url?: string | undefined;
433
- state_relative_path?: string | undefined;
434
- retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
435
- size_bytes?: number | undefined;
436
- dependency_refs?: string[] | undefined;
437
- }[];
438
- disposition: "retained" | "promoted" | "retired";
439
429
  metrics: {
440
430
  label: string;
441
431
  value?: string | number | boolean | null | undefined;
@@ -446,6 +436,18 @@ export declare const RuntimeEvidenceCandidateRecordSchema: z.ZodObject<{
446
436
  summary?: string | undefined;
447
437
  observed_at?: string | undefined;
448
438
  }[];
439
+ artifacts: {
440
+ kind: "url" | "diff" | "report" | "metrics" | "other" | "log";
441
+ label: string;
442
+ path?: string | undefined;
443
+ source?: string | undefined;
444
+ url?: string | undefined;
445
+ state_relative_path?: string | undefined;
446
+ retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
447
+ size_bytes?: number | undefined;
448
+ dependency_refs?: string[] | undefined;
449
+ }[];
450
+ disposition: "retired" | "retained" | "promoted";
449
451
  label?: string | undefined;
450
452
  near_miss?: {
451
453
  status: "rejected" | "retained" | "promoted";
@@ -463,8 +465,8 @@ export declare const RuntimeEvidenceCandidateRecordSchema: z.ZodObject<{
463
465
  } | undefined;
464
466
  } | undefined;
465
467
  robustness?: {
466
- weak_dimensions: string[];
467
468
  provenance_refs: string[];
469
+ weak_dimensions: string[];
468
470
  summary?: string | undefined;
469
471
  stability_score?: number | undefined;
470
472
  diversity_score?: number | undefined;
@@ -503,18 +505,28 @@ export declare const RuntimeEvidenceCandidateRecordSchema: z.ZodObject<{
503
505
  summary?: string | undefined;
504
506
  signal?: "lineage" | "other" | "declared" | "metric_correlation" | "artifact_overlap" | undefined;
505
507
  }[] | undefined;
508
+ metrics?: {
509
+ label: string;
510
+ value?: string | number | boolean | null | undefined;
511
+ source?: string | undefined;
512
+ unit?: string | undefined;
513
+ confidence?: number | undefined;
514
+ direction?: "neutral" | "maximize" | "minimize" | undefined;
515
+ summary?: string | undefined;
516
+ observed_at?: string | undefined;
517
+ }[] | undefined;
506
518
  artifacts?: {
507
519
  label: string;
508
520
  path?: string | undefined;
509
521
  source?: string | undefined;
510
- kind?: "url" | "log" | "diff" | "other" | "metrics" | "report" | undefined;
522
+ kind?: "url" | "diff" | "report" | "metrics" | "other" | "log" | undefined;
511
523
  url?: string | undefined;
512
524
  state_relative_path?: string | undefined;
513
525
  retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
514
526
  size_bytes?: number | undefined;
515
527
  dependency_refs?: string[] | undefined;
516
528
  }[] | undefined;
517
- disposition?: "retained" | "promoted" | "retired" | undefined;
529
+ disposition?: "retired" | "retained" | "promoted" | undefined;
518
530
  near_miss?: {
519
531
  reason_to_keep: ("close_to_best" | "stability" | "novelty" | "weak_dimension_improvement" | "complementarity" | "ensemble_potential")[];
520
532
  status?: "rejected" | "retained" | "promoted" | undefined;
@@ -530,18 +542,9 @@ export declare const RuntimeEvidenceCandidateRecordSchema: z.ZodObject<{
530
542
  expected_evidence_gain?: string | undefined;
531
543
  } | undefined;
532
544
  } | undefined;
533
- metrics?: {
534
- label: string;
535
- value?: string | number | boolean | null | undefined;
536
- source?: string | undefined;
537
- unit?: string | undefined;
538
- confidence?: number | undefined;
539
- direction?: "neutral" | "maximize" | "minimize" | undefined;
540
- summary?: string | undefined;
541
- observed_at?: string | undefined;
542
- }[] | undefined;
543
545
  robustness?: {
544
546
  summary?: string | undefined;
547
+ provenance_refs?: string[] | undefined;
545
548
  weak_dimensions?: string[] | undefined;
546
549
  stability_score?: number | undefined;
547
550
  diversity_score?: number | undefined;
@@ -554,7 +557,6 @@ export declare const RuntimeEvidenceCandidateRecordSchema: z.ZodObject<{
554
557
  score_stddev?: number | undefined;
555
558
  fold_score_range?: number | undefined;
556
559
  seed_score_range?: number | undefined;
557
- provenance_refs?: string[] | undefined;
558
560
  } | undefined;
559
561
  disposition_reason?: string | undefined;
560
562
  produced_at?: string | undefined;
@@ -652,8 +654,8 @@ export declare const RuntimeEvidenceEvaluatorBudgetSchema: z.ZodObject<{
652
654
  approval_required: boolean;
653
655
  remaining_attempts: number;
654
656
  phase?: "exploration" | "consolidation" | "finalization" | "other" | undefined;
655
- policy_id?: string | undefined;
656
657
  max_attempts?: number | undefined;
658
+ policy_id?: string | undefined;
657
659
  used_attempts?: number | undefined;
658
660
  deadline_at?: string | undefined;
659
661
  portfolio_policy?: {
@@ -665,8 +667,8 @@ export declare const RuntimeEvidenceEvaluatorBudgetSchema: z.ZodObject<{
665
667
  remaining_attempts: number;
666
668
  approval_required?: boolean | undefined;
667
669
  phase?: "exploration" | "consolidation" | "finalization" | "other" | undefined;
668
- policy_id?: string | undefined;
669
670
  max_attempts?: number | undefined;
671
+ policy_id?: string | undefined;
670
672
  used_attempts?: number | undefined;
671
673
  deadline_at?: string | undefined;
672
674
  portfolio_policy?: {
@@ -896,8 +898,8 @@ export declare const RuntimeEvidenceEvaluatorObservationSchema: z.ZodObject<{
896
898
  approval_required: boolean;
897
899
  remaining_attempts: number;
898
900
  phase?: "exploration" | "consolidation" | "finalization" | "other" | undefined;
899
- policy_id?: string | undefined;
900
901
  max_attempts?: number | undefined;
902
+ policy_id?: string | undefined;
901
903
  used_attempts?: number | undefined;
902
904
  deadline_at?: string | undefined;
903
905
  portfolio_policy?: {
@@ -909,8 +911,8 @@ export declare const RuntimeEvidenceEvaluatorObservationSchema: z.ZodObject<{
909
911
  remaining_attempts: number;
910
912
  approval_required?: boolean | undefined;
911
913
  phase?: "exploration" | "consolidation" | "finalization" | "other" | undefined;
912
- policy_id?: string | undefined;
913
914
  max_attempts?: number | undefined;
915
+ policy_id?: string | undefined;
914
916
  used_attempts?: number | undefined;
915
917
  deadline_at?: string | undefined;
916
918
  portfolio_policy?: {
@@ -1039,7 +1041,7 @@ export declare const RuntimeEvidenceEvaluatorObservationSchema: z.ZodObject<{
1039
1041
  }>>;
1040
1042
  summary: z.ZodOptional<z.ZodString>;
1041
1043
  }, "strict", z.ZodTypeAny, {
1042
- status: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded";
1044
+ status: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "succeeded" | "submitted";
1043
1045
  source: string;
1044
1046
  candidate_id: string;
1045
1047
  signal: "external" | "local";
@@ -1066,8 +1068,8 @@ export declare const RuntimeEvidenceEvaluatorObservationSchema: z.ZodObject<{
1066
1068
  approval_required: boolean;
1067
1069
  remaining_attempts: number;
1068
1070
  phase?: "exploration" | "consolidation" | "finalization" | "other" | undefined;
1069
- policy_id?: string | undefined;
1070
1071
  max_attempts?: number | undefined;
1072
+ policy_id?: string | undefined;
1071
1073
  used_attempts?: number | undefined;
1072
1074
  deadline_at?: string | undefined;
1073
1075
  portfolio_policy?: {
@@ -1080,7 +1082,7 @@ export declare const RuntimeEvidenceEvaluatorObservationSchema: z.ZodObject<{
1080
1082
  artifact_labels?: string[] | undefined;
1081
1083
  score_label?: string | undefined;
1082
1084
  expected_score?: string | number | boolean | null | undefined;
1083
- expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
1085
+ expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "succeeded" | "submitted" | undefined;
1084
1086
  expectation_source?: string | undefined;
1085
1087
  publish_action?: {
1086
1088
  label: string;
@@ -1130,7 +1132,7 @@ export declare const RuntimeEvidenceEvaluatorObservationSchema: z.ZodObject<{
1130
1132
  summary?: string | undefined;
1131
1133
  command?: string | undefined;
1132
1134
  } | undefined;
1133
- status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
1135
+ status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "succeeded" | "submitted" | undefined;
1134
1136
  direction?: "neutral" | "maximize" | "minimize" | undefined;
1135
1137
  summary?: string | undefined;
1136
1138
  score?: string | number | boolean | null | undefined;
@@ -1148,8 +1150,8 @@ export declare const RuntimeEvidenceEvaluatorObservationSchema: z.ZodObject<{
1148
1150
  remaining_attempts: number;
1149
1151
  approval_required?: boolean | undefined;
1150
1152
  phase?: "exploration" | "consolidation" | "finalization" | "other" | undefined;
1151
- policy_id?: string | undefined;
1152
1153
  max_attempts?: number | undefined;
1154
+ policy_id?: string | undefined;
1153
1155
  used_attempts?: number | undefined;
1154
1156
  deadline_at?: string | undefined;
1155
1157
  portfolio_policy?: {
@@ -1162,7 +1164,7 @@ export declare const RuntimeEvidenceEvaluatorObservationSchema: z.ZodObject<{
1162
1164
  artifact_labels?: string[] | undefined;
1163
1165
  score_label?: string | undefined;
1164
1166
  expected_score?: string | number | boolean | null | undefined;
1165
- expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
1167
+ expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "succeeded" | "submitted" | undefined;
1166
1168
  expectation_source?: string | undefined;
1167
1169
  publish_action?: {
1168
1170
  label: string;
@@ -1211,16 +1213,16 @@ export declare const RuntimeEvidenceResearchSourceSchema: z.ZodObject<{
1211
1213
  provenance: z.ZodDefault<z.ZodEnum<["quoted", "paraphrased", "summarized"]>>;
1212
1214
  relevance: z.ZodOptional<z.ZodString>;
1213
1215
  }, "strict", z.ZodTypeAny, {
1216
+ provenance: "quoted" | "paraphrased" | "summarized";
1214
1217
  url: string;
1215
1218
  source_type: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup";
1216
- provenance: "quoted" | "paraphrased" | "summarized";
1217
1219
  title?: string | undefined;
1218
1220
  relevance?: string | undefined;
1219
1221
  }, {
1220
1222
  url: string;
1221
1223
  title?: string | undefined;
1222
- source_type?: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup" | undefined;
1223
1224
  provenance?: "quoted" | "paraphrased" | "summarized" | undefined;
1225
+ source_type?: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup" | undefined;
1224
1226
  relevance?: string | undefined;
1225
1227
  }>;
1226
1228
  export type RuntimeEvidenceResearchSource = z.infer<typeof RuntimeEvidenceResearchSourceSchema>;
@@ -1290,16 +1292,16 @@ export declare const RuntimeEvidenceResearchMemoSchema: z.ZodObject<{
1290
1292
  provenance: z.ZodDefault<z.ZodEnum<["quoted", "paraphrased", "summarized"]>>;
1291
1293
  relevance: z.ZodOptional<z.ZodString>;
1292
1294
  }, "strict", z.ZodTypeAny, {
1295
+ provenance: "quoted" | "paraphrased" | "summarized";
1293
1296
  url: string;
1294
1297
  source_type: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup";
1295
- provenance: "quoted" | "paraphrased" | "summarized";
1296
1298
  title?: string | undefined;
1297
1299
  relevance?: string | undefined;
1298
1300
  }, {
1299
1301
  url: string;
1300
1302
  title?: string | undefined;
1301
- source_type?: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup" | undefined;
1302
1303
  provenance?: "quoted" | "paraphrased" | "summarized" | undefined;
1304
+ source_type?: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup" | undefined;
1303
1305
  relevance?: string | undefined;
1304
1306
  }>, "many">;
1305
1307
  findings: z.ZodArray<z.ZodObject<{
@@ -1380,9 +1382,9 @@ export declare const RuntimeEvidenceResearchMemoSchema: z.ZodObject<{
1380
1382
  trigger: "plateau" | "uncertainty" | "knowledge_gap";
1381
1383
  summary: string;
1382
1384
  sources: {
1385
+ provenance: "quoted" | "paraphrased" | "summarized";
1383
1386
  url: string;
1384
1387
  source_type: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup";
1385
- provenance: "quoted" | "paraphrased" | "summarized";
1386
1388
  title?: string | undefined;
1387
1389
  relevance?: string | undefined;
1388
1390
  }[];
@@ -1411,8 +1413,8 @@ export declare const RuntimeEvidenceResearchMemoSchema: z.ZodObject<{
1411
1413
  sources: {
1412
1414
  url: string;
1413
1415
  title?: string | undefined;
1414
- source_type?: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup" | undefined;
1415
1416
  provenance?: "quoted" | "paraphrased" | "summarized" | undefined;
1417
+ source_type?: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup" | undefined;
1416
1418
  relevance?: string | undefined;
1417
1419
  }[];
1418
1420
  query: string;
@@ -1485,8 +1487,8 @@ export declare const RuntimeEvidenceDreamCheckpointMemoryRefSchema: z.ZodObject<
1485
1487
  source_ref?: string | undefined;
1486
1488
  }, {
1487
1489
  reliability?: number | undefined;
1488
- source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
1489
1490
  source_ref?: string | undefined;
1491
+ source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
1490
1492
  raw_refs?: string[] | undefined;
1491
1493
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
1492
1494
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
@@ -1554,18 +1556,17 @@ export declare const RuntimeEvidenceDreamCheckpointMemoryRefSchema: z.ZodObject<
1554
1556
  }, "strict", z.ZodTypeAny, {
1555
1557
  reason: string;
1556
1558
  score: number;
1557
- decision: "rejected" | "admitted";
1559
+ decision: "admitted" | "rejected";
1558
1560
  }, {
1559
1561
  reason: string;
1560
1562
  score: number;
1561
- decision: "rejected" | "admitted";
1563
+ decision: "admitted" | "rejected";
1562
1564
  }>>;
1563
1565
  }, "strict", z.ZodTypeAny, {
1564
1566
  summary: string;
1565
- source_type: "other" | "soil" | "playbook" | "runtime_evidence";
1566
1567
  authority: "advisory_only";
1568
+ source_type: "soil" | "runtime_evidence" | "other" | "playbook";
1567
1569
  ref?: string | undefined;
1568
- recency_score?: number | undefined;
1569
1570
  provenance?: {
1570
1571
  source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
1571
1572
  raw_refs: string[];
@@ -1574,8 +1575,9 @@ export declare const RuntimeEvidenceDreamCheckpointMemoryRefSchema: z.ZodObject<
1574
1575
  reliability?: number | undefined;
1575
1576
  source_ref?: string | undefined;
1576
1577
  } | undefined;
1577
- relevance_score?: number | undefined;
1578
1578
  source_reliability?: number | undefined;
1579
+ recency_score?: number | undefined;
1580
+ relevance_score?: number | undefined;
1579
1581
  prior_success_contribution?: number | undefined;
1580
1582
  retrieval?: {
1581
1583
  kind: "unknown" | "manual" | "checkpoint" | "route_hit" | "fallback_hit";
@@ -1591,7 +1593,7 @@ export declare const RuntimeEvidenceDreamCheckpointMemoryRefSchema: z.ZodObject<
1591
1593
  ranking_trace?: {
1592
1594
  reason: string;
1593
1595
  score: number;
1594
- decision: "rejected" | "admitted";
1596
+ decision: "admitted" | "rejected";
1595
1597
  } | undefined;
1596
1598
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
1597
1599
  quarantine_state?: {
@@ -1605,20 +1607,20 @@ export declare const RuntimeEvidenceDreamCheckpointMemoryRefSchema: z.ZodObject<
1605
1607
  } | undefined;
1606
1608
  }, {
1607
1609
  summary: string;
1608
- source_type: "other" | "soil" | "playbook" | "runtime_evidence";
1610
+ source_type: "soil" | "runtime_evidence" | "other" | "playbook";
1609
1611
  ref?: string | undefined;
1610
- recency_score?: number | undefined;
1611
1612
  provenance?: {
1612
1613
  reliability?: number | undefined;
1613
- source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
1614
1614
  source_ref?: string | undefined;
1615
+ source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
1615
1616
  raw_refs?: string[] | undefined;
1616
1617
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
1617
1618
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
1618
1619
  } | undefined;
1619
1620
  authority?: "advisory_only" | undefined;
1620
- relevance_score?: number | undefined;
1621
1621
  source_reliability?: number | undefined;
1622
+ recency_score?: number | undefined;
1623
+ relevance_score?: number | undefined;
1622
1624
  prior_success_contribution?: number | undefined;
1623
1625
  retrieval?: {
1624
1626
  confidence?: number | undefined;
@@ -1634,7 +1636,7 @@ export declare const RuntimeEvidenceDreamCheckpointMemoryRefSchema: z.ZodObject<
1634
1636
  ranking_trace?: {
1635
1637
  reason: string;
1636
1638
  score: number;
1637
- decision: "rejected" | "admitted";
1639
+ decision: "admitted" | "rejected";
1638
1640
  } | undefined;
1639
1641
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
1640
1642
  quarantine_state?: {
@@ -1655,6 +1657,7 @@ export declare const RuntimeEvidenceDreamCheckpointStrategyCandidateSchema: z.Zo
1655
1657
  target_dimensions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1656
1658
  expected_evidence_gain: z.ZodOptional<z.ZodString>;
1657
1659
  retry_reason: z.ZodOptional<z.ZodString>;
1660
+ failed_lineage_fingerprints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1658
1661
  failed_lineage_warning: z.ZodOptional<z.ZodObject<{
1659
1662
  fingerprint: z.ZodString;
1660
1663
  count: z.ZodNumber;
@@ -1672,6 +1675,8 @@ export declare const RuntimeEvidenceDreamCheckpointStrategyCandidateSchema: z.Zo
1672
1675
  rationale: string;
1673
1676
  title: string;
1674
1677
  target_dimensions: string[];
1678
+ failed_lineage_fingerprints?: string[] | undefined;
1679
+ candidate_ref?: string | undefined;
1675
1680
  expected_evidence_gain?: string | undefined;
1676
1681
  retry_reason?: string | undefined;
1677
1682
  failed_lineage_warning?: {
@@ -1679,11 +1684,12 @@ export declare const RuntimeEvidenceDreamCheckpointStrategyCandidateSchema: z.Zo
1679
1684
  count: number;
1680
1685
  fingerprint: string;
1681
1686
  } | undefined;
1682
- candidate_ref?: string | undefined;
1683
1687
  }, {
1684
1688
  rationale: string;
1685
1689
  title: string;
1686
1690
  target_dimensions?: string[] | undefined;
1691
+ failed_lineage_fingerprints?: string[] | undefined;
1692
+ candidate_ref?: string | undefined;
1687
1693
  expected_evidence_gain?: string | undefined;
1688
1694
  retry_reason?: string | undefined;
1689
1695
  failed_lineage_warning?: {
@@ -1691,7 +1697,6 @@ export declare const RuntimeEvidenceDreamCheckpointStrategyCandidateSchema: z.Zo
1691
1697
  count: number;
1692
1698
  fingerprint: string;
1693
1699
  } | undefined;
1694
- candidate_ref?: string | undefined;
1695
1700
  }>;
1696
1701
  export type RuntimeEvidenceDreamCheckpointStrategyCandidate = z.infer<typeof RuntimeEvidenceDreamCheckpointStrategyCandidateSchema>;
1697
1702
  export declare const RuntimeEvidenceDreamCheckpointActiveHypothesisSchema: z.ZodObject<{
@@ -1726,15 +1731,15 @@ export declare const RuntimeEvidenceDreamCheckpointRejectedApproachSchema: z.Zod
1726
1731
  approach: string;
1727
1732
  rejection_reason: string;
1728
1733
  evidence_ref?: string | undefined;
1729
- revisit_condition?: string | undefined;
1730
1734
  candidate_ref?: string | undefined;
1735
+ revisit_condition?: string | undefined;
1731
1736
  }, {
1732
1737
  approach: string;
1733
1738
  rejection_reason: string;
1734
1739
  confidence?: number | undefined;
1735
1740
  evidence_ref?: string | undefined;
1736
- revisit_condition?: string | undefined;
1737
1741
  candidate_ref?: string | undefined;
1742
+ revisit_condition?: string | undefined;
1738
1743
  }>;
1739
1744
  export type RuntimeEvidenceDreamCheckpointRejectedApproach = z.infer<typeof RuntimeEvidenceDreamCheckpointRejectedApproachSchema>;
1740
1745
  export declare const RuntimeEvidenceDreamRunControlRecommendationSchema: z.ZodObject<{
@@ -1746,11 +1751,11 @@ export declare const RuntimeEvidenceDreamRunControlRecommendationSchema: z.ZodOb
1746
1751
  ref: z.ZodOptional<z.ZodString>;
1747
1752
  summary: z.ZodString;
1748
1753
  }, "strict", z.ZodTypeAny, {
1749
- kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
1754
+ kind: "deadline" | "metric" | "lineage" | "runtime_state" | "memory" | "task_history" | "artifact" | "external_feedback";
1750
1755
  summary: string;
1751
1756
  ref?: string | undefined;
1752
1757
  }, {
1753
- kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
1758
+ kind: "deadline" | "metric" | "lineage" | "runtime_state" | "memory" | "task_history" | "artifact" | "external_feedback";
1754
1759
  summary: string;
1755
1760
  ref?: string | undefined;
1756
1761
  }>, "many">;
@@ -1766,17 +1771,17 @@ export declare const RuntimeEvidenceDreamRunControlRecommendationSchema: z.ZodOb
1766
1771
  reason: z.ZodString;
1767
1772
  }, "strict", z.ZodTypeAny, {
1768
1773
  reason: string;
1769
- disposition: "approval_required" | "advisory_only" | "auto_apply";
1774
+ disposition: "approval_required" | "auto_apply" | "advisory_only";
1770
1775
  }, {
1771
1776
  reason: string;
1772
- disposition: "approval_required" | "advisory_only" | "auto_apply";
1777
+ disposition: "approval_required" | "auto_apply" | "advisory_only";
1773
1778
  }>>;
1774
1779
  }, "strict", z.ZodTypeAny, {
1775
1780
  confidence: number;
1776
1781
  rationale: string;
1777
1782
  approval_required: boolean;
1778
1783
  evidence: {
1779
- kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
1784
+ kind: "deadline" | "metric" | "lineage" | "runtime_state" | "memory" | "task_history" | "artifact" | "external_feedback";
1780
1785
  summary: string;
1781
1786
  ref?: string | undefined;
1782
1787
  }[];
@@ -1789,12 +1794,12 @@ export declare const RuntimeEvidenceDreamRunControlRecommendationSchema: z.ZodOb
1789
1794
  target_strategy_family?: string | undefined;
1790
1795
  policy_decision?: {
1791
1796
  reason: string;
1792
- disposition: "approval_required" | "advisory_only" | "auto_apply";
1797
+ disposition: "approval_required" | "auto_apply" | "advisory_only";
1793
1798
  } | undefined;
1794
1799
  }, {
1795
1800
  rationale: string;
1796
1801
  evidence: {
1797
- kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
1802
+ kind: "deadline" | "metric" | "lineage" | "runtime_state" | "memory" | "task_history" | "artifact" | "external_feedback";
1798
1803
  summary: string;
1799
1804
  ref?: string | undefined;
1800
1805
  }[];
@@ -1809,7 +1814,7 @@ export declare const RuntimeEvidenceDreamRunControlRecommendationSchema: z.ZodOb
1809
1814
  lineage_refs?: string[] | undefined;
1810
1815
  policy_decision?: {
1811
1816
  reason: string;
1812
- disposition: "approval_required" | "advisory_only" | "auto_apply";
1817
+ disposition: "approval_required" | "auto_apply" | "advisory_only";
1813
1818
  } | undefined;
1814
1819
  }>;
1815
1820
  export type RuntimeEvidenceDreamRunControlRecommendation = z.infer<typeof RuntimeEvidenceDreamRunControlRecommendationSchema>;
@@ -1846,8 +1851,8 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
1846
1851
  source_ref?: string | undefined;
1847
1852
  }, {
1848
1853
  reliability?: number | undefined;
1849
- source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
1850
1854
  source_ref?: string | undefined;
1855
+ source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
1851
1856
  raw_refs?: string[] | undefined;
1852
1857
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
1853
1858
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
@@ -1915,18 +1920,17 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
1915
1920
  }, "strict", z.ZodTypeAny, {
1916
1921
  reason: string;
1917
1922
  score: number;
1918
- decision: "rejected" | "admitted";
1923
+ decision: "admitted" | "rejected";
1919
1924
  }, {
1920
1925
  reason: string;
1921
1926
  score: number;
1922
- decision: "rejected" | "admitted";
1927
+ decision: "admitted" | "rejected";
1923
1928
  }>>;
1924
1929
  }, "strict", z.ZodTypeAny, {
1925
1930
  summary: string;
1926
- source_type: "other" | "soil" | "playbook" | "runtime_evidence";
1927
1931
  authority: "advisory_only";
1932
+ source_type: "soil" | "runtime_evidence" | "other" | "playbook";
1928
1933
  ref?: string | undefined;
1929
- recency_score?: number | undefined;
1930
1934
  provenance?: {
1931
1935
  source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
1932
1936
  raw_refs: string[];
@@ -1935,8 +1939,9 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
1935
1939
  reliability?: number | undefined;
1936
1940
  source_ref?: string | undefined;
1937
1941
  } | undefined;
1938
- relevance_score?: number | undefined;
1939
1942
  source_reliability?: number | undefined;
1943
+ recency_score?: number | undefined;
1944
+ relevance_score?: number | undefined;
1940
1945
  prior_success_contribution?: number | undefined;
1941
1946
  retrieval?: {
1942
1947
  kind: "unknown" | "manual" | "checkpoint" | "route_hit" | "fallback_hit";
@@ -1952,7 +1957,7 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
1952
1957
  ranking_trace?: {
1953
1958
  reason: string;
1954
1959
  score: number;
1955
- decision: "rejected" | "admitted";
1960
+ decision: "admitted" | "rejected";
1956
1961
  } | undefined;
1957
1962
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
1958
1963
  quarantine_state?: {
@@ -1966,20 +1971,20 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
1966
1971
  } | undefined;
1967
1972
  }, {
1968
1973
  summary: string;
1969
- source_type: "other" | "soil" | "playbook" | "runtime_evidence";
1974
+ source_type: "soil" | "runtime_evidence" | "other" | "playbook";
1970
1975
  ref?: string | undefined;
1971
- recency_score?: number | undefined;
1972
1976
  provenance?: {
1973
1977
  reliability?: number | undefined;
1974
- source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
1975
1978
  source_ref?: string | undefined;
1979
+ source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
1976
1980
  raw_refs?: string[] | undefined;
1977
1981
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
1978
1982
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
1979
1983
  } | undefined;
1980
1984
  authority?: "advisory_only" | undefined;
1981
- relevance_score?: number | undefined;
1982
1985
  source_reliability?: number | undefined;
1986
+ recency_score?: number | undefined;
1987
+ relevance_score?: number | undefined;
1983
1988
  prior_success_contribution?: number | undefined;
1984
1989
  retrieval?: {
1985
1990
  confidence?: number | undefined;
@@ -1995,7 +2000,7 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
1995
2000
  ranking_trace?: {
1996
2001
  reason: string;
1997
2002
  score: number;
1998
- decision: "rejected" | "admitted";
2003
+ decision: "admitted" | "rejected";
1999
2004
  } | undefined;
2000
2005
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
2001
2006
  quarantine_state?: {
@@ -2039,15 +2044,15 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2039
2044
  approach: string;
2040
2045
  rejection_reason: string;
2041
2046
  evidence_ref?: string | undefined;
2042
- revisit_condition?: string | undefined;
2043
2047
  candidate_ref?: string | undefined;
2048
+ revisit_condition?: string | undefined;
2044
2049
  }, {
2045
2050
  approach: string;
2046
2051
  rejection_reason: string;
2047
2052
  confidence?: number | undefined;
2048
2053
  evidence_ref?: string | undefined;
2049
- revisit_condition?: string | undefined;
2050
2054
  candidate_ref?: string | undefined;
2055
+ revisit_condition?: string | undefined;
2051
2056
  }>, "many">>;
2052
2057
  next_strategy_candidates: z.ZodDefault<z.ZodArray<z.ZodObject<{
2053
2058
  candidate_ref: z.ZodOptional<z.ZodString>;
@@ -2056,6 +2061,7 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2056
2061
  target_dimensions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2057
2062
  expected_evidence_gain: z.ZodOptional<z.ZodString>;
2058
2063
  retry_reason: z.ZodOptional<z.ZodString>;
2064
+ failed_lineage_fingerprints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2059
2065
  failed_lineage_warning: z.ZodOptional<z.ZodObject<{
2060
2066
  fingerprint: z.ZodString;
2061
2067
  count: z.ZodNumber;
@@ -2073,6 +2079,8 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2073
2079
  rationale: string;
2074
2080
  title: string;
2075
2081
  target_dimensions: string[];
2082
+ failed_lineage_fingerprints?: string[] | undefined;
2083
+ candidate_ref?: string | undefined;
2076
2084
  expected_evidence_gain?: string | undefined;
2077
2085
  retry_reason?: string | undefined;
2078
2086
  failed_lineage_warning?: {
@@ -2080,11 +2088,12 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2080
2088
  count: number;
2081
2089
  fingerprint: string;
2082
2090
  } | undefined;
2083
- candidate_ref?: string | undefined;
2084
2091
  }, {
2085
2092
  rationale: string;
2086
2093
  title: string;
2087
2094
  target_dimensions?: string[] | undefined;
2095
+ failed_lineage_fingerprints?: string[] | undefined;
2096
+ candidate_ref?: string | undefined;
2088
2097
  expected_evidence_gain?: string | undefined;
2089
2098
  retry_reason?: string | undefined;
2090
2099
  failed_lineage_warning?: {
@@ -2092,7 +2101,6 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2092
2101
  count: number;
2093
2102
  fingerprint: string;
2094
2103
  } | undefined;
2095
- candidate_ref?: string | undefined;
2096
2104
  }>, "many">>;
2097
2105
  run_control_recommendations: z.ZodOptional<z.ZodArray<z.ZodObject<{
2098
2106
  id: z.ZodOptional<z.ZodString>;
@@ -2103,11 +2111,11 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2103
2111
  ref: z.ZodOptional<z.ZodString>;
2104
2112
  summary: z.ZodString;
2105
2113
  }, "strict", z.ZodTypeAny, {
2106
- kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
2114
+ kind: "deadline" | "metric" | "lineage" | "runtime_state" | "memory" | "task_history" | "artifact" | "external_feedback";
2107
2115
  summary: string;
2108
2116
  ref?: string | undefined;
2109
2117
  }, {
2110
- kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
2118
+ kind: "deadline" | "metric" | "lineage" | "runtime_state" | "memory" | "task_history" | "artifact" | "external_feedback";
2111
2119
  summary: string;
2112
2120
  ref?: string | undefined;
2113
2121
  }>, "many">;
@@ -2123,17 +2131,17 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2123
2131
  reason: z.ZodString;
2124
2132
  }, "strict", z.ZodTypeAny, {
2125
2133
  reason: string;
2126
- disposition: "approval_required" | "advisory_only" | "auto_apply";
2134
+ disposition: "approval_required" | "auto_apply" | "advisory_only";
2127
2135
  }, {
2128
2136
  reason: string;
2129
- disposition: "approval_required" | "advisory_only" | "auto_apply";
2137
+ disposition: "approval_required" | "auto_apply" | "advisory_only";
2130
2138
  }>>;
2131
2139
  }, "strict", z.ZodTypeAny, {
2132
2140
  confidence: number;
2133
2141
  rationale: string;
2134
2142
  approval_required: boolean;
2135
2143
  evidence: {
2136
- kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
2144
+ kind: "deadline" | "metric" | "lineage" | "runtime_state" | "memory" | "task_history" | "artifact" | "external_feedback";
2137
2145
  summary: string;
2138
2146
  ref?: string | undefined;
2139
2147
  }[];
@@ -2146,12 +2154,12 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2146
2154
  target_strategy_family?: string | undefined;
2147
2155
  policy_decision?: {
2148
2156
  reason: string;
2149
- disposition: "approval_required" | "advisory_only" | "auto_apply";
2157
+ disposition: "approval_required" | "auto_apply" | "advisory_only";
2150
2158
  } | undefined;
2151
2159
  }, {
2152
2160
  rationale: string;
2153
2161
  evidence: {
2154
- kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
2162
+ kind: "deadline" | "metric" | "lineage" | "runtime_state" | "memory" | "task_history" | "artifact" | "external_feedback";
2155
2163
  summary: string;
2156
2164
  ref?: string | undefined;
2157
2165
  }[];
@@ -2166,7 +2174,7 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2166
2174
  lineage_refs?: string[] | undefined;
2167
2175
  policy_decision?: {
2168
2176
  reason: string;
2169
- disposition: "approval_required" | "advisory_only" | "auto_apply";
2177
+ disposition: "approval_required" | "auto_apply" | "advisory_only";
2170
2178
  } | undefined;
2171
2179
  }>, "many">>;
2172
2180
  guidance: z.ZodString;
@@ -2177,18 +2185,17 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2177
2185
  confidence: number;
2178
2186
  trigger: "iteration" | "breakthrough" | "plateau" | "pre_finalization";
2179
2187
  summary: string;
2188
+ exhausted: string[];
2180
2189
  uncertainty: string[];
2181
2190
  current_goal: string;
2182
2191
  active_dimensions: string[];
2183
2192
  recent_strategy_families: string[];
2184
- exhausted: string[];
2185
2193
  promising: string[];
2186
2194
  relevant_memories: {
2187
2195
  summary: string;
2188
- source_type: "other" | "soil" | "playbook" | "runtime_evidence";
2189
2196
  authority: "advisory_only";
2197
+ source_type: "soil" | "runtime_evidence" | "other" | "playbook";
2190
2198
  ref?: string | undefined;
2191
- recency_score?: number | undefined;
2192
2199
  provenance?: {
2193
2200
  source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
2194
2201
  raw_refs: string[];
@@ -2197,8 +2204,9 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2197
2204
  reliability?: number | undefined;
2198
2205
  source_ref?: string | undefined;
2199
2206
  } | undefined;
2200
- relevance_score?: number | undefined;
2201
2207
  source_reliability?: number | undefined;
2208
+ recency_score?: number | undefined;
2209
+ relevance_score?: number | undefined;
2202
2210
  prior_success_contribution?: number | undefined;
2203
2211
  retrieval?: {
2204
2212
  kind: "unknown" | "manual" | "checkpoint" | "route_hit" | "fallback_hit";
@@ -2214,7 +2222,7 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2214
2222
  ranking_trace?: {
2215
2223
  reason: string;
2216
2224
  score: number;
2217
- decision: "rejected" | "admitted";
2225
+ decision: "admitted" | "rejected";
2218
2226
  } | undefined;
2219
2227
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
2220
2228
  quarantine_state?: {
@@ -2239,13 +2247,15 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2239
2247
  approach: string;
2240
2248
  rejection_reason: string;
2241
2249
  evidence_ref?: string | undefined;
2242
- revisit_condition?: string | undefined;
2243
2250
  candidate_ref?: string | undefined;
2251
+ revisit_condition?: string | undefined;
2244
2252
  }[];
2245
2253
  next_strategy_candidates: {
2246
2254
  rationale: string;
2247
2255
  title: string;
2248
2256
  target_dimensions: string[];
2257
+ failed_lineage_fingerprints?: string[] | undefined;
2258
+ candidate_ref?: string | undefined;
2249
2259
  expected_evidence_gain?: string | undefined;
2250
2260
  retry_reason?: string | undefined;
2251
2261
  failed_lineage_warning?: {
@@ -2253,7 +2263,6 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2253
2263
  count: number;
2254
2264
  fingerprint: string;
2255
2265
  } | undefined;
2256
- candidate_ref?: string | undefined;
2257
2266
  }[];
2258
2267
  guidance: string;
2259
2268
  context_authority: "advisory_only";
@@ -2263,7 +2272,7 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2263
2272
  rationale: string;
2264
2273
  approval_required: boolean;
2265
2274
  evidence: {
2266
- kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
2275
+ kind: "deadline" | "metric" | "lineage" | "runtime_state" | "memory" | "task_history" | "artifact" | "external_feedback";
2267
2276
  summary: string;
2268
2277
  ref?: string | undefined;
2269
2278
  }[];
@@ -2276,7 +2285,7 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2276
2285
  target_strategy_family?: string | undefined;
2277
2286
  policy_decision?: {
2278
2287
  reason: string;
2279
- disposition: "approval_required" | "advisory_only" | "auto_apply";
2288
+ disposition: "approval_required" | "auto_apply" | "advisory_only";
2280
2289
  } | undefined;
2281
2290
  }[] | undefined;
2282
2291
  }, {
@@ -2285,28 +2294,28 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2285
2294
  current_goal: string;
2286
2295
  guidance: string;
2287
2296
  confidence?: number | undefined;
2297
+ exhausted?: string[] | undefined;
2288
2298
  uncertainty?: string[] | undefined;
2289
2299
  active_dimensions?: string[] | undefined;
2290
2300
  best_evidence_so_far?: string | undefined;
2291
2301
  recent_strategy_families?: string[] | undefined;
2292
- exhausted?: string[] | undefined;
2293
2302
  promising?: string[] | undefined;
2294
2303
  relevant_memories?: {
2295
2304
  summary: string;
2296
- source_type: "other" | "soil" | "playbook" | "runtime_evidence";
2305
+ source_type: "soil" | "runtime_evidence" | "other" | "playbook";
2297
2306
  ref?: string | undefined;
2298
- recency_score?: number | undefined;
2299
2307
  provenance?: {
2300
2308
  reliability?: number | undefined;
2301
- source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
2302
2309
  source_ref?: string | undefined;
2310
+ source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
2303
2311
  raw_refs?: string[] | undefined;
2304
2312
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
2305
2313
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
2306
2314
  } | undefined;
2307
2315
  authority?: "advisory_only" | undefined;
2308
- relevance_score?: number | undefined;
2309
2316
  source_reliability?: number | undefined;
2317
+ recency_score?: number | undefined;
2318
+ relevance_score?: number | undefined;
2310
2319
  prior_success_contribution?: number | undefined;
2311
2320
  retrieval?: {
2312
2321
  confidence?: number | undefined;
@@ -2322,7 +2331,7 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2322
2331
  ranking_trace?: {
2323
2332
  reason: string;
2324
2333
  score: number;
2325
- decision: "rejected" | "admitted";
2334
+ decision: "admitted" | "rejected";
2326
2335
  } | undefined;
2327
2336
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
2328
2337
  quarantine_state?: {
@@ -2347,13 +2356,15 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2347
2356
  rejection_reason: string;
2348
2357
  confidence?: number | undefined;
2349
2358
  evidence_ref?: string | undefined;
2350
- revisit_condition?: string | undefined;
2351
2359
  candidate_ref?: string | undefined;
2360
+ revisit_condition?: string | undefined;
2352
2361
  }[] | undefined;
2353
2362
  next_strategy_candidates?: {
2354
2363
  rationale: string;
2355
2364
  title: string;
2356
2365
  target_dimensions?: string[] | undefined;
2366
+ failed_lineage_fingerprints?: string[] | undefined;
2367
+ candidate_ref?: string | undefined;
2357
2368
  expected_evidence_gain?: string | undefined;
2358
2369
  retry_reason?: string | undefined;
2359
2370
  failed_lineage_warning?: {
@@ -2361,12 +2372,11 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2361
2372
  count: number;
2362
2373
  fingerprint: string;
2363
2374
  } | undefined;
2364
- candidate_ref?: string | undefined;
2365
2375
  }[] | undefined;
2366
2376
  run_control_recommendations?: {
2367
2377
  rationale: string;
2368
2378
  evidence: {
2369
- kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
2379
+ kind: "deadline" | "metric" | "lineage" | "runtime_state" | "memory" | "task_history" | "artifact" | "external_feedback";
2370
2380
  summary: string;
2371
2381
  ref?: string | undefined;
2372
2382
  }[];
@@ -2381,7 +2391,7 @@ export declare const RuntimeEvidenceDreamCheckpointSchema: z.ZodObject<{
2381
2391
  lineage_refs?: string[] | undefined;
2382
2392
  policy_decision?: {
2383
2393
  reason: string;
2384
- disposition: "approval_required" | "advisory_only" | "auto_apply";
2394
+ disposition: "approval_required" | "auto_apply" | "advisory_only";
2385
2395
  } | undefined;
2386
2396
  }[] | undefined;
2387
2397
  context_authority?: "advisory_only" | undefined;
@@ -2620,8 +2630,8 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
2620
2630
  approval_required: boolean;
2621
2631
  remaining_attempts: number;
2622
2632
  phase?: "exploration" | "consolidation" | "finalization" | "other" | undefined;
2623
- policy_id?: string | undefined;
2624
2633
  max_attempts?: number | undefined;
2634
+ policy_id?: string | undefined;
2625
2635
  used_attempts?: number | undefined;
2626
2636
  deadline_at?: string | undefined;
2627
2637
  portfolio_policy?: {
@@ -2633,8 +2643,8 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
2633
2643
  remaining_attempts: number;
2634
2644
  approval_required?: boolean | undefined;
2635
2645
  phase?: "exploration" | "consolidation" | "finalization" | "other" | undefined;
2636
- policy_id?: string | undefined;
2637
2646
  max_attempts?: number | undefined;
2647
+ policy_id?: string | undefined;
2638
2648
  used_attempts?: number | undefined;
2639
2649
  deadline_at?: string | undefined;
2640
2650
  portfolio_policy?: {
@@ -2763,7 +2773,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
2763
2773
  }>>;
2764
2774
  summary: z.ZodOptional<z.ZodString>;
2765
2775
  }, "strict", z.ZodTypeAny, {
2766
- status: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded";
2776
+ status: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "succeeded" | "submitted";
2767
2777
  source: string;
2768
2778
  candidate_id: string;
2769
2779
  signal: "external" | "local";
@@ -2790,8 +2800,8 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
2790
2800
  approval_required: boolean;
2791
2801
  remaining_attempts: number;
2792
2802
  phase?: "exploration" | "consolidation" | "finalization" | "other" | undefined;
2793
- policy_id?: string | undefined;
2794
2803
  max_attempts?: number | undefined;
2804
+ policy_id?: string | undefined;
2795
2805
  used_attempts?: number | undefined;
2796
2806
  deadline_at?: string | undefined;
2797
2807
  portfolio_policy?: {
@@ -2804,7 +2814,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
2804
2814
  artifact_labels?: string[] | undefined;
2805
2815
  score_label?: string | undefined;
2806
2816
  expected_score?: string | number | boolean | null | undefined;
2807
- expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
2817
+ expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "succeeded" | "submitted" | undefined;
2808
2818
  expectation_source?: string | undefined;
2809
2819
  publish_action?: {
2810
2820
  label: string;
@@ -2854,7 +2864,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
2854
2864
  summary?: string | undefined;
2855
2865
  command?: string | undefined;
2856
2866
  } | undefined;
2857
- status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
2867
+ status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "succeeded" | "submitted" | undefined;
2858
2868
  direction?: "neutral" | "maximize" | "minimize" | undefined;
2859
2869
  summary?: string | undefined;
2860
2870
  score?: string | number | boolean | null | undefined;
@@ -2872,8 +2882,8 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
2872
2882
  remaining_attempts: number;
2873
2883
  approval_required?: boolean | undefined;
2874
2884
  phase?: "exploration" | "consolidation" | "finalization" | "other" | undefined;
2875
- policy_id?: string | undefined;
2876
2885
  max_attempts?: number | undefined;
2886
+ policy_id?: string | undefined;
2877
2887
  used_attempts?: number | undefined;
2878
2888
  deadline_at?: string | undefined;
2879
2889
  portfolio_policy?: {
@@ -2886,7 +2896,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
2886
2896
  artifact_labels?: string[] | undefined;
2887
2897
  score_label?: string | undefined;
2888
2898
  expected_score?: string | number | boolean | null | undefined;
2889
- expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
2899
+ expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "succeeded" | "submitted" | undefined;
2890
2900
  expectation_source?: string | undefined;
2891
2901
  publish_action?: {
2892
2902
  label: string;
@@ -2938,16 +2948,16 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
2938
2948
  provenance: z.ZodDefault<z.ZodEnum<["quoted", "paraphrased", "summarized"]>>;
2939
2949
  relevance: z.ZodOptional<z.ZodString>;
2940
2950
  }, "strict", z.ZodTypeAny, {
2951
+ provenance: "quoted" | "paraphrased" | "summarized";
2941
2952
  url: string;
2942
2953
  source_type: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup";
2943
- provenance: "quoted" | "paraphrased" | "summarized";
2944
2954
  title?: string | undefined;
2945
2955
  relevance?: string | undefined;
2946
2956
  }, {
2947
2957
  url: string;
2948
2958
  title?: string | undefined;
2949
- source_type?: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup" | undefined;
2950
2959
  provenance?: "quoted" | "paraphrased" | "summarized" | undefined;
2960
+ source_type?: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup" | undefined;
2951
2961
  relevance?: string | undefined;
2952
2962
  }>, "many">;
2953
2963
  findings: z.ZodArray<z.ZodObject<{
@@ -3028,9 +3038,9 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3028
3038
  trigger: "plateau" | "uncertainty" | "knowledge_gap";
3029
3039
  summary: string;
3030
3040
  sources: {
3041
+ provenance: "quoted" | "paraphrased" | "summarized";
3031
3042
  url: string;
3032
3043
  source_type: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup";
3033
- provenance: "quoted" | "paraphrased" | "summarized";
3034
3044
  title?: string | undefined;
3035
3045
  relevance?: string | undefined;
3036
3046
  }[];
@@ -3059,8 +3069,8 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3059
3069
  sources: {
3060
3070
  url: string;
3061
3071
  title?: string | undefined;
3062
- source_type?: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup" | undefined;
3063
3072
  provenance?: "quoted" | "paraphrased" | "summarized" | undefined;
3073
+ source_type?: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup" | undefined;
3064
3074
  relevance?: string | undefined;
3065
3075
  }[];
3066
3076
  query: string;
@@ -3122,8 +3132,8 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3122
3132
  source_ref?: string | undefined;
3123
3133
  }, {
3124
3134
  reliability?: number | undefined;
3125
- source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
3126
3135
  source_ref?: string | undefined;
3136
+ source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
3127
3137
  raw_refs?: string[] | undefined;
3128
3138
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
3129
3139
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
@@ -3191,18 +3201,17 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3191
3201
  }, "strict", z.ZodTypeAny, {
3192
3202
  reason: string;
3193
3203
  score: number;
3194
- decision: "rejected" | "admitted";
3204
+ decision: "admitted" | "rejected";
3195
3205
  }, {
3196
3206
  reason: string;
3197
3207
  score: number;
3198
- decision: "rejected" | "admitted";
3208
+ decision: "admitted" | "rejected";
3199
3209
  }>>;
3200
3210
  }, "strict", z.ZodTypeAny, {
3201
3211
  summary: string;
3202
- source_type: "other" | "soil" | "playbook" | "runtime_evidence";
3203
3212
  authority: "advisory_only";
3213
+ source_type: "soil" | "runtime_evidence" | "other" | "playbook";
3204
3214
  ref?: string | undefined;
3205
- recency_score?: number | undefined;
3206
3215
  provenance?: {
3207
3216
  source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
3208
3217
  raw_refs: string[];
@@ -3211,8 +3220,9 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3211
3220
  reliability?: number | undefined;
3212
3221
  source_ref?: string | undefined;
3213
3222
  } | undefined;
3214
- relevance_score?: number | undefined;
3215
3223
  source_reliability?: number | undefined;
3224
+ recency_score?: number | undefined;
3225
+ relevance_score?: number | undefined;
3216
3226
  prior_success_contribution?: number | undefined;
3217
3227
  retrieval?: {
3218
3228
  kind: "unknown" | "manual" | "checkpoint" | "route_hit" | "fallback_hit";
@@ -3228,7 +3238,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3228
3238
  ranking_trace?: {
3229
3239
  reason: string;
3230
3240
  score: number;
3231
- decision: "rejected" | "admitted";
3241
+ decision: "admitted" | "rejected";
3232
3242
  } | undefined;
3233
3243
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
3234
3244
  quarantine_state?: {
@@ -3242,20 +3252,20 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3242
3252
  } | undefined;
3243
3253
  }, {
3244
3254
  summary: string;
3245
- source_type: "other" | "soil" | "playbook" | "runtime_evidence";
3255
+ source_type: "soil" | "runtime_evidence" | "other" | "playbook";
3246
3256
  ref?: string | undefined;
3247
- recency_score?: number | undefined;
3248
3257
  provenance?: {
3249
3258
  reliability?: number | undefined;
3250
- source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
3251
3259
  source_ref?: string | undefined;
3260
+ source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
3252
3261
  raw_refs?: string[] | undefined;
3253
3262
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
3254
3263
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
3255
3264
  } | undefined;
3256
3265
  authority?: "advisory_only" | undefined;
3257
- relevance_score?: number | undefined;
3258
3266
  source_reliability?: number | undefined;
3267
+ recency_score?: number | undefined;
3268
+ relevance_score?: number | undefined;
3259
3269
  prior_success_contribution?: number | undefined;
3260
3270
  retrieval?: {
3261
3271
  confidence?: number | undefined;
@@ -3271,7 +3281,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3271
3281
  ranking_trace?: {
3272
3282
  reason: string;
3273
3283
  score: number;
3274
- decision: "rejected" | "admitted";
3284
+ decision: "admitted" | "rejected";
3275
3285
  } | undefined;
3276
3286
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
3277
3287
  quarantine_state?: {
@@ -3315,15 +3325,15 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3315
3325
  approach: string;
3316
3326
  rejection_reason: string;
3317
3327
  evidence_ref?: string | undefined;
3318
- revisit_condition?: string | undefined;
3319
3328
  candidate_ref?: string | undefined;
3329
+ revisit_condition?: string | undefined;
3320
3330
  }, {
3321
3331
  approach: string;
3322
3332
  rejection_reason: string;
3323
3333
  confidence?: number | undefined;
3324
3334
  evidence_ref?: string | undefined;
3325
- revisit_condition?: string | undefined;
3326
3335
  candidate_ref?: string | undefined;
3336
+ revisit_condition?: string | undefined;
3327
3337
  }>, "many">>;
3328
3338
  next_strategy_candidates: z.ZodDefault<z.ZodArray<z.ZodObject<{
3329
3339
  candidate_ref: z.ZodOptional<z.ZodString>;
@@ -3332,6 +3342,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3332
3342
  target_dimensions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
3333
3343
  expected_evidence_gain: z.ZodOptional<z.ZodString>;
3334
3344
  retry_reason: z.ZodOptional<z.ZodString>;
3345
+ failed_lineage_fingerprints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3335
3346
  failed_lineage_warning: z.ZodOptional<z.ZodObject<{
3336
3347
  fingerprint: z.ZodString;
3337
3348
  count: z.ZodNumber;
@@ -3349,6 +3360,8 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3349
3360
  rationale: string;
3350
3361
  title: string;
3351
3362
  target_dimensions: string[];
3363
+ failed_lineage_fingerprints?: string[] | undefined;
3364
+ candidate_ref?: string | undefined;
3352
3365
  expected_evidence_gain?: string | undefined;
3353
3366
  retry_reason?: string | undefined;
3354
3367
  failed_lineage_warning?: {
@@ -3356,11 +3369,12 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3356
3369
  count: number;
3357
3370
  fingerprint: string;
3358
3371
  } | undefined;
3359
- candidate_ref?: string | undefined;
3360
3372
  }, {
3361
3373
  rationale: string;
3362
3374
  title: string;
3363
3375
  target_dimensions?: string[] | undefined;
3376
+ failed_lineage_fingerprints?: string[] | undefined;
3377
+ candidate_ref?: string | undefined;
3364
3378
  expected_evidence_gain?: string | undefined;
3365
3379
  retry_reason?: string | undefined;
3366
3380
  failed_lineage_warning?: {
@@ -3368,7 +3382,6 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3368
3382
  count: number;
3369
3383
  fingerprint: string;
3370
3384
  } | undefined;
3371
- candidate_ref?: string | undefined;
3372
3385
  }>, "many">>;
3373
3386
  run_control_recommendations: z.ZodOptional<z.ZodArray<z.ZodObject<{
3374
3387
  id: z.ZodOptional<z.ZodString>;
@@ -3379,11 +3392,11 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3379
3392
  ref: z.ZodOptional<z.ZodString>;
3380
3393
  summary: z.ZodString;
3381
3394
  }, "strict", z.ZodTypeAny, {
3382
- kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
3395
+ kind: "deadline" | "metric" | "lineage" | "runtime_state" | "memory" | "task_history" | "artifact" | "external_feedback";
3383
3396
  summary: string;
3384
3397
  ref?: string | undefined;
3385
3398
  }, {
3386
- kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
3399
+ kind: "deadline" | "metric" | "lineage" | "runtime_state" | "memory" | "task_history" | "artifact" | "external_feedback";
3387
3400
  summary: string;
3388
3401
  ref?: string | undefined;
3389
3402
  }>, "many">;
@@ -3399,17 +3412,17 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3399
3412
  reason: z.ZodString;
3400
3413
  }, "strict", z.ZodTypeAny, {
3401
3414
  reason: string;
3402
- disposition: "approval_required" | "advisory_only" | "auto_apply";
3415
+ disposition: "approval_required" | "auto_apply" | "advisory_only";
3403
3416
  }, {
3404
3417
  reason: string;
3405
- disposition: "approval_required" | "advisory_only" | "auto_apply";
3418
+ disposition: "approval_required" | "auto_apply" | "advisory_only";
3406
3419
  }>>;
3407
3420
  }, "strict", z.ZodTypeAny, {
3408
3421
  confidence: number;
3409
3422
  rationale: string;
3410
3423
  approval_required: boolean;
3411
3424
  evidence: {
3412
- kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
3425
+ kind: "deadline" | "metric" | "lineage" | "runtime_state" | "memory" | "task_history" | "artifact" | "external_feedback";
3413
3426
  summary: string;
3414
3427
  ref?: string | undefined;
3415
3428
  }[];
@@ -3422,12 +3435,12 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3422
3435
  target_strategy_family?: string | undefined;
3423
3436
  policy_decision?: {
3424
3437
  reason: string;
3425
- disposition: "approval_required" | "advisory_only" | "auto_apply";
3438
+ disposition: "approval_required" | "auto_apply" | "advisory_only";
3426
3439
  } | undefined;
3427
3440
  }, {
3428
3441
  rationale: string;
3429
3442
  evidence: {
3430
- kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
3443
+ kind: "deadline" | "metric" | "lineage" | "runtime_state" | "memory" | "task_history" | "artifact" | "external_feedback";
3431
3444
  summary: string;
3432
3445
  ref?: string | undefined;
3433
3446
  }[];
@@ -3442,7 +3455,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3442
3455
  lineage_refs?: string[] | undefined;
3443
3456
  policy_decision?: {
3444
3457
  reason: string;
3445
- disposition: "approval_required" | "advisory_only" | "auto_apply";
3458
+ disposition: "approval_required" | "auto_apply" | "advisory_only";
3446
3459
  } | undefined;
3447
3460
  }>, "many">>;
3448
3461
  guidance: z.ZodString;
@@ -3453,18 +3466,17 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3453
3466
  confidence: number;
3454
3467
  trigger: "iteration" | "breakthrough" | "plateau" | "pre_finalization";
3455
3468
  summary: string;
3469
+ exhausted: string[];
3456
3470
  uncertainty: string[];
3457
3471
  current_goal: string;
3458
3472
  active_dimensions: string[];
3459
3473
  recent_strategy_families: string[];
3460
- exhausted: string[];
3461
3474
  promising: string[];
3462
3475
  relevant_memories: {
3463
3476
  summary: string;
3464
- source_type: "other" | "soil" | "playbook" | "runtime_evidence";
3465
3477
  authority: "advisory_only";
3478
+ source_type: "soil" | "runtime_evidence" | "other" | "playbook";
3466
3479
  ref?: string | undefined;
3467
- recency_score?: number | undefined;
3468
3480
  provenance?: {
3469
3481
  source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
3470
3482
  raw_refs: string[];
@@ -3473,8 +3485,9 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3473
3485
  reliability?: number | undefined;
3474
3486
  source_ref?: string | undefined;
3475
3487
  } | undefined;
3476
- relevance_score?: number | undefined;
3477
3488
  source_reliability?: number | undefined;
3489
+ recency_score?: number | undefined;
3490
+ relevance_score?: number | undefined;
3478
3491
  prior_success_contribution?: number | undefined;
3479
3492
  retrieval?: {
3480
3493
  kind: "unknown" | "manual" | "checkpoint" | "route_hit" | "fallback_hit";
@@ -3490,7 +3503,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3490
3503
  ranking_trace?: {
3491
3504
  reason: string;
3492
3505
  score: number;
3493
- decision: "rejected" | "admitted";
3506
+ decision: "admitted" | "rejected";
3494
3507
  } | undefined;
3495
3508
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
3496
3509
  quarantine_state?: {
@@ -3515,13 +3528,15 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3515
3528
  approach: string;
3516
3529
  rejection_reason: string;
3517
3530
  evidence_ref?: string | undefined;
3518
- revisit_condition?: string | undefined;
3519
3531
  candidate_ref?: string | undefined;
3532
+ revisit_condition?: string | undefined;
3520
3533
  }[];
3521
3534
  next_strategy_candidates: {
3522
3535
  rationale: string;
3523
3536
  title: string;
3524
3537
  target_dimensions: string[];
3538
+ failed_lineage_fingerprints?: string[] | undefined;
3539
+ candidate_ref?: string | undefined;
3525
3540
  expected_evidence_gain?: string | undefined;
3526
3541
  retry_reason?: string | undefined;
3527
3542
  failed_lineage_warning?: {
@@ -3529,7 +3544,6 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3529
3544
  count: number;
3530
3545
  fingerprint: string;
3531
3546
  } | undefined;
3532
- candidate_ref?: string | undefined;
3533
3547
  }[];
3534
3548
  guidance: string;
3535
3549
  context_authority: "advisory_only";
@@ -3539,7 +3553,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3539
3553
  rationale: string;
3540
3554
  approval_required: boolean;
3541
3555
  evidence: {
3542
- kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
3556
+ kind: "deadline" | "metric" | "lineage" | "runtime_state" | "memory" | "task_history" | "artifact" | "external_feedback";
3543
3557
  summary: string;
3544
3558
  ref?: string | undefined;
3545
3559
  }[];
@@ -3552,7 +3566,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3552
3566
  target_strategy_family?: string | undefined;
3553
3567
  policy_decision?: {
3554
3568
  reason: string;
3555
- disposition: "approval_required" | "advisory_only" | "auto_apply";
3569
+ disposition: "approval_required" | "auto_apply" | "advisory_only";
3556
3570
  } | undefined;
3557
3571
  }[] | undefined;
3558
3572
  }, {
@@ -3561,28 +3575,28 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3561
3575
  current_goal: string;
3562
3576
  guidance: string;
3563
3577
  confidence?: number | undefined;
3578
+ exhausted?: string[] | undefined;
3564
3579
  uncertainty?: string[] | undefined;
3565
3580
  active_dimensions?: string[] | undefined;
3566
3581
  best_evidence_so_far?: string | undefined;
3567
3582
  recent_strategy_families?: string[] | undefined;
3568
- exhausted?: string[] | undefined;
3569
3583
  promising?: string[] | undefined;
3570
3584
  relevant_memories?: {
3571
3585
  summary: string;
3572
- source_type: "other" | "soil" | "playbook" | "runtime_evidence";
3586
+ source_type: "soil" | "runtime_evidence" | "other" | "playbook";
3573
3587
  ref?: string | undefined;
3574
- recency_score?: number | undefined;
3575
3588
  provenance?: {
3576
3589
  reliability?: number | undefined;
3577
- source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
3578
3590
  source_ref?: string | undefined;
3591
+ source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
3579
3592
  raw_refs?: string[] | undefined;
3580
3593
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
3581
3594
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
3582
3595
  } | undefined;
3583
3596
  authority?: "advisory_only" | undefined;
3584
- relevance_score?: number | undefined;
3585
3597
  source_reliability?: number | undefined;
3598
+ recency_score?: number | undefined;
3599
+ relevance_score?: number | undefined;
3586
3600
  prior_success_contribution?: number | undefined;
3587
3601
  retrieval?: {
3588
3602
  confidence?: number | undefined;
@@ -3598,7 +3612,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3598
3612
  ranking_trace?: {
3599
3613
  reason: string;
3600
3614
  score: number;
3601
- decision: "rejected" | "admitted";
3615
+ decision: "admitted" | "rejected";
3602
3616
  } | undefined;
3603
3617
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
3604
3618
  quarantine_state?: {
@@ -3623,13 +3637,15 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3623
3637
  rejection_reason: string;
3624
3638
  confidence?: number | undefined;
3625
3639
  evidence_ref?: string | undefined;
3626
- revisit_condition?: string | undefined;
3627
3640
  candidate_ref?: string | undefined;
3641
+ revisit_condition?: string | undefined;
3628
3642
  }[] | undefined;
3629
3643
  next_strategy_candidates?: {
3630
3644
  rationale: string;
3631
3645
  title: string;
3632
3646
  target_dimensions?: string[] | undefined;
3647
+ failed_lineage_fingerprints?: string[] | undefined;
3648
+ candidate_ref?: string | undefined;
3633
3649
  expected_evidence_gain?: string | undefined;
3634
3650
  retry_reason?: string | undefined;
3635
3651
  failed_lineage_warning?: {
@@ -3637,12 +3653,11 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3637
3653
  count: number;
3638
3654
  fingerprint: string;
3639
3655
  } | undefined;
3640
- candidate_ref?: string | undefined;
3641
3656
  }[] | undefined;
3642
3657
  run_control_recommendations?: {
3643
3658
  rationale: string;
3644
3659
  evidence: {
3645
- kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
3660
+ kind: "deadline" | "metric" | "lineage" | "runtime_state" | "memory" | "task_history" | "artifact" | "external_feedback";
3646
3661
  summary: string;
3647
3662
  ref?: string | undefined;
3648
3663
  }[];
@@ -3657,7 +3672,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3657
3672
  lineage_refs?: string[] | undefined;
3658
3673
  policy_decision?: {
3659
3674
  reason: string;
3660
- disposition: "approval_required" | "advisory_only" | "auto_apply";
3675
+ disposition: "approval_required" | "auto_apply" | "advisory_only";
3661
3676
  } | undefined;
3662
3677
  }[] | undefined;
3663
3678
  context_authority?: "advisory_only" | undefined;
@@ -3728,7 +3743,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3728
3743
  run_id?: string | undefined;
3729
3744
  }>>;
3730
3745
  }, "strict", z.ZodTypeAny, {
3731
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
3746
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
3732
3747
  id: string;
3733
3748
  scope?: {
3734
3749
  goal_id?: string | undefined;
@@ -3736,7 +3751,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3736
3751
  run_id?: string | undefined;
3737
3752
  } | undefined;
3738
3753
  }, {
3739
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
3754
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
3740
3755
  id: string;
3741
3756
  scope?: {
3742
3757
  goal_id?: string | undefined;
@@ -3762,7 +3777,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3762
3777
  run_id?: string | undefined;
3763
3778
  }>>;
3764
3779
  }, "strict", z.ZodTypeAny, {
3765
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
3780
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
3766
3781
  id: string;
3767
3782
  scope?: {
3768
3783
  goal_id?: string | undefined;
@@ -3770,7 +3785,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3770
3785
  run_id?: string | undefined;
3771
3786
  } | undefined;
3772
3787
  }, {
3773
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
3788
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
3774
3789
  id: string;
3775
3790
  scope?: {
3776
3791
  goal_id?: string | undefined;
@@ -3817,11 +3832,6 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3817
3832
  created_at: string;
3818
3833
  reason: string;
3819
3834
  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
- };
3825
3835
  provenance: {
3826
3836
  source: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
3827
3837
  confidence: number | null;
@@ -3829,9 +3839,13 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3829
3839
  source_ref?: string | undefined;
3830
3840
  note?: string | undefined;
3831
3841
  };
3832
- correction_id: string;
3842
+ audit: {
3843
+ status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
3844
+ retained_for_audit: boolean;
3845
+ destructive_delete_approved_at: string | null;
3846
+ };
3833
3847
  target_ref: {
3834
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
3848
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
3835
3849
  id: string;
3836
3850
  scope?: {
3837
3851
  goal_id?: string | undefined;
@@ -3839,9 +3853,10 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3839
3853
  run_id?: string | undefined;
3840
3854
  } | undefined;
3841
3855
  };
3842
- correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
3856
+ correction_id: string;
3857
+ correction_kind: "superseded" | "retracted" | "corrected" | "forgotten" | "quarantined";
3843
3858
  replacement_ref: {
3844
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
3859
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
3845
3860
  id: string;
3846
3861
  scope?: {
3847
3862
  goal_id?: string | undefined;
@@ -3860,9 +3875,8 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3860
3875
  source_ref?: string | undefined;
3861
3876
  note?: string | undefined;
3862
3877
  };
3863
- correction_id: string;
3864
3878
  target_ref: {
3865
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
3879
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
3866
3880
  id: string;
3867
3881
  scope?: {
3868
3882
  goal_id?: string | undefined;
@@ -3870,7 +3884,8 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3870
3884
  run_id?: string | undefined;
3871
3885
  } | undefined;
3872
3886
  };
3873
- correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
3887
+ correction_id: string;
3888
+ correction_kind: "superseded" | "retracted" | "corrected" | "forgotten" | "quarantined";
3874
3889
  actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
3875
3890
  schema_version?: "memory-correction-entry-v1" | undefined;
3876
3891
  audit?: {
@@ -3879,7 +3894,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3879
3894
  destructive_delete_approved_at?: string | null | undefined;
3880
3895
  } | undefined;
3881
3896
  replacement_ref?: {
3882
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
3897
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
3883
3898
  id: string;
3884
3899
  scope?: {
3885
3900
  goal_id?: string | undefined;
@@ -3906,7 +3921,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3906
3921
  run_id?: string | undefined;
3907
3922
  }>>;
3908
3923
  }, "strict", z.ZodTypeAny, {
3909
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
3924
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
3910
3925
  id: string;
3911
3926
  scope?: {
3912
3927
  goal_id?: string | undefined;
@@ -3914,7 +3929,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3914
3929
  run_id?: string | undefined;
3915
3930
  } | undefined;
3916
3931
  }, {
3917
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
3932
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
3918
3933
  id: string;
3919
3934
  scope?: {
3920
3935
  goal_id?: string | undefined;
@@ -3942,7 +3957,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3942
3957
  run_id?: string | undefined;
3943
3958
  }>>;
3944
3959
  }, "strict", z.ZodTypeAny, {
3945
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
3960
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
3946
3961
  id: string;
3947
3962
  scope?: {
3948
3963
  goal_id?: string | undefined;
@@ -3950,7 +3965,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3950
3965
  run_id?: string | undefined;
3951
3966
  } | undefined;
3952
3967
  }, {
3953
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
3968
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
3954
3969
  id: string;
3955
3970
  scope?: {
3956
3971
  goal_id?: string | undefined;
@@ -3962,13 +3977,12 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3962
3977
  reason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3963
3978
  updated_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
3964
3979
  }, "strict", z.ZodTypeAny, {
3965
- status: "active" | "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
3980
+ status: "active" | "superseded" | "retracted" | "corrected" | "forgotten" | "quarantined";
3966
3981
  active: boolean;
3967
3982
  updated_at: string | null;
3968
3983
  reason: string | null;
3969
- retained_for_audit: boolean;
3970
3984
  target_ref: {
3971
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
3985
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
3972
3986
  id: string;
3973
3987
  scope?: {
3974
3988
  goal_id?: string | undefined;
@@ -3976,8 +3990,9 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3976
3990
  run_id?: string | undefined;
3977
3991
  } | undefined;
3978
3992
  };
3993
+ retained_for_audit: boolean;
3979
3994
  replacement_ref: {
3980
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
3995
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
3981
3996
  id: string;
3982
3997
  scope?: {
3983
3998
  goal_id?: string | undefined;
@@ -3987,10 +4002,10 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
3987
4002
  } | null;
3988
4003
  latest_correction_id: string | null;
3989
4004
  }, {
3990
- status: "active" | "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
4005
+ status: "active" | "superseded" | "retracted" | "corrected" | "forgotten" | "quarantined";
3991
4006
  active: boolean;
3992
4007
  target_ref: {
3993
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
4008
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
3994
4009
  id: string;
3995
4010
  scope?: {
3996
4011
  goal_id?: string | undefined;
@@ -4002,7 +4017,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4002
4017
  reason?: string | null | undefined;
4003
4018
  retained_for_audit?: boolean | undefined;
4004
4019
  replacement_ref?: {
4005
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
4020
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
4006
4021
  id: string;
4007
4022
  scope?: {
4008
4023
  goal_id?: string | undefined;
@@ -4029,8 +4044,8 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4029
4044
  source_ref?: string | undefined;
4030
4045
  }, {
4031
4046
  reliability?: number | undefined;
4032
- source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
4033
4047
  source_ref?: string | undefined;
4048
+ source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
4034
4049
  raw_refs?: string[] | undefined;
4035
4050
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
4036
4051
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
@@ -4142,7 +4157,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4142
4157
  source: z.ZodOptional<z.ZodString>;
4143
4158
  dependency_refs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4144
4159
  }, "strict", z.ZodTypeAny, {
4145
- kind: "url" | "log" | "diff" | "other" | "metrics" | "report";
4160
+ kind: "url" | "diff" | "report" | "metrics" | "other" | "log";
4146
4161
  label: string;
4147
4162
  path?: string | undefined;
4148
4163
  source?: string | undefined;
@@ -4155,7 +4170,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4155
4170
  label: string;
4156
4171
  path?: string | undefined;
4157
4172
  source?: string | undefined;
4158
- kind?: "url" | "log" | "diff" | "other" | "metrics" | "report" | undefined;
4173
+ kind?: "url" | "diff" | "report" | "metrics" | "other" | "log" | undefined;
4159
4174
  url?: string | undefined;
4160
4175
  state_relative_path?: string | undefined;
4161
4176
  retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
@@ -4194,8 +4209,8 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4194
4209
  provenance_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
4195
4210
  summary: z.ZodOptional<z.ZodString>;
4196
4211
  }, "strict", z.ZodTypeAny, {
4197
- weak_dimensions: string[];
4198
4212
  provenance_refs: string[];
4213
+ weak_dimensions: string[];
4199
4214
  summary?: string | undefined;
4200
4215
  stability_score?: number | undefined;
4201
4216
  diversity_score?: number | undefined;
@@ -4210,6 +4225,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4210
4225
  seed_score_range?: number | undefined;
4211
4226
  }, {
4212
4227
  summary?: string | undefined;
4228
+ provenance_refs?: string[] | undefined;
4213
4229
  weak_dimensions?: string[] | undefined;
4214
4230
  stability_score?: number | undefined;
4215
4231
  diversity_score?: number | undefined;
@@ -4222,7 +4238,6 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4222
4238
  score_stddev?: number | undefined;
4223
4239
  fold_score_range?: number | undefined;
4224
4240
  seed_score_range?: number | undefined;
4225
- provenance_refs?: string[] | undefined;
4226
4241
  }>>;
4227
4242
  near_miss: z.ZodOptional<z.ZodObject<{
4228
4243
  status: z.ZodDefault<z.ZodEnum<["retained", "promoted", "rejected"]>>;
@@ -4302,18 +4317,6 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4302
4317
  signal: "lineage" | "other" | "declared" | "metric_correlation" | "artifact_overlap";
4303
4318
  summary?: string | undefined;
4304
4319
  }[];
4305
- artifacts: {
4306
- kind: "url" | "log" | "diff" | "other" | "metrics" | "report";
4307
- label: string;
4308
- path?: string | undefined;
4309
- source?: string | undefined;
4310
- url?: string | undefined;
4311
- state_relative_path?: string | undefined;
4312
- retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
4313
- size_bytes?: number | undefined;
4314
- dependency_refs?: string[] | undefined;
4315
- }[];
4316
- disposition: "retained" | "promoted" | "retired";
4317
4320
  metrics: {
4318
4321
  label: string;
4319
4322
  value?: string | number | boolean | null | undefined;
@@ -4324,6 +4327,18 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4324
4327
  summary?: string | undefined;
4325
4328
  observed_at?: string | undefined;
4326
4329
  }[];
4330
+ artifacts: {
4331
+ kind: "url" | "diff" | "report" | "metrics" | "other" | "log";
4332
+ label: string;
4333
+ path?: string | undefined;
4334
+ source?: string | undefined;
4335
+ url?: string | undefined;
4336
+ state_relative_path?: string | undefined;
4337
+ retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
4338
+ size_bytes?: number | undefined;
4339
+ dependency_refs?: string[] | undefined;
4340
+ }[];
4341
+ disposition: "retired" | "retained" | "promoted";
4327
4342
  label?: string | undefined;
4328
4343
  near_miss?: {
4329
4344
  status: "rejected" | "retained" | "promoted";
@@ -4341,8 +4356,8 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4341
4356
  } | undefined;
4342
4357
  } | undefined;
4343
4358
  robustness?: {
4344
- weak_dimensions: string[];
4345
4359
  provenance_refs: string[];
4360
+ weak_dimensions: string[];
4346
4361
  summary?: string | undefined;
4347
4362
  stability_score?: number | undefined;
4348
4363
  diversity_score?: number | undefined;
@@ -4381,18 +4396,28 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4381
4396
  summary?: string | undefined;
4382
4397
  signal?: "lineage" | "other" | "declared" | "metric_correlation" | "artifact_overlap" | undefined;
4383
4398
  }[] | undefined;
4399
+ metrics?: {
4400
+ label: string;
4401
+ value?: string | number | boolean | null | undefined;
4402
+ source?: string | undefined;
4403
+ unit?: string | undefined;
4404
+ confidence?: number | undefined;
4405
+ direction?: "neutral" | "maximize" | "minimize" | undefined;
4406
+ summary?: string | undefined;
4407
+ observed_at?: string | undefined;
4408
+ }[] | undefined;
4384
4409
  artifacts?: {
4385
4410
  label: string;
4386
4411
  path?: string | undefined;
4387
4412
  source?: string | undefined;
4388
- kind?: "url" | "log" | "diff" | "other" | "metrics" | "report" | undefined;
4413
+ kind?: "url" | "diff" | "report" | "metrics" | "other" | "log" | undefined;
4389
4414
  url?: string | undefined;
4390
4415
  state_relative_path?: string | undefined;
4391
4416
  retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
4392
4417
  size_bytes?: number | undefined;
4393
4418
  dependency_refs?: string[] | undefined;
4394
4419
  }[] | undefined;
4395
- disposition?: "retained" | "promoted" | "retired" | undefined;
4420
+ disposition?: "retired" | "retained" | "promoted" | undefined;
4396
4421
  near_miss?: {
4397
4422
  reason_to_keep: ("close_to_best" | "stability" | "novelty" | "weak_dimension_improvement" | "complementarity" | "ensemble_potential")[];
4398
4423
  status?: "rejected" | "retained" | "promoted" | undefined;
@@ -4408,18 +4433,9 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4408
4433
  expected_evidence_gain?: string | undefined;
4409
4434
  } | undefined;
4410
4435
  } | undefined;
4411
- metrics?: {
4412
- label: string;
4413
- value?: string | number | boolean | null | undefined;
4414
- source?: string | undefined;
4415
- unit?: string | undefined;
4416
- confidence?: number | undefined;
4417
- direction?: "neutral" | "maximize" | "minimize" | undefined;
4418
- summary?: string | undefined;
4419
- observed_at?: string | undefined;
4420
- }[] | undefined;
4421
4436
  robustness?: {
4422
4437
  summary?: string | undefined;
4438
+ provenance_refs?: string[] | undefined;
4423
4439
  weak_dimensions?: string[] | undefined;
4424
4440
  stability_score?: number | undefined;
4425
4441
  diversity_score?: number | undefined;
@@ -4432,7 +4448,6 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4432
4448
  score_stddev?: number | undefined;
4433
4449
  fold_score_range?: number | undefined;
4434
4450
  seed_score_range?: number | undefined;
4435
- provenance_refs?: string[] | undefined;
4436
4451
  } | undefined;
4437
4452
  disposition_reason?: string | undefined;
4438
4453
  produced_at?: string | undefined;
@@ -4448,7 +4463,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4448
4463
  source: z.ZodOptional<z.ZodString>;
4449
4464
  dependency_refs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4450
4465
  }, "strict", z.ZodTypeAny, {
4451
- kind: "url" | "log" | "diff" | "other" | "metrics" | "report";
4466
+ kind: "url" | "diff" | "report" | "metrics" | "other" | "log";
4452
4467
  label: string;
4453
4468
  path?: string | undefined;
4454
4469
  source?: string | undefined;
@@ -4461,7 +4476,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4461
4476
  label: string;
4462
4477
  path?: string | undefined;
4463
4478
  source?: string | undefined;
4464
- kind?: "url" | "log" | "diff" | "other" | "metrics" | "report" | undefined;
4479
+ kind?: "url" | "diff" | "report" | "metrics" | "other" | "log" | undefined;
4465
4480
  url?: string | undefined;
4466
4481
  state_relative_path?: string | undefined;
4467
4482
  retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
@@ -4504,20 +4519,9 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4504
4519
  }>, "many">>;
4505
4520
  summary: z.ZodOptional<z.ZodString>;
4506
4521
  }, "strict", z.ZodTypeAny, {
4507
- kind: "verification" | "observation" | "metric" | "decision" | "failure" | "strategy" | "task_generation" | "research" | "execution" | "other" | "artifact" | "dream_checkpoint" | "evaluator" | "correction";
4522
+ kind: "verification" | "observation" | "metric" | "decision" | "failure" | "correction" | "strategy" | "task_generation" | "research" | "dream_checkpoint" | "execution" | "other" | "artifact" | "evaluator";
4508
4523
  id: string;
4509
4524
  schema_version: "runtime-evidence-entry-v1";
4510
- artifacts: {
4511
- kind: "url" | "log" | "diff" | "other" | "metrics" | "report";
4512
- label: string;
4513
- path?: string | undefined;
4514
- source?: string | undefined;
4515
- url?: string | undefined;
4516
- state_relative_path?: string | undefined;
4517
- retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
4518
- size_bytes?: number | undefined;
4519
- dependency_refs?: string[] | undefined;
4520
- }[];
4521
4525
  scope: {
4522
4526
  goal_id?: string | undefined;
4523
4527
  task_id?: string | undefined;
@@ -4525,13 +4529,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4525
4529
  loop_index?: number | undefined;
4526
4530
  run_id?: string | undefined;
4527
4531
  };
4528
- raw_refs: {
4529
- kind: string;
4530
- path?: string | undefined;
4531
- id?: string | undefined;
4532
- url?: string | undefined;
4533
- state_relative_path?: string | undefined;
4534
- }[];
4532
+ occurred_at: string;
4535
4533
  metrics: {
4536
4534
  label: string;
4537
4535
  value?: string | number | boolean | null | undefined;
@@ -4542,7 +4540,24 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4542
4540
  summary?: string | undefined;
4543
4541
  observed_at?: string | undefined;
4544
4542
  }[];
4545
- occurred_at: string;
4543
+ artifacts: {
4544
+ kind: "url" | "diff" | "report" | "metrics" | "other" | "log";
4545
+ label: string;
4546
+ path?: string | undefined;
4547
+ source?: string | undefined;
4548
+ url?: string | undefined;
4549
+ state_relative_path?: string | undefined;
4550
+ retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
4551
+ size_bytes?: number | undefined;
4552
+ dependency_refs?: string[] | undefined;
4553
+ }[];
4554
+ raw_refs: {
4555
+ kind: string;
4556
+ path?: string | undefined;
4557
+ id?: string | undefined;
4558
+ url?: string | undefined;
4559
+ state_relative_path?: string | undefined;
4560
+ }[];
4546
4561
  verification?: {
4547
4562
  confidence?: number | undefined;
4548
4563
  verdict?: string | undefined;
@@ -4574,48 +4589,6 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4574
4589
  action?: string | undefined;
4575
4590
  } | undefined;
4576
4591
  outcome?: "blocked" | "failed" | "improved" | "regressed" | "inconclusive" | "continued" | undefined;
4577
- result?: {
4578
- status?: string | undefined;
4579
- error?: string | undefined;
4580
- summary?: string | undefined;
4581
- } | undefined;
4582
- strategy?: string | undefined;
4583
- research?: {
4584
- confidence: number;
4585
- external_actions: {
4586
- label: string;
4587
- approval_required: true;
4588
- reason: string;
4589
- }[];
4590
- trigger: "plateau" | "uncertainty" | "knowledge_gap";
4591
- summary: string;
4592
- sources: {
4593
- url: string;
4594
- source_type: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup";
4595
- provenance: "quoted" | "paraphrased" | "summarized";
4596
- title?: string | undefined;
4597
- relevance?: string | undefined;
4598
- }[];
4599
- query: string;
4600
- findings: {
4601
- applicability: string;
4602
- finding: string;
4603
- source_urls: string[];
4604
- risks_constraints: string[];
4605
- proposed_experiment: string;
4606
- expected_metric_impact: string;
4607
- fact_vs_adaptation: {
4608
- facts: string[];
4609
- adaptation: string;
4610
- };
4611
- }[];
4612
- untrusted_content_policy: "webpage_instructions_are_untrusted";
4613
- candidate_playbook?: {
4614
- title: string;
4615
- steps: string[];
4616
- source_urls: string[];
4617
- } | undefined;
4618
- }[] | undefined;
4619
4592
  candidates?: {
4620
4593
  lineage: {
4621
4594
  strategy_family: string;
@@ -4638,18 +4611,6 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4638
4611
  signal: "lineage" | "other" | "declared" | "metric_correlation" | "artifact_overlap";
4639
4612
  summary?: string | undefined;
4640
4613
  }[];
4641
- artifacts: {
4642
- kind: "url" | "log" | "diff" | "other" | "metrics" | "report";
4643
- label: string;
4644
- path?: string | undefined;
4645
- source?: string | undefined;
4646
- url?: string | undefined;
4647
- state_relative_path?: string | undefined;
4648
- retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
4649
- size_bytes?: number | undefined;
4650
- dependency_refs?: string[] | undefined;
4651
- }[];
4652
- disposition: "retained" | "promoted" | "retired";
4653
4614
  metrics: {
4654
4615
  label: string;
4655
4616
  value?: string | number | boolean | null | undefined;
@@ -4660,6 +4621,18 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4660
4621
  summary?: string | undefined;
4661
4622
  observed_at?: string | undefined;
4662
4623
  }[];
4624
+ artifacts: {
4625
+ kind: "url" | "diff" | "report" | "metrics" | "other" | "log";
4626
+ label: string;
4627
+ path?: string | undefined;
4628
+ source?: string | undefined;
4629
+ url?: string | undefined;
4630
+ state_relative_path?: string | undefined;
4631
+ retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
4632
+ size_bytes?: number | undefined;
4633
+ dependency_refs?: string[] | undefined;
4634
+ }[];
4635
+ disposition: "retired" | "retained" | "promoted";
4663
4636
  label?: string | undefined;
4664
4637
  near_miss?: {
4665
4638
  status: "rejected" | "retained" | "promoted";
@@ -4677,8 +4650,8 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4677
4650
  } | undefined;
4678
4651
  } | undefined;
4679
4652
  robustness?: {
4680
- weak_dimensions: string[];
4681
4653
  provenance_refs: string[];
4654
+ weak_dimensions: string[];
4682
4655
  summary?: string | undefined;
4683
4656
  stability_score?: number | undefined;
4684
4657
  diversity_score?: number | undefined;
@@ -4695,24 +4668,10 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4695
4668
  disposition_reason?: string | undefined;
4696
4669
  produced_at?: string | undefined;
4697
4670
  }[] | undefined;
4698
- provenance?: {
4699
- source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
4700
- raw_refs: string[];
4701
- verification_status: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious";
4702
- risk_signals: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[];
4703
- reliability?: number | undefined;
4704
- source_ref?: string | undefined;
4705
- } | undefined;
4706
- verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
4707
4671
  correction?: {
4708
4672
  created_at: string;
4709
4673
  reason: string;
4710
4674
  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
- };
4716
4675
  provenance: {
4717
4676
  source: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
4718
4677
  confidence: number | null;
@@ -4720,9 +4679,13 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4720
4679
  source_ref?: string | undefined;
4721
4680
  note?: string | undefined;
4722
4681
  };
4723
- correction_id: string;
4682
+ audit: {
4683
+ status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
4684
+ retained_for_audit: boolean;
4685
+ destructive_delete_approved_at: string | null;
4686
+ };
4724
4687
  target_ref: {
4725
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
4688
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
4726
4689
  id: string;
4727
4690
  scope?: {
4728
4691
  goal_id?: string | undefined;
@@ -4730,9 +4693,10 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4730
4693
  run_id?: string | undefined;
4731
4694
  } | undefined;
4732
4695
  };
4733
- correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
4696
+ correction_id: string;
4697
+ correction_kind: "superseded" | "retracted" | "corrected" | "forgotten" | "quarantined";
4734
4698
  replacement_ref: {
4735
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
4699
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
4736
4700
  id: string;
4737
4701
  scope?: {
4738
4702
  goal_id?: string | undefined;
@@ -4742,6 +4706,84 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4742
4706
  } | null;
4743
4707
  actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
4744
4708
  } | undefined;
4709
+ provenance?: {
4710
+ source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
4711
+ raw_refs: string[];
4712
+ verification_status: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious";
4713
+ risk_signals: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[];
4714
+ reliability?: number | undefined;
4715
+ source_ref?: string | undefined;
4716
+ } | undefined;
4717
+ correction_state?: {
4718
+ status: "active" | "superseded" | "retracted" | "corrected" | "forgotten" | "quarantined";
4719
+ active: boolean;
4720
+ updated_at: string | null;
4721
+ reason: string | null;
4722
+ target_ref: {
4723
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
4724
+ id: string;
4725
+ scope?: {
4726
+ goal_id?: string | undefined;
4727
+ task_id?: string | undefined;
4728
+ run_id?: string | undefined;
4729
+ } | undefined;
4730
+ };
4731
+ retained_for_audit: boolean;
4732
+ replacement_ref: {
4733
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
4734
+ id: string;
4735
+ scope?: {
4736
+ goal_id?: string | undefined;
4737
+ task_id?: string | undefined;
4738
+ run_id?: string | undefined;
4739
+ } | undefined;
4740
+ } | null;
4741
+ latest_correction_id: string | null;
4742
+ } | undefined;
4743
+ result?: {
4744
+ status?: string | undefined;
4745
+ error?: string | undefined;
4746
+ summary?: string | undefined;
4747
+ } | undefined;
4748
+ strategy?: string | undefined;
4749
+ research?: {
4750
+ confidence: number;
4751
+ external_actions: {
4752
+ label: string;
4753
+ approval_required: true;
4754
+ reason: string;
4755
+ }[];
4756
+ trigger: "plateau" | "uncertainty" | "knowledge_gap";
4757
+ summary: string;
4758
+ sources: {
4759
+ provenance: "quoted" | "paraphrased" | "summarized";
4760
+ url: string;
4761
+ source_type: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup";
4762
+ title?: string | undefined;
4763
+ relevance?: string | undefined;
4764
+ }[];
4765
+ query: string;
4766
+ findings: {
4767
+ applicability: string;
4768
+ finding: string;
4769
+ source_urls: string[];
4770
+ risks_constraints: string[];
4771
+ proposed_experiment: string;
4772
+ expected_metric_impact: string;
4773
+ fact_vs_adaptation: {
4774
+ facts: string[];
4775
+ adaptation: string;
4776
+ };
4777
+ }[];
4778
+ untrusted_content_policy: "webpage_instructions_are_untrusted";
4779
+ candidate_playbook?: {
4780
+ title: string;
4781
+ steps: string[];
4782
+ source_urls: string[];
4783
+ } | undefined;
4784
+ }[] | undefined;
4785
+ decision_reason?: string | undefined;
4786
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
4745
4787
  quarantine_state?: {
4746
4788
  status: "quarantined";
4747
4789
  source: "system" | "user" | "runtime_verification" | "memory_lint";
@@ -4752,7 +4794,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4752
4794
  inspection_refs: string[];
4753
4795
  } | undefined;
4754
4796
  evaluators?: {
4755
- status: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded";
4797
+ status: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "succeeded" | "submitted";
4756
4798
  source: string;
4757
4799
  candidate_id: string;
4758
4800
  signal: "external" | "local";
@@ -4779,8 +4821,8 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4779
4821
  approval_required: boolean;
4780
4822
  remaining_attempts: number;
4781
4823
  phase?: "exploration" | "consolidation" | "finalization" | "other" | undefined;
4782
- policy_id?: string | undefined;
4783
4824
  max_attempts?: number | undefined;
4825
+ policy_id?: string | undefined;
4784
4826
  used_attempts?: number | undefined;
4785
4827
  deadline_at?: string | undefined;
4786
4828
  portfolio_policy?: {
@@ -4793,7 +4835,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4793
4835
  artifact_labels?: string[] | undefined;
4794
4836
  score_label?: string | undefined;
4795
4837
  expected_score?: string | number | boolean | null | undefined;
4796
- expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
4838
+ expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "succeeded" | "submitted" | undefined;
4797
4839
  expectation_source?: string | undefined;
4798
4840
  publish_action?: {
4799
4841
  label: string;
@@ -4838,18 +4880,17 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4838
4880
  confidence: number;
4839
4881
  trigger: "iteration" | "breakthrough" | "plateau" | "pre_finalization";
4840
4882
  summary: string;
4883
+ exhausted: string[];
4841
4884
  uncertainty: string[];
4842
4885
  current_goal: string;
4843
4886
  active_dimensions: string[];
4844
4887
  recent_strategy_families: string[];
4845
- exhausted: string[];
4846
4888
  promising: string[];
4847
4889
  relevant_memories: {
4848
4890
  summary: string;
4849
- source_type: "other" | "soil" | "playbook" | "runtime_evidence";
4850
4891
  authority: "advisory_only";
4892
+ source_type: "soil" | "runtime_evidence" | "other" | "playbook";
4851
4893
  ref?: string | undefined;
4852
- recency_score?: number | undefined;
4853
4894
  provenance?: {
4854
4895
  source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
4855
4896
  raw_refs: string[];
@@ -4858,8 +4899,9 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4858
4899
  reliability?: number | undefined;
4859
4900
  source_ref?: string | undefined;
4860
4901
  } | undefined;
4861
- relevance_score?: number | undefined;
4862
4902
  source_reliability?: number | undefined;
4903
+ recency_score?: number | undefined;
4904
+ relevance_score?: number | undefined;
4863
4905
  prior_success_contribution?: number | undefined;
4864
4906
  retrieval?: {
4865
4907
  kind: "unknown" | "manual" | "checkpoint" | "route_hit" | "fallback_hit";
@@ -4875,7 +4917,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4875
4917
  ranking_trace?: {
4876
4918
  reason: string;
4877
4919
  score: number;
4878
- decision: "rejected" | "admitted";
4920
+ decision: "admitted" | "rejected";
4879
4921
  } | undefined;
4880
4922
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
4881
4923
  quarantine_state?: {
@@ -4900,13 +4942,15 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4900
4942
  approach: string;
4901
4943
  rejection_reason: string;
4902
4944
  evidence_ref?: string | undefined;
4903
- revisit_condition?: string | undefined;
4904
4945
  candidate_ref?: string | undefined;
4946
+ revisit_condition?: string | undefined;
4905
4947
  }[];
4906
4948
  next_strategy_candidates: {
4907
4949
  rationale: string;
4908
4950
  title: string;
4909
4951
  target_dimensions: string[];
4952
+ failed_lineage_fingerprints?: string[] | undefined;
4953
+ candidate_ref?: string | undefined;
4910
4954
  expected_evidence_gain?: string | undefined;
4911
4955
  retry_reason?: string | undefined;
4912
4956
  failed_lineage_warning?: {
@@ -4914,7 +4958,6 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4914
4958
  count: number;
4915
4959
  fingerprint: string;
4916
4960
  } | undefined;
4917
- candidate_ref?: string | undefined;
4918
4961
  }[];
4919
4962
  guidance: string;
4920
4963
  context_authority: "advisory_only";
@@ -4924,7 +4967,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4924
4967
  rationale: string;
4925
4968
  approval_required: boolean;
4926
4969
  evidence: {
4927
- kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
4970
+ kind: "deadline" | "metric" | "lineage" | "runtime_state" | "memory" | "task_history" | "artifact" | "external_feedback";
4928
4971
  summary: string;
4929
4972
  ref?: string | undefined;
4930
4973
  }[];
@@ -4937,39 +4980,12 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
4937
4980
  target_strategy_family?: string | undefined;
4938
4981
  policy_decision?: {
4939
4982
  reason: string;
4940
- disposition: "approval_required" | "advisory_only" | "auto_apply";
4983
+ disposition: "approval_required" | "auto_apply" | "advisory_only";
4941
4984
  } | undefined;
4942
4985
  }[] | undefined;
4943
4986
  }[] | undefined;
4944
- correction_state?: {
4945
- status: "active" | "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
4946
- active: boolean;
4947
- updated_at: string | null;
4948
- reason: string | null;
4949
- retained_for_audit: boolean;
4950
- target_ref: {
4951
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
4952
- id: string;
4953
- scope?: {
4954
- goal_id?: string | undefined;
4955
- task_id?: string | undefined;
4956
- run_id?: string | undefined;
4957
- } | undefined;
4958
- };
4959
- replacement_ref: {
4960
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
4961
- id: string;
4962
- scope?: {
4963
- goal_id?: string | undefined;
4964
- task_id?: string | undefined;
4965
- run_id?: string | undefined;
4966
- } | undefined;
4967
- } | null;
4968
- latest_correction_id: string | null;
4969
- } | undefined;
4970
- decision_reason?: string | undefined;
4971
4987
  }, {
4972
- kind: "verification" | "observation" | "metric" | "decision" | "failure" | "strategy" | "task_generation" | "research" | "execution" | "other" | "artifact" | "dream_checkpoint" | "evaluator" | "correction";
4988
+ kind: "verification" | "observation" | "metric" | "decision" | "failure" | "correction" | "strategy" | "task_generation" | "research" | "dream_checkpoint" | "execution" | "other" | "artifact" | "evaluator";
4973
4989
  id: string;
4974
4990
  schema_version: "runtime-evidence-entry-v1";
4975
4991
  scope: {
@@ -5011,59 +5027,6 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5011
5027
  action?: string | undefined;
5012
5028
  } | undefined;
5013
5029
  outcome?: "blocked" | "failed" | "improved" | "regressed" | "inconclusive" | "continued" | undefined;
5014
- result?: {
5015
- status?: string | undefined;
5016
- error?: string | undefined;
5017
- summary?: string | undefined;
5018
- } | undefined;
5019
- strategy?: string | undefined;
5020
- research?: {
5021
- trigger: "plateau" | "uncertainty" | "knowledge_gap";
5022
- summary: string;
5023
- sources: {
5024
- url: string;
5025
- title?: string | undefined;
5026
- source_type?: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup" | undefined;
5027
- provenance?: "quoted" | "paraphrased" | "summarized" | undefined;
5028
- relevance?: string | undefined;
5029
- }[];
5030
- query: string;
5031
- findings: {
5032
- applicability: string;
5033
- finding: string;
5034
- source_urls: string[];
5035
- proposed_experiment: string;
5036
- expected_metric_impact: string;
5037
- fact_vs_adaptation: {
5038
- adaptation: string;
5039
- facts?: string[] | undefined;
5040
- };
5041
- risks_constraints?: string[] | undefined;
5042
- }[];
5043
- confidence?: number | undefined;
5044
- external_actions?: {
5045
- label: string;
5046
- reason: string;
5047
- approval_required?: true | undefined;
5048
- }[] | undefined;
5049
- candidate_playbook?: {
5050
- title: string;
5051
- steps?: string[] | undefined;
5052
- source_urls?: string[] | undefined;
5053
- } | undefined;
5054
- untrusted_content_policy?: "webpage_instructions_are_untrusted" | undefined;
5055
- }[] | undefined;
5056
- artifacts?: {
5057
- label: string;
5058
- path?: string | undefined;
5059
- source?: string | undefined;
5060
- kind?: "url" | "log" | "diff" | "other" | "metrics" | "report" | undefined;
5061
- url?: string | undefined;
5062
- state_relative_path?: string | undefined;
5063
- retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
5064
- size_bytes?: number | undefined;
5065
- dependency_refs?: string[] | undefined;
5066
- }[] | undefined;
5067
5030
  candidates?: {
5068
5031
  lineage: {
5069
5032
  strategy_family: string;
@@ -5087,18 +5050,28 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5087
5050
  summary?: string | undefined;
5088
5051
  signal?: "lineage" | "other" | "declared" | "metric_correlation" | "artifact_overlap" | undefined;
5089
5052
  }[] | undefined;
5053
+ metrics?: {
5054
+ label: string;
5055
+ value?: string | number | boolean | null | undefined;
5056
+ source?: string | undefined;
5057
+ unit?: string | undefined;
5058
+ confidence?: number | undefined;
5059
+ direction?: "neutral" | "maximize" | "minimize" | undefined;
5060
+ summary?: string | undefined;
5061
+ observed_at?: string | undefined;
5062
+ }[] | undefined;
5090
5063
  artifacts?: {
5091
5064
  label: string;
5092
5065
  path?: string | undefined;
5093
5066
  source?: string | undefined;
5094
- kind?: "url" | "log" | "diff" | "other" | "metrics" | "report" | undefined;
5067
+ kind?: "url" | "diff" | "report" | "metrics" | "other" | "log" | undefined;
5095
5068
  url?: string | undefined;
5096
5069
  state_relative_path?: string | undefined;
5097
5070
  retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
5098
5071
  size_bytes?: number | undefined;
5099
5072
  dependency_refs?: string[] | undefined;
5100
5073
  }[] | undefined;
5101
- disposition?: "retained" | "promoted" | "retired" | undefined;
5074
+ disposition?: "retired" | "retained" | "promoted" | undefined;
5102
5075
  near_miss?: {
5103
5076
  reason_to_keep: ("close_to_best" | "stability" | "novelty" | "weak_dimension_improvement" | "complementarity" | "ensemble_potential")[];
5104
5077
  status?: "rejected" | "retained" | "promoted" | undefined;
@@ -5114,18 +5087,9 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5114
5087
  expected_evidence_gain?: string | undefined;
5115
5088
  } | undefined;
5116
5089
  } | undefined;
5117
- metrics?: {
5118
- label: string;
5119
- value?: string | number | boolean | null | undefined;
5120
- source?: string | undefined;
5121
- unit?: string | undefined;
5122
- confidence?: number | undefined;
5123
- direction?: "neutral" | "maximize" | "minimize" | undefined;
5124
- summary?: string | undefined;
5125
- observed_at?: string | undefined;
5126
- }[] | undefined;
5127
5090
  robustness?: {
5128
5091
  summary?: string | undefined;
5092
+ provenance_refs?: string[] | undefined;
5129
5093
  weak_dimensions?: string[] | undefined;
5130
5094
  stability_score?: number | undefined;
5131
5095
  diversity_score?: number | undefined;
@@ -5138,27 +5102,10 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5138
5102
  score_stddev?: number | undefined;
5139
5103
  fold_score_range?: number | undefined;
5140
5104
  seed_score_range?: number | undefined;
5141
- provenance_refs?: string[] | undefined;
5142
5105
  } | undefined;
5143
5106
  disposition_reason?: string | undefined;
5144
5107
  produced_at?: string | undefined;
5145
5108
  }[] | undefined;
5146
- provenance?: {
5147
- reliability?: number | undefined;
5148
- source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
5149
- source_ref?: string | undefined;
5150
- raw_refs?: string[] | undefined;
5151
- verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
5152
- risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
5153
- } | undefined;
5154
- raw_refs?: {
5155
- kind: string;
5156
- path?: string | undefined;
5157
- id?: string | undefined;
5158
- url?: string | undefined;
5159
- state_relative_path?: string | undefined;
5160
- }[] | undefined;
5161
- verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
5162
5109
  correction?: {
5163
5110
  created_at: string;
5164
5111
  reason: string;
@@ -5169,9 +5116,8 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5169
5116
  source_ref?: string | undefined;
5170
5117
  note?: string | undefined;
5171
5118
  };
5172
- correction_id: string;
5173
5119
  target_ref: {
5174
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
5120
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
5175
5121
  id: string;
5176
5122
  scope?: {
5177
5123
  goal_id?: string | undefined;
@@ -5179,7 +5125,8 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5179
5125
  run_id?: string | undefined;
5180
5126
  } | undefined;
5181
5127
  };
5182
- correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
5128
+ correction_id: string;
5129
+ correction_kind: "superseded" | "retracted" | "corrected" | "forgotten" | "quarantined";
5183
5130
  actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
5184
5131
  schema_version?: "memory-correction-entry-v1" | undefined;
5185
5132
  audit?: {
@@ -5188,7 +5135,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5188
5135
  destructive_delete_approved_at?: string | null | undefined;
5189
5136
  } | undefined;
5190
5137
  replacement_ref?: {
5191
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
5138
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
5192
5139
  id: string;
5193
5140
  scope?: {
5194
5141
  goal_id?: string | undefined;
@@ -5197,6 +5144,83 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5197
5144
  } | undefined;
5198
5145
  } | null | undefined;
5199
5146
  } | undefined;
5147
+ provenance?: {
5148
+ reliability?: number | undefined;
5149
+ source_ref?: string | undefined;
5150
+ source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
5151
+ raw_refs?: string[] | undefined;
5152
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
5153
+ risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
5154
+ } | undefined;
5155
+ correction_state?: {
5156
+ status: "active" | "superseded" | "retracted" | "corrected" | "forgotten" | "quarantined";
5157
+ active: boolean;
5158
+ target_ref: {
5159
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
5160
+ id: string;
5161
+ scope?: {
5162
+ goal_id?: string | undefined;
5163
+ task_id?: string | undefined;
5164
+ run_id?: string | undefined;
5165
+ } | undefined;
5166
+ };
5167
+ updated_at?: string | null | undefined;
5168
+ reason?: string | null | undefined;
5169
+ retained_for_audit?: boolean | undefined;
5170
+ replacement_ref?: {
5171
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
5172
+ id: string;
5173
+ scope?: {
5174
+ goal_id?: string | undefined;
5175
+ task_id?: string | undefined;
5176
+ run_id?: string | undefined;
5177
+ } | undefined;
5178
+ } | null | undefined;
5179
+ latest_correction_id?: string | null | undefined;
5180
+ } | undefined;
5181
+ result?: {
5182
+ status?: string | undefined;
5183
+ error?: string | undefined;
5184
+ summary?: string | undefined;
5185
+ } | undefined;
5186
+ strategy?: string | undefined;
5187
+ research?: {
5188
+ trigger: "plateau" | "uncertainty" | "knowledge_gap";
5189
+ summary: string;
5190
+ sources: {
5191
+ url: string;
5192
+ title?: string | undefined;
5193
+ provenance?: "quoted" | "paraphrased" | "summarized" | undefined;
5194
+ source_type?: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup" | undefined;
5195
+ relevance?: string | undefined;
5196
+ }[];
5197
+ query: string;
5198
+ findings: {
5199
+ applicability: string;
5200
+ finding: string;
5201
+ source_urls: string[];
5202
+ proposed_experiment: string;
5203
+ expected_metric_impact: string;
5204
+ fact_vs_adaptation: {
5205
+ adaptation: string;
5206
+ facts?: string[] | undefined;
5207
+ };
5208
+ risks_constraints?: string[] | undefined;
5209
+ }[];
5210
+ confidence?: number | undefined;
5211
+ external_actions?: {
5212
+ label: string;
5213
+ reason: string;
5214
+ approval_required?: true | undefined;
5215
+ }[] | undefined;
5216
+ candidate_playbook?: {
5217
+ title: string;
5218
+ steps?: string[] | undefined;
5219
+ source_urls?: string[] | undefined;
5220
+ } | undefined;
5221
+ untrusted_content_policy?: "webpage_instructions_are_untrusted" | undefined;
5222
+ }[] | undefined;
5223
+ decision_reason?: string | undefined;
5200
5224
  metrics?: {
5201
5225
  label: string;
5202
5226
  value?: string | number | boolean | null | undefined;
@@ -5207,6 +5231,25 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5207
5231
  summary?: string | undefined;
5208
5232
  observed_at?: string | undefined;
5209
5233
  }[] | undefined;
5234
+ artifacts?: {
5235
+ label: string;
5236
+ path?: string | undefined;
5237
+ source?: string | undefined;
5238
+ kind?: "url" | "diff" | "report" | "metrics" | "other" | "log" | undefined;
5239
+ url?: string | undefined;
5240
+ state_relative_path?: string | undefined;
5241
+ retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
5242
+ size_bytes?: number | undefined;
5243
+ dependency_refs?: string[] | undefined;
5244
+ }[] | undefined;
5245
+ raw_refs?: {
5246
+ kind: string;
5247
+ path?: string | undefined;
5248
+ id?: string | undefined;
5249
+ url?: string | undefined;
5250
+ state_relative_path?: string | undefined;
5251
+ }[] | undefined;
5252
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
5210
5253
  quarantine_state?: {
5211
5254
  status: "quarantined";
5212
5255
  confidence: number;
@@ -5226,7 +5269,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5226
5269
  summary?: string | undefined;
5227
5270
  command?: string | undefined;
5228
5271
  } | undefined;
5229
- status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
5272
+ status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "succeeded" | "submitted" | undefined;
5230
5273
  direction?: "neutral" | "maximize" | "minimize" | undefined;
5231
5274
  summary?: string | undefined;
5232
5275
  score?: string | number | boolean | null | undefined;
@@ -5244,8 +5287,8 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5244
5287
  remaining_attempts: number;
5245
5288
  approval_required?: boolean | undefined;
5246
5289
  phase?: "exploration" | "consolidation" | "finalization" | "other" | undefined;
5247
- policy_id?: string | undefined;
5248
5290
  max_attempts?: number | undefined;
5291
+ policy_id?: string | undefined;
5249
5292
  used_attempts?: number | undefined;
5250
5293
  deadline_at?: string | undefined;
5251
5294
  portfolio_policy?: {
@@ -5258,7 +5301,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5258
5301
  artifact_labels?: string[] | undefined;
5259
5302
  score_label?: string | undefined;
5260
5303
  expected_score?: string | number | boolean | null | undefined;
5261
- expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
5304
+ expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "succeeded" | "submitted" | undefined;
5262
5305
  expectation_source?: string | undefined;
5263
5306
  publish_action?: {
5264
5307
  label: string;
@@ -5305,28 +5348,28 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5305
5348
  current_goal: string;
5306
5349
  guidance: string;
5307
5350
  confidence?: number | undefined;
5351
+ exhausted?: string[] | undefined;
5308
5352
  uncertainty?: string[] | undefined;
5309
5353
  active_dimensions?: string[] | undefined;
5310
5354
  best_evidence_so_far?: string | undefined;
5311
5355
  recent_strategy_families?: string[] | undefined;
5312
- exhausted?: string[] | undefined;
5313
5356
  promising?: string[] | undefined;
5314
5357
  relevant_memories?: {
5315
5358
  summary: string;
5316
- source_type: "other" | "soil" | "playbook" | "runtime_evidence";
5359
+ source_type: "soil" | "runtime_evidence" | "other" | "playbook";
5317
5360
  ref?: string | undefined;
5318
- recency_score?: number | undefined;
5319
5361
  provenance?: {
5320
5362
  reliability?: number | undefined;
5321
- source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
5322
5363
  source_ref?: string | undefined;
5364
+ source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
5323
5365
  raw_refs?: string[] | undefined;
5324
5366
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
5325
5367
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
5326
5368
  } | undefined;
5327
5369
  authority?: "advisory_only" | undefined;
5328
- relevance_score?: number | undefined;
5329
5370
  source_reliability?: number | undefined;
5371
+ recency_score?: number | undefined;
5372
+ relevance_score?: number | undefined;
5330
5373
  prior_success_contribution?: number | undefined;
5331
5374
  retrieval?: {
5332
5375
  confidence?: number | undefined;
@@ -5342,7 +5385,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5342
5385
  ranking_trace?: {
5343
5386
  reason: string;
5344
5387
  score: number;
5345
- decision: "rejected" | "admitted";
5388
+ decision: "admitted" | "rejected";
5346
5389
  } | undefined;
5347
5390
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
5348
5391
  quarantine_state?: {
@@ -5367,13 +5410,15 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5367
5410
  rejection_reason: string;
5368
5411
  confidence?: number | undefined;
5369
5412
  evidence_ref?: string | undefined;
5370
- revisit_condition?: string | undefined;
5371
5413
  candidate_ref?: string | undefined;
5414
+ revisit_condition?: string | undefined;
5372
5415
  }[] | undefined;
5373
5416
  next_strategy_candidates?: {
5374
5417
  rationale: string;
5375
5418
  title: string;
5376
5419
  target_dimensions?: string[] | undefined;
5420
+ failed_lineage_fingerprints?: string[] | undefined;
5421
+ candidate_ref?: string | undefined;
5377
5422
  expected_evidence_gain?: string | undefined;
5378
5423
  retry_reason?: string | undefined;
5379
5424
  failed_lineage_warning?: {
@@ -5381,12 +5426,11 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5381
5426
  count: number;
5382
5427
  fingerprint: string;
5383
5428
  } | undefined;
5384
- candidate_ref?: string | undefined;
5385
5429
  }[] | undefined;
5386
5430
  run_control_recommendations?: {
5387
5431
  rationale: string;
5388
5432
  evidence: {
5389
- kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
5433
+ kind: "deadline" | "metric" | "lineage" | "runtime_state" | "memory" | "task_history" | "artifact" | "external_feedback";
5390
5434
  summary: string;
5391
5435
  ref?: string | undefined;
5392
5436
  }[];
@@ -5401,53 +5445,15 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5401
5445
  lineage_refs?: string[] | undefined;
5402
5446
  policy_decision?: {
5403
5447
  reason: string;
5404
- disposition: "approval_required" | "advisory_only" | "auto_apply";
5448
+ disposition: "approval_required" | "auto_apply" | "advisory_only";
5405
5449
  } | undefined;
5406
5450
  }[] | undefined;
5407
5451
  context_authority?: "advisory_only" | undefined;
5408
5452
  }[] | undefined;
5409
- correction_state?: {
5410
- status: "active" | "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
5411
- active: boolean;
5412
- target_ref: {
5413
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
5414
- id: string;
5415
- scope?: {
5416
- goal_id?: string | undefined;
5417
- task_id?: string | undefined;
5418
- run_id?: string | undefined;
5419
- } | undefined;
5420
- };
5421
- updated_at?: string | null | undefined;
5422
- reason?: string | null | undefined;
5423
- retained_for_audit?: boolean | undefined;
5424
- replacement_ref?: {
5425
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
5426
- id: string;
5427
- scope?: {
5428
- goal_id?: string | undefined;
5429
- task_id?: string | undefined;
5430
- run_id?: string | undefined;
5431
- } | undefined;
5432
- } | null | undefined;
5433
- latest_correction_id?: string | null | undefined;
5434
- } | undefined;
5435
- decision_reason?: string | undefined;
5436
5453
  }>, {
5437
- kind: "verification" | "observation" | "metric" | "decision" | "failure" | "strategy" | "task_generation" | "research" | "execution" | "other" | "artifact" | "dream_checkpoint" | "evaluator" | "correction";
5454
+ kind: "verification" | "observation" | "metric" | "decision" | "failure" | "correction" | "strategy" | "task_generation" | "research" | "dream_checkpoint" | "execution" | "other" | "artifact" | "evaluator";
5438
5455
  id: string;
5439
5456
  schema_version: "runtime-evidence-entry-v1";
5440
- artifacts: {
5441
- kind: "url" | "log" | "diff" | "other" | "metrics" | "report";
5442
- label: string;
5443
- path?: string | undefined;
5444
- source?: string | undefined;
5445
- url?: string | undefined;
5446
- state_relative_path?: string | undefined;
5447
- retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
5448
- size_bytes?: number | undefined;
5449
- dependency_refs?: string[] | undefined;
5450
- }[];
5451
5457
  scope: {
5452
5458
  goal_id?: string | undefined;
5453
5459
  task_id?: string | undefined;
@@ -5455,13 +5461,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5455
5461
  loop_index?: number | undefined;
5456
5462
  run_id?: string | undefined;
5457
5463
  };
5458
- raw_refs: {
5459
- kind: string;
5460
- path?: string | undefined;
5461
- id?: string | undefined;
5462
- url?: string | undefined;
5463
- state_relative_path?: string | undefined;
5464
- }[];
5464
+ occurred_at: string;
5465
5465
  metrics: {
5466
5466
  label: string;
5467
5467
  value?: string | number | boolean | null | undefined;
@@ -5472,7 +5472,24 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5472
5472
  summary?: string | undefined;
5473
5473
  observed_at?: string | undefined;
5474
5474
  }[];
5475
- occurred_at: string;
5475
+ artifacts: {
5476
+ kind: "url" | "diff" | "report" | "metrics" | "other" | "log";
5477
+ label: string;
5478
+ path?: string | undefined;
5479
+ source?: string | undefined;
5480
+ url?: string | undefined;
5481
+ state_relative_path?: string | undefined;
5482
+ retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
5483
+ size_bytes?: number | undefined;
5484
+ dependency_refs?: string[] | undefined;
5485
+ }[];
5486
+ raw_refs: {
5487
+ kind: string;
5488
+ path?: string | undefined;
5489
+ id?: string | undefined;
5490
+ url?: string | undefined;
5491
+ state_relative_path?: string | undefined;
5492
+ }[];
5476
5493
  verification?: {
5477
5494
  confidence?: number | undefined;
5478
5495
  verdict?: string | undefined;
@@ -5504,48 +5521,6 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5504
5521
  action?: string | undefined;
5505
5522
  } | undefined;
5506
5523
  outcome?: "blocked" | "failed" | "improved" | "regressed" | "inconclusive" | "continued" | undefined;
5507
- result?: {
5508
- status?: string | undefined;
5509
- error?: string | undefined;
5510
- summary?: string | undefined;
5511
- } | undefined;
5512
- strategy?: string | undefined;
5513
- research?: {
5514
- confidence: number;
5515
- external_actions: {
5516
- label: string;
5517
- approval_required: true;
5518
- reason: string;
5519
- }[];
5520
- trigger: "plateau" | "uncertainty" | "knowledge_gap";
5521
- summary: string;
5522
- sources: {
5523
- url: string;
5524
- source_type: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup";
5525
- provenance: "quoted" | "paraphrased" | "summarized";
5526
- title?: string | undefined;
5527
- relevance?: string | undefined;
5528
- }[];
5529
- query: string;
5530
- findings: {
5531
- applicability: string;
5532
- finding: string;
5533
- source_urls: string[];
5534
- risks_constraints: string[];
5535
- proposed_experiment: string;
5536
- expected_metric_impact: string;
5537
- fact_vs_adaptation: {
5538
- facts: string[];
5539
- adaptation: string;
5540
- };
5541
- }[];
5542
- untrusted_content_policy: "webpage_instructions_are_untrusted";
5543
- candidate_playbook?: {
5544
- title: string;
5545
- steps: string[];
5546
- source_urls: string[];
5547
- } | undefined;
5548
- }[] | undefined;
5549
5524
  candidates?: {
5550
5525
  lineage: {
5551
5526
  strategy_family: string;
@@ -5568,18 +5543,6 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5568
5543
  signal: "lineage" | "other" | "declared" | "metric_correlation" | "artifact_overlap";
5569
5544
  summary?: string | undefined;
5570
5545
  }[];
5571
- artifacts: {
5572
- kind: "url" | "log" | "diff" | "other" | "metrics" | "report";
5573
- label: string;
5574
- path?: string | undefined;
5575
- source?: string | undefined;
5576
- url?: string | undefined;
5577
- state_relative_path?: string | undefined;
5578
- retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
5579
- size_bytes?: number | undefined;
5580
- dependency_refs?: string[] | undefined;
5581
- }[];
5582
- disposition: "retained" | "promoted" | "retired";
5583
5546
  metrics: {
5584
5547
  label: string;
5585
5548
  value?: string | number | boolean | null | undefined;
@@ -5590,6 +5553,18 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5590
5553
  summary?: string | undefined;
5591
5554
  observed_at?: string | undefined;
5592
5555
  }[];
5556
+ artifacts: {
5557
+ kind: "url" | "diff" | "report" | "metrics" | "other" | "log";
5558
+ label: string;
5559
+ path?: string | undefined;
5560
+ source?: string | undefined;
5561
+ url?: string | undefined;
5562
+ state_relative_path?: string | undefined;
5563
+ retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
5564
+ size_bytes?: number | undefined;
5565
+ dependency_refs?: string[] | undefined;
5566
+ }[];
5567
+ disposition: "retired" | "retained" | "promoted";
5593
5568
  label?: string | undefined;
5594
5569
  near_miss?: {
5595
5570
  status: "rejected" | "retained" | "promoted";
@@ -5607,8 +5582,8 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5607
5582
  } | undefined;
5608
5583
  } | undefined;
5609
5584
  robustness?: {
5610
- weak_dimensions: string[];
5611
5585
  provenance_refs: string[];
5586
+ weak_dimensions: string[];
5612
5587
  summary?: string | undefined;
5613
5588
  stability_score?: number | undefined;
5614
5589
  diversity_score?: number | undefined;
@@ -5625,24 +5600,10 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5625
5600
  disposition_reason?: string | undefined;
5626
5601
  produced_at?: string | undefined;
5627
5602
  }[] | undefined;
5628
- provenance?: {
5629
- source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
5630
- raw_refs: string[];
5631
- verification_status: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious";
5632
- risk_signals: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[];
5633
- reliability?: number | undefined;
5634
- source_ref?: string | undefined;
5635
- } | undefined;
5636
- verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
5637
5603
  correction?: {
5638
5604
  created_at: string;
5639
5605
  reason: string;
5640
5606
  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
- };
5646
5607
  provenance: {
5647
5608
  source: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
5648
5609
  confidence: number | null;
@@ -5650,9 +5611,13 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5650
5611
  source_ref?: string | undefined;
5651
5612
  note?: string | undefined;
5652
5613
  };
5653
- correction_id: string;
5614
+ audit: {
5615
+ status: "active" | "superseded" | "disputed" | "destructive_delete_requested";
5616
+ retained_for_audit: boolean;
5617
+ destructive_delete_approved_at: string | null;
5618
+ };
5654
5619
  target_ref: {
5655
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
5620
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
5656
5621
  id: string;
5657
5622
  scope?: {
5658
5623
  goal_id?: string | undefined;
@@ -5660,9 +5625,10 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5660
5625
  run_id?: string | undefined;
5661
5626
  } | undefined;
5662
5627
  };
5663
- correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
5628
+ correction_id: string;
5629
+ correction_kind: "superseded" | "retracted" | "corrected" | "forgotten" | "quarantined";
5664
5630
  replacement_ref: {
5665
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
5631
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
5666
5632
  id: string;
5667
5633
  scope?: {
5668
5634
  goal_id?: string | undefined;
@@ -5672,6 +5638,84 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5672
5638
  } | null;
5673
5639
  actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
5674
5640
  } | undefined;
5641
+ provenance?: {
5642
+ source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
5643
+ raw_refs: string[];
5644
+ verification_status: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious";
5645
+ risk_signals: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[];
5646
+ reliability?: number | undefined;
5647
+ source_ref?: string | undefined;
5648
+ } | undefined;
5649
+ correction_state?: {
5650
+ status: "active" | "superseded" | "retracted" | "corrected" | "forgotten" | "quarantined";
5651
+ active: boolean;
5652
+ updated_at: string | null;
5653
+ reason: string | null;
5654
+ target_ref: {
5655
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
5656
+ id: string;
5657
+ scope?: {
5658
+ goal_id?: string | undefined;
5659
+ task_id?: string | undefined;
5660
+ run_id?: string | undefined;
5661
+ } | undefined;
5662
+ };
5663
+ retained_for_audit: boolean;
5664
+ replacement_ref: {
5665
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
5666
+ id: string;
5667
+ scope?: {
5668
+ goal_id?: string | undefined;
5669
+ task_id?: string | undefined;
5670
+ run_id?: string | undefined;
5671
+ } | undefined;
5672
+ } | null;
5673
+ latest_correction_id: string | null;
5674
+ } | undefined;
5675
+ result?: {
5676
+ status?: string | undefined;
5677
+ error?: string | undefined;
5678
+ summary?: string | undefined;
5679
+ } | undefined;
5680
+ strategy?: string | undefined;
5681
+ research?: {
5682
+ confidence: number;
5683
+ external_actions: {
5684
+ label: string;
5685
+ approval_required: true;
5686
+ reason: string;
5687
+ }[];
5688
+ trigger: "plateau" | "uncertainty" | "knowledge_gap";
5689
+ summary: string;
5690
+ sources: {
5691
+ provenance: "quoted" | "paraphrased" | "summarized";
5692
+ url: string;
5693
+ source_type: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup";
5694
+ title?: string | undefined;
5695
+ relevance?: string | undefined;
5696
+ }[];
5697
+ query: string;
5698
+ findings: {
5699
+ applicability: string;
5700
+ finding: string;
5701
+ source_urls: string[];
5702
+ risks_constraints: string[];
5703
+ proposed_experiment: string;
5704
+ expected_metric_impact: string;
5705
+ fact_vs_adaptation: {
5706
+ facts: string[];
5707
+ adaptation: string;
5708
+ };
5709
+ }[];
5710
+ untrusted_content_policy: "webpage_instructions_are_untrusted";
5711
+ candidate_playbook?: {
5712
+ title: string;
5713
+ steps: string[];
5714
+ source_urls: string[];
5715
+ } | undefined;
5716
+ }[] | undefined;
5717
+ decision_reason?: string | undefined;
5718
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
5675
5719
  quarantine_state?: {
5676
5720
  status: "quarantined";
5677
5721
  source: "system" | "user" | "runtime_verification" | "memory_lint";
@@ -5682,7 +5726,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5682
5726
  inspection_refs: string[];
5683
5727
  } | undefined;
5684
5728
  evaluators?: {
5685
- status: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded";
5729
+ status: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "succeeded" | "submitted";
5686
5730
  source: string;
5687
5731
  candidate_id: string;
5688
5732
  signal: "external" | "local";
@@ -5709,8 +5753,8 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5709
5753
  approval_required: boolean;
5710
5754
  remaining_attempts: number;
5711
5755
  phase?: "exploration" | "consolidation" | "finalization" | "other" | undefined;
5712
- policy_id?: string | undefined;
5713
5756
  max_attempts?: number | undefined;
5757
+ policy_id?: string | undefined;
5714
5758
  used_attempts?: number | undefined;
5715
5759
  deadline_at?: string | undefined;
5716
5760
  portfolio_policy?: {
@@ -5723,7 +5767,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5723
5767
  artifact_labels?: string[] | undefined;
5724
5768
  score_label?: string | undefined;
5725
5769
  expected_score?: string | number | boolean | null | undefined;
5726
- expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
5770
+ expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "succeeded" | "submitted" | undefined;
5727
5771
  expectation_source?: string | undefined;
5728
5772
  publish_action?: {
5729
5773
  label: string;
@@ -5768,18 +5812,17 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5768
5812
  confidence: number;
5769
5813
  trigger: "iteration" | "breakthrough" | "plateau" | "pre_finalization";
5770
5814
  summary: string;
5815
+ exhausted: string[];
5771
5816
  uncertainty: string[];
5772
5817
  current_goal: string;
5773
5818
  active_dimensions: string[];
5774
5819
  recent_strategy_families: string[];
5775
- exhausted: string[];
5776
5820
  promising: string[];
5777
5821
  relevant_memories: {
5778
5822
  summary: string;
5779
- source_type: "other" | "soil" | "playbook" | "runtime_evidence";
5780
5823
  authority: "advisory_only";
5824
+ source_type: "soil" | "runtime_evidence" | "other" | "playbook";
5781
5825
  ref?: string | undefined;
5782
- recency_score?: number | undefined;
5783
5826
  provenance?: {
5784
5827
  source_type: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported";
5785
5828
  raw_refs: string[];
@@ -5788,8 +5831,9 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5788
5831
  reliability?: number | undefined;
5789
5832
  source_ref?: string | undefined;
5790
5833
  } | undefined;
5791
- relevance_score?: number | undefined;
5792
5834
  source_reliability?: number | undefined;
5835
+ recency_score?: number | undefined;
5836
+ relevance_score?: number | undefined;
5793
5837
  prior_success_contribution?: number | undefined;
5794
5838
  retrieval?: {
5795
5839
  kind: "unknown" | "manual" | "checkpoint" | "route_hit" | "fallback_hit";
@@ -5805,7 +5849,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5805
5849
  ranking_trace?: {
5806
5850
  reason: string;
5807
5851
  score: number;
5808
- decision: "rejected" | "admitted";
5852
+ decision: "admitted" | "rejected";
5809
5853
  } | undefined;
5810
5854
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
5811
5855
  quarantine_state?: {
@@ -5830,13 +5874,15 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5830
5874
  approach: string;
5831
5875
  rejection_reason: string;
5832
5876
  evidence_ref?: string | undefined;
5833
- revisit_condition?: string | undefined;
5834
5877
  candidate_ref?: string | undefined;
5878
+ revisit_condition?: string | undefined;
5835
5879
  }[];
5836
5880
  next_strategy_candidates: {
5837
5881
  rationale: string;
5838
5882
  title: string;
5839
5883
  target_dimensions: string[];
5884
+ failed_lineage_fingerprints?: string[] | undefined;
5885
+ candidate_ref?: string | undefined;
5840
5886
  expected_evidence_gain?: string | undefined;
5841
5887
  retry_reason?: string | undefined;
5842
5888
  failed_lineage_warning?: {
@@ -5844,7 +5890,6 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5844
5890
  count: number;
5845
5891
  fingerprint: string;
5846
5892
  } | undefined;
5847
- candidate_ref?: string | undefined;
5848
5893
  }[];
5849
5894
  guidance: string;
5850
5895
  context_authority: "advisory_only";
@@ -5854,7 +5899,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5854
5899
  rationale: string;
5855
5900
  approval_required: boolean;
5856
5901
  evidence: {
5857
- kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
5902
+ kind: "deadline" | "metric" | "lineage" | "runtime_state" | "memory" | "task_history" | "artifact" | "external_feedback";
5858
5903
  summary: string;
5859
5904
  ref?: string | undefined;
5860
5905
  }[];
@@ -5867,39 +5912,12 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5867
5912
  target_strategy_family?: string | undefined;
5868
5913
  policy_decision?: {
5869
5914
  reason: string;
5870
- disposition: "approval_required" | "advisory_only" | "auto_apply";
5915
+ disposition: "approval_required" | "auto_apply" | "advisory_only";
5871
5916
  } | undefined;
5872
5917
  }[] | undefined;
5873
5918
  }[] | undefined;
5874
- correction_state?: {
5875
- status: "active" | "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
5876
- active: boolean;
5877
- updated_at: string | null;
5878
- reason: string | null;
5879
- retained_for_audit: boolean;
5880
- target_ref: {
5881
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
5882
- id: string;
5883
- scope?: {
5884
- goal_id?: string | undefined;
5885
- task_id?: string | undefined;
5886
- run_id?: string | undefined;
5887
- } | undefined;
5888
- };
5889
- replacement_ref: {
5890
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
5891
- id: string;
5892
- scope?: {
5893
- goal_id?: string | undefined;
5894
- task_id?: string | undefined;
5895
- run_id?: string | undefined;
5896
- } | undefined;
5897
- } | null;
5898
- latest_correction_id: string | null;
5899
- } | undefined;
5900
- decision_reason?: string | undefined;
5901
5919
  }, {
5902
- kind: "verification" | "observation" | "metric" | "decision" | "failure" | "strategy" | "task_generation" | "research" | "execution" | "other" | "artifact" | "dream_checkpoint" | "evaluator" | "correction";
5920
+ kind: "verification" | "observation" | "metric" | "decision" | "failure" | "correction" | "strategy" | "task_generation" | "research" | "dream_checkpoint" | "execution" | "other" | "artifact" | "evaluator";
5903
5921
  id: string;
5904
5922
  schema_version: "runtime-evidence-entry-v1";
5905
5923
  scope: {
@@ -5941,59 +5959,6 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
5941
5959
  action?: string | undefined;
5942
5960
  } | undefined;
5943
5961
  outcome?: "blocked" | "failed" | "improved" | "regressed" | "inconclusive" | "continued" | undefined;
5944
- result?: {
5945
- status?: string | undefined;
5946
- error?: string | undefined;
5947
- summary?: string | undefined;
5948
- } | undefined;
5949
- strategy?: string | undefined;
5950
- research?: {
5951
- trigger: "plateau" | "uncertainty" | "knowledge_gap";
5952
- summary: string;
5953
- sources: {
5954
- url: string;
5955
- title?: string | undefined;
5956
- source_type?: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup" | undefined;
5957
- provenance?: "quoted" | "paraphrased" | "summarized" | undefined;
5958
- relevance?: string | undefined;
5959
- }[];
5960
- query: string;
5961
- findings: {
5962
- applicability: string;
5963
- finding: string;
5964
- source_urls: string[];
5965
- proposed_experiment: string;
5966
- expected_metric_impact: string;
5967
- fact_vs_adaptation: {
5968
- adaptation: string;
5969
- facts?: string[] | undefined;
5970
- };
5971
- risks_constraints?: string[] | undefined;
5972
- }[];
5973
- confidence?: number | undefined;
5974
- external_actions?: {
5975
- label: string;
5976
- reason: string;
5977
- approval_required?: true | undefined;
5978
- }[] | undefined;
5979
- candidate_playbook?: {
5980
- title: string;
5981
- steps?: string[] | undefined;
5982
- source_urls?: string[] | undefined;
5983
- } | undefined;
5984
- untrusted_content_policy?: "webpage_instructions_are_untrusted" | undefined;
5985
- }[] | undefined;
5986
- artifacts?: {
5987
- label: string;
5988
- path?: string | undefined;
5989
- source?: string | undefined;
5990
- kind?: "url" | "log" | "diff" | "other" | "metrics" | "report" | undefined;
5991
- url?: string | undefined;
5992
- state_relative_path?: string | undefined;
5993
- retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
5994
- size_bytes?: number | undefined;
5995
- dependency_refs?: string[] | undefined;
5996
- }[] | undefined;
5997
5962
  candidates?: {
5998
5963
  lineage: {
5999
5964
  strategy_family: string;
@@ -6017,18 +5982,28 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6017
5982
  summary?: string | undefined;
6018
5983
  signal?: "lineage" | "other" | "declared" | "metric_correlation" | "artifact_overlap" | undefined;
6019
5984
  }[] | undefined;
5985
+ metrics?: {
5986
+ label: string;
5987
+ value?: string | number | boolean | null | undefined;
5988
+ source?: string | undefined;
5989
+ unit?: string | undefined;
5990
+ confidence?: number | undefined;
5991
+ direction?: "neutral" | "maximize" | "minimize" | undefined;
5992
+ summary?: string | undefined;
5993
+ observed_at?: string | undefined;
5994
+ }[] | undefined;
6020
5995
  artifacts?: {
6021
5996
  label: string;
6022
5997
  path?: string | undefined;
6023
5998
  source?: string | undefined;
6024
- kind?: "url" | "log" | "diff" | "other" | "metrics" | "report" | undefined;
5999
+ kind?: "url" | "diff" | "report" | "metrics" | "other" | "log" | undefined;
6025
6000
  url?: string | undefined;
6026
6001
  state_relative_path?: string | undefined;
6027
6002
  retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
6028
6003
  size_bytes?: number | undefined;
6029
6004
  dependency_refs?: string[] | undefined;
6030
6005
  }[] | undefined;
6031
- disposition?: "retained" | "promoted" | "retired" | undefined;
6006
+ disposition?: "retired" | "retained" | "promoted" | undefined;
6032
6007
  near_miss?: {
6033
6008
  reason_to_keep: ("close_to_best" | "stability" | "novelty" | "weak_dimension_improvement" | "complementarity" | "ensemble_potential")[];
6034
6009
  status?: "rejected" | "retained" | "promoted" | undefined;
@@ -6044,18 +6019,9 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6044
6019
  expected_evidence_gain?: string | undefined;
6045
6020
  } | undefined;
6046
6021
  } | undefined;
6047
- metrics?: {
6048
- label: string;
6049
- value?: string | number | boolean | null | undefined;
6050
- source?: string | undefined;
6051
- unit?: string | undefined;
6052
- confidence?: number | undefined;
6053
- direction?: "neutral" | "maximize" | "minimize" | undefined;
6054
- summary?: string | undefined;
6055
- observed_at?: string | undefined;
6056
- }[] | undefined;
6057
6022
  robustness?: {
6058
6023
  summary?: string | undefined;
6024
+ provenance_refs?: string[] | undefined;
6059
6025
  weak_dimensions?: string[] | undefined;
6060
6026
  stability_score?: number | undefined;
6061
6027
  diversity_score?: number | undefined;
@@ -6068,27 +6034,10 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6068
6034
  score_stddev?: number | undefined;
6069
6035
  fold_score_range?: number | undefined;
6070
6036
  seed_score_range?: number | undefined;
6071
- provenance_refs?: string[] | undefined;
6072
6037
  } | undefined;
6073
6038
  disposition_reason?: string | undefined;
6074
6039
  produced_at?: string | undefined;
6075
6040
  }[] | undefined;
6076
- provenance?: {
6077
- reliability?: number | undefined;
6078
- source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
6079
- source_ref?: string | undefined;
6080
- raw_refs?: string[] | undefined;
6081
- verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
6082
- risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
6083
- } | undefined;
6084
- raw_refs?: {
6085
- kind: string;
6086
- path?: string | undefined;
6087
- id?: string | undefined;
6088
- url?: string | undefined;
6089
- state_relative_path?: string | undefined;
6090
- }[] | undefined;
6091
- verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
6092
6041
  correction?: {
6093
6042
  created_at: string;
6094
6043
  reason: string;
@@ -6099,9 +6048,8 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6099
6048
  source_ref?: string | undefined;
6100
6049
  note?: string | undefined;
6101
6050
  };
6102
- correction_id: string;
6103
6051
  target_ref: {
6104
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
6052
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
6105
6053
  id: string;
6106
6054
  scope?: {
6107
6055
  goal_id?: string | undefined;
@@ -6109,7 +6057,8 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6109
6057
  run_id?: string | undefined;
6110
6058
  } | undefined;
6111
6059
  };
6112
- correction_kind: "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
6060
+ correction_id: string;
6061
+ correction_kind: "superseded" | "retracted" | "corrected" | "forgotten" | "quarantined";
6113
6062
  actor: "user" | "dream_lint" | "runtime_verification" | "manual_tool";
6114
6063
  schema_version?: "memory-correction-entry-v1" | undefined;
6115
6064
  audit?: {
@@ -6118,7 +6067,40 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6118
6067
  destructive_delete_approved_at?: string | null | undefined;
6119
6068
  } | undefined;
6120
6069
  replacement_ref?: {
6121
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
6070
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
6071
+ id: string;
6072
+ scope?: {
6073
+ goal_id?: string | undefined;
6074
+ task_id?: string | undefined;
6075
+ run_id?: string | undefined;
6076
+ } | undefined;
6077
+ } | null | undefined;
6078
+ } | undefined;
6079
+ provenance?: {
6080
+ reliability?: number | undefined;
6081
+ source_ref?: string | undefined;
6082
+ source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
6083
+ raw_refs?: string[] | undefined;
6084
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
6085
+ risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
6086
+ } | undefined;
6087
+ correction_state?: {
6088
+ status: "active" | "superseded" | "retracted" | "corrected" | "forgotten" | "quarantined";
6089
+ active: boolean;
6090
+ target_ref: {
6091
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
6092
+ id: string;
6093
+ scope?: {
6094
+ goal_id?: string | undefined;
6095
+ task_id?: string | undefined;
6096
+ run_id?: string | undefined;
6097
+ } | undefined;
6098
+ };
6099
+ updated_at?: string | null | undefined;
6100
+ reason?: string | null | undefined;
6101
+ retained_for_audit?: boolean | undefined;
6102
+ replacement_ref?: {
6103
+ kind: "soil_record" | "agent_memory" | "runtime_evidence" | "dream_checkpoint";
6122
6104
  id: string;
6123
6105
  scope?: {
6124
6106
  goal_id?: string | undefined;
@@ -6126,7 +6108,51 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6126
6108
  run_id?: string | undefined;
6127
6109
  } | undefined;
6128
6110
  } | null | undefined;
6111
+ latest_correction_id?: string | null | undefined;
6112
+ } | undefined;
6113
+ result?: {
6114
+ status?: string | undefined;
6115
+ error?: string | undefined;
6116
+ summary?: string | undefined;
6129
6117
  } | undefined;
6118
+ strategy?: string | undefined;
6119
+ research?: {
6120
+ trigger: "plateau" | "uncertainty" | "knowledge_gap";
6121
+ summary: string;
6122
+ sources: {
6123
+ url: string;
6124
+ title?: string | undefined;
6125
+ provenance?: "quoted" | "paraphrased" | "summarized" | undefined;
6126
+ source_type?: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup" | undefined;
6127
+ relevance?: string | undefined;
6128
+ }[];
6129
+ query: string;
6130
+ findings: {
6131
+ applicability: string;
6132
+ finding: string;
6133
+ source_urls: string[];
6134
+ proposed_experiment: string;
6135
+ expected_metric_impact: string;
6136
+ fact_vs_adaptation: {
6137
+ adaptation: string;
6138
+ facts?: string[] | undefined;
6139
+ };
6140
+ risks_constraints?: string[] | undefined;
6141
+ }[];
6142
+ confidence?: number | undefined;
6143
+ external_actions?: {
6144
+ label: string;
6145
+ reason: string;
6146
+ approval_required?: true | undefined;
6147
+ }[] | undefined;
6148
+ candidate_playbook?: {
6149
+ title: string;
6150
+ steps?: string[] | undefined;
6151
+ source_urls?: string[] | undefined;
6152
+ } | undefined;
6153
+ untrusted_content_policy?: "webpage_instructions_are_untrusted" | undefined;
6154
+ }[] | undefined;
6155
+ decision_reason?: string | undefined;
6130
6156
  metrics?: {
6131
6157
  label: string;
6132
6158
  value?: string | number | boolean | null | undefined;
@@ -6137,6 +6163,25 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6137
6163
  summary?: string | undefined;
6138
6164
  observed_at?: string | undefined;
6139
6165
  }[] | undefined;
6166
+ artifacts?: {
6167
+ label: string;
6168
+ path?: string | undefined;
6169
+ source?: string | undefined;
6170
+ kind?: "url" | "diff" | "report" | "metrics" | "other" | "log" | undefined;
6171
+ url?: string | undefined;
6172
+ state_relative_path?: string | undefined;
6173
+ retention_class?: "other" | "final_deliverable" | "best_candidate" | "robust_candidate" | "near_miss" | "reproducibility_critical" | "evidence_report" | "low_value_smoke" | "cache_intermediate" | "duplicate_superseded" | undefined;
6174
+ size_bytes?: number | undefined;
6175
+ dependency_refs?: string[] | undefined;
6176
+ }[] | undefined;
6177
+ raw_refs?: {
6178
+ kind: string;
6179
+ path?: string | undefined;
6180
+ id?: string | undefined;
6181
+ url?: string | undefined;
6182
+ state_relative_path?: string | undefined;
6183
+ }[] | undefined;
6184
+ verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
6140
6185
  quarantine_state?: {
6141
6186
  status: "quarantined";
6142
6187
  confidence: number;
@@ -6156,7 +6201,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6156
6201
  summary?: string | undefined;
6157
6202
  command?: string | undefined;
6158
6203
  } | undefined;
6159
- status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
6204
+ status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "succeeded" | "submitted" | undefined;
6160
6205
  direction?: "neutral" | "maximize" | "minimize" | undefined;
6161
6206
  summary?: string | undefined;
6162
6207
  score?: string | number | boolean | null | undefined;
@@ -6174,8 +6219,8 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6174
6219
  remaining_attempts: number;
6175
6220
  approval_required?: boolean | undefined;
6176
6221
  phase?: "exploration" | "consolidation" | "finalization" | "other" | undefined;
6177
- policy_id?: string | undefined;
6178
6222
  max_attempts?: number | undefined;
6223
+ policy_id?: string | undefined;
6179
6224
  used_attempts?: number | undefined;
6180
6225
  deadline_at?: string | undefined;
6181
6226
  portfolio_policy?: {
@@ -6188,7 +6233,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6188
6233
  artifact_labels?: string[] | undefined;
6189
6234
  score_label?: string | undefined;
6190
6235
  expected_score?: string | number | boolean | null | undefined;
6191
- expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "submitted" | "succeeded" | undefined;
6236
+ expected_status?: "unknown" | "pending" | "completed" | "blocked" | "approval_required" | "passed" | "failed" | "regressed" | "ready" | "succeeded" | "submitted" | undefined;
6192
6237
  expectation_source?: string | undefined;
6193
6238
  publish_action?: {
6194
6239
  label: string;
@@ -6235,28 +6280,28 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6235
6280
  current_goal: string;
6236
6281
  guidance: string;
6237
6282
  confidence?: number | undefined;
6283
+ exhausted?: string[] | undefined;
6238
6284
  uncertainty?: string[] | undefined;
6239
6285
  active_dimensions?: string[] | undefined;
6240
6286
  best_evidence_so_far?: string | undefined;
6241
6287
  recent_strategy_families?: string[] | undefined;
6242
- exhausted?: string[] | undefined;
6243
6288
  promising?: string[] | undefined;
6244
6289
  relevant_memories?: {
6245
6290
  summary: string;
6246
- source_type: "other" | "soil" | "playbook" | "runtime_evidence";
6291
+ source_type: "soil" | "runtime_evidence" | "other" | "playbook";
6247
6292
  ref?: string | undefined;
6248
- recency_score?: number | undefined;
6249
6293
  provenance?: {
6250
6294
  reliability?: number | undefined;
6251
- source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
6252
6295
  source_ref?: string | undefined;
6296
+ source_type?: "unknown" | "external" | "web" | "tool" | "user" | "runtime" | "imported" | undefined;
6253
6297
  raw_refs?: string[] | undefined;
6254
6298
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
6255
6299
  risk_signals?: ("hallucinated" | "low_provenance" | "contradiction" | "prompt_injection_like" | "unverified_external")[] | undefined;
6256
6300
  } | undefined;
6257
6301
  authority?: "advisory_only" | undefined;
6258
- relevance_score?: number | undefined;
6259
6302
  source_reliability?: number | undefined;
6303
+ recency_score?: number | undefined;
6304
+ relevance_score?: number | undefined;
6260
6305
  prior_success_contribution?: number | undefined;
6261
6306
  retrieval?: {
6262
6307
  confidence?: number | undefined;
@@ -6272,7 +6317,7 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6272
6317
  ranking_trace?: {
6273
6318
  reason: string;
6274
6319
  score: number;
6275
- decision: "rejected" | "admitted";
6320
+ decision: "admitted" | "rejected";
6276
6321
  } | undefined;
6277
6322
  verification_status?: "unknown" | "verified" | "unverified" | "contradicted" | "suspicious" | undefined;
6278
6323
  quarantine_state?: {
@@ -6297,13 +6342,15 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6297
6342
  rejection_reason: string;
6298
6343
  confidence?: number | undefined;
6299
6344
  evidence_ref?: string | undefined;
6300
- revisit_condition?: string | undefined;
6301
6345
  candidate_ref?: string | undefined;
6346
+ revisit_condition?: string | undefined;
6302
6347
  }[] | undefined;
6303
6348
  next_strategy_candidates?: {
6304
6349
  rationale: string;
6305
6350
  title: string;
6306
6351
  target_dimensions?: string[] | undefined;
6352
+ failed_lineage_fingerprints?: string[] | undefined;
6353
+ candidate_ref?: string | undefined;
6307
6354
  expected_evidence_gain?: string | undefined;
6308
6355
  retry_reason?: string | undefined;
6309
6356
  failed_lineage_warning?: {
@@ -6311,12 +6358,11 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6311
6358
  count: number;
6312
6359
  fingerprint: string;
6313
6360
  } | undefined;
6314
- candidate_ref?: string | undefined;
6315
6361
  }[] | undefined;
6316
6362
  run_control_recommendations?: {
6317
6363
  rationale: string;
6318
6364
  evidence: {
6319
- kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
6365
+ kind: "deadline" | "metric" | "lineage" | "runtime_state" | "memory" | "task_history" | "artifact" | "external_feedback";
6320
6366
  summary: string;
6321
6367
  ref?: string | undefined;
6322
6368
  }[];
@@ -6331,38 +6377,11 @@ export declare const RuntimeEvidenceEntrySchema: z.ZodEffects<z.ZodObject<{
6331
6377
  lineage_refs?: string[] | undefined;
6332
6378
  policy_decision?: {
6333
6379
  reason: string;
6334
- disposition: "approval_required" | "advisory_only" | "auto_apply";
6380
+ disposition: "approval_required" | "auto_apply" | "advisory_only";
6335
6381
  } | undefined;
6336
6382
  }[] | undefined;
6337
6383
  context_authority?: "advisory_only" | undefined;
6338
6384
  }[] | undefined;
6339
- correction_state?: {
6340
- status: "active" | "superseded" | "corrected" | "retracted" | "forgotten" | "quarantined";
6341
- active: boolean;
6342
- target_ref: {
6343
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
6344
- id: string;
6345
- scope?: {
6346
- goal_id?: string | undefined;
6347
- task_id?: string | undefined;
6348
- run_id?: string | undefined;
6349
- } | undefined;
6350
- };
6351
- updated_at?: string | null | undefined;
6352
- reason?: string | null | undefined;
6353
- retained_for_audit?: boolean | undefined;
6354
- replacement_ref?: {
6355
- kind: "runtime_evidence" | "agent_memory" | "soil_record" | "dream_checkpoint";
6356
- id: string;
6357
- scope?: {
6358
- goal_id?: string | undefined;
6359
- task_id?: string | undefined;
6360
- run_id?: string | undefined;
6361
- } | undefined;
6362
- } | null | undefined;
6363
- latest_correction_id?: string | null | undefined;
6364
- } | undefined;
6365
- decision_reason?: string | undefined;
6366
6385
  }>;
6367
6386
  export type RuntimeEvidenceEntry = z.infer<typeof RuntimeEvidenceEntrySchema>;
6368
6387
  export type RuntimeEvidenceEntryInput = Omit<RuntimeEvidenceEntry, "schema_version" | "id" | "occurred_at" | "metrics" | "evaluators" | "research" | "dream_checkpoints" | "divergent_exploration" | "artifacts" | "raw_refs"> & Partial<Pick<RuntimeEvidenceEntry, "id" | "occurred_at" | "metrics" | "evaluators" | "research" | "dream_checkpoints" | "divergent_exploration" | "artifacts" | "raw_refs">>;