@bastani/atomic 0.9.74-alpha.1 → 0.9.75

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 (383) hide show
  1. package/CHANGELOG.md +162 -0
  2. package/dist/builtin/intercom/package.json +2 -2
  3. package/dist/builtin/mcp/package.json +1 -1
  4. package/dist/builtin/subagents/CHANGELOG.md +21 -0
  5. package/dist/builtin/subagents/package.json +3 -3
  6. package/dist/builtin/subagents/skills/agent-browser/SKILL.md +8 -10
  7. package/dist/builtin/subagents/skills/agent-desktop/SKILL.md +9 -5
  8. package/dist/builtin/subagents/src/extension/index.bundle.mjs +7 -1
  9. package/dist/builtin/web-access/package.json +2 -2
  10. package/dist/builtin/workflows/CHANGELOG.md +80 -0
  11. package/dist/builtin/workflows/README.md +5 -2
  12. package/dist/builtin/workflows/builtin/{chunk-m8eg152f.js → chunk-89we7r4p.js} +1 -1
  13. package/dist/builtin/workflows/builtin/{chunk-a4fdm2cw.js → chunk-8yfssw01.js} +1 -1
  14. package/dist/builtin/workflows/builtin/{chunk-774myqzs.js → chunk-v8mb0005.js} +366 -45
  15. package/dist/builtin/workflows/builtin/{chunk-d5cxskkp.js → chunk-wh2p4qjg.js} +2 -2
  16. package/dist/builtin/workflows/builtin/goal.js +2 -2
  17. package/dist/builtin/workflows/builtin/index.d.ts +10 -0
  18. package/dist/builtin/workflows/builtin/index.js +4 -4
  19. package/dist/builtin/workflows/builtin/open-claude-design.d.ts +12 -0
  20. package/dist/builtin/workflows/builtin/open-claude-design.js +1 -1
  21. package/dist/builtin/workflows/builtin/ralph.js +2 -2
  22. package/dist/builtin/workflows/package.json +2 -2
  23. package/dist/builtin/workflows/skills/impeccable/SKILL.md +4 -4
  24. package/dist/builtin/workflows/skills/impeccable/reference/android.md +1 -1
  25. package/dist/builtin/workflows/skills/impeccable/reference/audit.md +2 -2
  26. package/dist/builtin/workflows/skills/impeccable/reference/craft-floor.md +1 -1
  27. package/dist/builtin/workflows/skills/impeccable/reference/degraded/asset-producer.md +1 -1
  28. package/dist/builtin/workflows/skills/impeccable/reference/degraded/documenter.md +4 -4
  29. package/dist/builtin/workflows/skills/impeccable/reference/degraded/finish-reviewer.md +2 -2
  30. package/dist/builtin/workflows/skills/impeccable/reference/degraded/manual-edit-applier.md +3 -2
  31. package/dist/builtin/workflows/skills/impeccable/reference/distill.md +3 -3
  32. package/dist/builtin/workflows/skills/impeccable/reference/doctor.md +1 -1
  33. package/dist/builtin/workflows/skills/impeccable/reference/document.md +3 -3
  34. package/dist/builtin/workflows/skills/impeccable/reference/harden.md +19 -0
  35. package/dist/builtin/workflows/skills/impeccable/reference/hooks.md +15 -8
  36. package/dist/builtin/workflows/skills/impeccable/reference/init.md +2 -0
  37. package/dist/builtin/workflows/skills/impeccable/reference/live.md +8 -6
  38. package/dist/builtin/workflows/skills/impeccable/reference/new-work.md +4 -4
  39. package/dist/builtin/workflows/skills/impeccable/reference/optimize.md +0 -1
  40. package/dist/builtin/workflows/skills/impeccable/reference/visualize.md +1 -1
  41. package/dist/builtin/workflows/skills/impeccable/scripts/VERSION +1 -1
  42. package/dist/builtin/workflows/skills/impeccable/scripts/command-metadata.json +2 -2
  43. package/dist/builtin/workflows/skills/impeccable/scripts/engine-checksums.txt +9 -0
  44. package/dist/builtin/workflows/skills/impeccable/scripts/impeccable +98 -44
  45. package/dist/builtin/workflows/skills/impeccable/scripts/impeccable.cmd +101 -34
  46. package/dist/builtin/workflows/skills/impeccable/scripts/live-browser-ignores.js +6 -2
  47. package/dist/builtin/workflows/skills/impeccable/scripts/live-browser-session.js +4 -1
  48. package/dist/builtin/workflows/skills/impeccable/scripts/live-browser.js +444 -144
  49. package/dist/builtin/workflows/skills/prompt-engineer/SKILL.md +3 -1
  50. package/dist/builtin/workflows/skills/prompt-engineer/references/advanced_patterns.md +2 -2
  51. package/dist/builtin/workflows/skills/prompt-engineer/references/claude_fable_5.md +13 -11
  52. package/dist/builtin/workflows/skills/prompt-engineer/references/claude_fable_5_1.md +10 -8
  53. package/dist/builtin/workflows/skills/prompt-engineer/references/claude_fable_5_2.md +143 -0
  54. package/dist/builtin/workflows/skills/prompt-engineer/references/claude_haiku_5_5.md +11 -7
  55. package/dist/builtin/workflows/skills/prompt-engineer/references/claude_opus_4_8.md +3 -3
  56. package/dist/builtin/workflows/skills/prompt-engineer/references/claude_opus_5.md +6 -2
  57. package/dist/builtin/workflows/skills/prompt-engineer/references/claude_opus_5_5.md +7 -7
  58. package/dist/builtin/workflows/skills/prompt-engineer/references/claude_sonnet_5.md +2 -2
  59. package/dist/builtin/workflows/skills/prompt-engineer/references/claude_sonnet_5_5.md +3 -3
  60. package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_5_5.md +2 -2
  61. package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_5_6.md +2 -2
  62. package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_6.md +6 -5
  63. package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_6_1_sol.md +4 -4
  64. package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_6_1_terra.md +2 -2
  65. package/dist/builtin/workflows/skills/prompt-engineer/references/quality_improvement.md +4 -3
  66. package/dist/builtin/workflows/skills/skill-creator/scripts/aggregate_benchmark.py +0 -0
  67. package/dist/builtin/workflows/skills/skill-creator/scripts/generate_report.py +0 -0
  68. package/dist/builtin/workflows/skills/skill-creator/scripts/improve_description.py +0 -0
  69. package/dist/builtin/workflows/skills/skill-creator/scripts/package_skill.py +0 -0
  70. package/dist/builtin/workflows/skills/skill-creator/scripts/quick_validate.py +0 -0
  71. package/dist/builtin/workflows/skills/skill-creator/scripts/run_eval.py +0 -0
  72. package/dist/builtin/workflows/skills/skill-creator/scripts/run_loop.py +0 -0
  73. package/dist/builtin/workflows/skills/unslop/SKILL.md +15 -34
  74. package/dist/builtin/workflows/src/durable/journal/memory-run-journal.d.ts +1 -0
  75. package/dist/builtin/workflows/src/durable/journal/values.d.ts +2 -0
  76. package/dist/builtin/workflows/src/extension/index.bundle.mjs +809 -410
  77. package/dist/builtin/workflows/src/extension/local-worker-entry.mjs +695 -305
  78. package/dist/builtin/workflows/src/index.js +685 -295
  79. package/dist/builtin/workflows/src/local-worker-entry.mjs +695 -305
  80. package/dist/builtin/workflows/src/shared/authoring-contract-stage.d.ts +6 -6
  81. package/dist/builtin/workflows/src/shared/authoring-contract-ui.d.ts +2 -2
  82. package/dist/builtin/workflows/src/shared/serializable-error-families.d.ts +2 -0
  83. package/dist/bun/app-host-modules.d.ts +1 -1
  84. package/dist/bun/app-host-modules.d.ts.map +1 -1
  85. package/dist/bun/app-host-modules.js.map +1 -1
  86. package/dist/bun/internal-workflow-worker.d.ts +2 -0
  87. package/dist/bun/internal-workflow-worker.d.ts.map +1 -1
  88. package/dist/bun/internal-workflow-worker.js +2 -1
  89. package/dist/bun/internal-workflow-worker.js.map +1 -1
  90. package/dist/codemode-worker.js +2 -0
  91. package/dist/config.d.ts +8 -0
  92. package/dist/config.d.ts.map +1 -1
  93. package/dist/config.js +14 -0
  94. package/dist/config.js.map +1 -1
  95. package/dist/core/agent-session-bash.d.ts.map +1 -1
  96. package/dist/core/agent-session-bash.js +2 -1
  97. package/dist/core/agent-session-bash.js.map +1 -1
  98. package/dist/core/agent-session-blueprint-environment.d.ts +10 -0
  99. package/dist/core/agent-session-blueprint-environment.d.ts.map +1 -0
  100. package/dist/core/agent-session-blueprint-environment.js +28 -0
  101. package/dist/core/agent-session-blueprint-environment.js.map +1 -0
  102. package/dist/core/agent-session-events.d.ts.map +1 -1
  103. package/dist/core/agent-session-events.js +2 -0
  104. package/dist/core/agent-session-events.js.map +1 -1
  105. package/dist/core/agent-session-methods.d.ts +1 -0
  106. package/dist/core/agent-session-methods.d.ts.map +1 -1
  107. package/dist/core/agent-session-methods.js.map +1 -1
  108. package/dist/core/agent-session-retry.d.ts.map +1 -1
  109. package/dist/core/agent-session-retry.js +14 -4
  110. package/dist/core/agent-session-retry.js.map +1 -1
  111. package/dist/core/agent-session-runtime.d.ts +20 -0
  112. package/dist/core/agent-session-runtime.d.ts.map +1 -1
  113. package/dist/core/agent-session-runtime.js +55 -6
  114. package/dist/core/agent-session-runtime.js.map +1 -1
  115. package/dist/core/agent-session-tool-registry.d.ts.map +1 -1
  116. package/dist/core/agent-session-tool-registry.js +2 -1
  117. package/dist/core/agent-session-tool-registry.js.map +1 -1
  118. package/dist/core/agent-session.d.ts +2 -0
  119. package/dist/core/agent-session.d.ts.map +1 -1
  120. package/dist/core/agent-session.js +2 -0
  121. package/dist/core/agent-session.js.map +1 -1
  122. package/dist/core/async-scope.d.ts +13 -0
  123. package/dist/core/async-scope.d.ts.map +1 -0
  124. package/dist/core/async-scope.js +20 -0
  125. package/dist/core/async-scope.js.map +1 -0
  126. package/dist/core/cache-warmer.d.ts +3 -14
  127. package/dist/core/cache-warmer.d.ts.map +1 -1
  128. package/dist/core/cache-warmer.js +8 -60
  129. package/dist/core/cache-warmer.js.map +1 -1
  130. package/dist/core/extensions/extension-work.js +2 -2
  131. package/dist/core/extensions/extension-work.js.map +1 -1
  132. package/dist/core/extensions/loader-host-modules.d.ts.map +1 -1
  133. package/dist/core/extensions/loader-host-modules.js +3 -1
  134. package/dist/core/extensions/loader-host-modules.js.map +1 -1
  135. package/dist/core/extensions/ui-types.d.ts +2 -1
  136. package/dist/core/extensions/ui-types.d.ts.map +1 -1
  137. package/dist/core/extensions/ui-types.js.map +1 -1
  138. package/dist/core/extensions/workflow-events.d.ts +1 -1
  139. package/dist/core/extensions/workflow-events.d.ts.map +1 -1
  140. package/dist/core/extensions/workflow-events.js.map +1 -1
  141. package/dist/core/extensions/workflow-run-control.d.ts +4 -2
  142. package/dist/core/extensions/workflow-run-control.d.ts.map +1 -1
  143. package/dist/core/extensions/workflow-run-control.js.map +1 -1
  144. package/dist/core/model-fallback-failures.d.ts +6 -0
  145. package/dist/core/model-fallback-failures.d.ts.map +1 -1
  146. package/dist/core/model-fallback-failures.js +10 -1
  147. package/dist/core/model-fallback-failures.js.map +1 -1
  148. package/dist/core/preferred-providers.d.ts +19 -0
  149. package/dist/core/preferred-providers.d.ts.map +1 -0
  150. package/dist/core/preferred-providers.js +25 -0
  151. package/dist/core/preferred-providers.js.map +1 -0
  152. package/dist/core/provider-alias.d.ts.map +1 -1
  153. package/dist/core/provider-alias.js +4 -0
  154. package/dist/core/provider-alias.js.map +1 -1
  155. package/dist/core/provider-composer.d.ts.map +1 -1
  156. package/dist/core/provider-composer.js +1 -0
  157. package/dist/core/provider-composer.js.map +1 -1
  158. package/dist/core/remote-catalog-provider.d.ts.map +1 -1
  159. package/dist/core/remote-catalog-provider.js +3 -0
  160. package/dist/core/remote-catalog-provider.js.map +1 -1
  161. package/dist/core/resume/blueprint/action-expressions.d.ts +32 -0
  162. package/dist/core/resume/blueprint/action-expressions.d.ts.map +1 -0
  163. package/dist/core/resume/blueprint/action-expressions.js +389 -0
  164. package/dist/core/resume/blueprint/action-expressions.js.map +1 -0
  165. package/dist/core/resume/blueprint/actions.d.ts +90 -0
  166. package/dist/core/resume/blueprint/actions.d.ts.map +1 -0
  167. package/dist/core/resume/blueprint/actions.js +818 -0
  168. package/dist/core/resume/blueprint/actions.js.map +1 -0
  169. package/dist/core/resume/blueprint/build.d.ts +102 -0
  170. package/dist/core/resume/blueprint/build.d.ts.map +1 -0
  171. package/dist/core/resume/blueprint/build.js +535 -0
  172. package/dist/core/resume/blueprint/build.js.map +1 -0
  173. package/dist/core/resume/blueprint/context.d.ts +11 -0
  174. package/dist/core/resume/blueprint/context.d.ts.map +1 -0
  175. package/dist/core/resume/blueprint/context.js +106 -0
  176. package/dist/core/resume/blueprint/context.js.map +1 -0
  177. package/dist/core/resume/blueprint/envrc.d.ts +19 -0
  178. package/dist/core/resume/blueprint/envrc.d.ts.map +1 -0
  179. package/dist/core/resume/blueprint/envrc.js +77 -0
  180. package/dist/core/resume/blueprint/envrc.js.map +1 -0
  181. package/dist/core/resume/blueprint/errors.d.ts +179 -0
  182. package/dist/core/resume/blueprint/errors.d.ts.map +1 -0
  183. package/dist/core/resume/blueprint/errors.js +169 -0
  184. package/dist/core/resume/blueprint/errors.js.map +1 -0
  185. package/dist/core/resume/blueprint/ledger.d.ts +51 -0
  186. package/dist/core/resume/blueprint/ledger.d.ts.map +1 -0
  187. package/dist/core/resume/blueprint/ledger.js +119 -0
  188. package/dist/core/resume/blueprint/ledger.js.map +1 -0
  189. package/dist/core/resume/blueprint/notices.d.ts +14 -0
  190. package/dist/core/resume/blueprint/notices.d.ts.map +1 -0
  191. package/dist/core/resume/blueprint/notices.js +44 -0
  192. package/dist/core/resume/blueprint/notices.js.map +1 -0
  193. package/dist/core/resume/blueprint/process.d.ts +44 -0
  194. package/dist/core/resume/blueprint/process.d.ts.map +1 -0
  195. package/dist/core/resume/blueprint/process.js +142 -0
  196. package/dist/core/resume/blueprint/process.js.map +1 -0
  197. package/dist/core/resume/blueprint/resume.d.ts +73 -0
  198. package/dist/core/resume/blueprint/resume.d.ts.map +1 -0
  199. package/dist/core/resume/blueprint/resume.js +206 -0
  200. package/dist/core/resume/blueprint/resume.js.map +1 -0
  201. package/dist/core/resume/blueprint/schema.d.ts +26 -0
  202. package/dist/core/resume/blueprint/schema.d.ts.map +1 -0
  203. package/dist/core/resume/blueprint/schema.js +243 -0
  204. package/dist/core/resume/blueprint/schema.js.map +1 -0
  205. package/dist/core/resume/blueprint/steps.d.ts +54 -0
  206. package/dist/core/resume/blueprint/steps.d.ts.map +1 -0
  207. package/dist/core/resume/blueprint/steps.js +155 -0
  208. package/dist/core/resume/blueprint/steps.js.map +1 -0
  209. package/dist/core/resume/blueprint/types.d.ts +63 -0
  210. package/dist/core/resume/blueprint/types.d.ts.map +1 -0
  211. package/dist/core/resume/blueprint/types.js +2 -0
  212. package/dist/core/resume/blueprint/types.js.map +1 -0
  213. package/dist/core/resume/errors.d.ts +7 -35
  214. package/dist/core/resume/errors.d.ts.map +1 -1
  215. package/dist/core/resume/errors.js +1 -21
  216. package/dist/core/resume/errors.js.map +1 -1
  217. package/dist/core/resume/index.d.ts +12 -4
  218. package/dist/core/resume/index.d.ts.map +1 -1
  219. package/dist/core/resume/index.js +11 -4
  220. package/dist/core/resume/index.js.map +1 -1
  221. package/dist/core/resume/run-setup.d.ts +36 -15
  222. package/dist/core/resume/run-setup.d.ts.map +1 -1
  223. package/dist/core/resume/run-setup.js +70 -54
  224. package/dist/core/resume/run-setup.js.map +1 -1
  225. package/dist/core/resume/session-resume.d.ts +34 -20
  226. package/dist/core/resume/session-resume.d.ts.map +1 -1
  227. package/dist/core/resume/session-resume.js +244 -106
  228. package/dist/core/resume/session-resume.js.map +1 -1
  229. package/dist/core/retry-policy.d.ts +19 -1
  230. package/dist/core/retry-policy.d.ts.map +1 -1
  231. package/dist/core/retry-policy.js +26 -1
  232. package/dist/core/retry-policy.js.map +1 -1
  233. package/dist/core/sdk.js +1 -1
  234. package/dist/core/sdk.js.map +1 -1
  235. package/dist/core/session-cwd.d.ts +56 -1
  236. package/dist/core/session-cwd.d.ts.map +1 -1
  237. package/dist/core/session-cwd.js +94 -4
  238. package/dist/core/session-cwd.js.map +1 -1
  239. package/dist/core/session-manager-core.d.ts +1 -1
  240. package/dist/core/session-manager-core.d.ts.map +1 -1
  241. package/dist/core/session-manager-core.js +10 -5
  242. package/dist/core/session-manager-core.js.map +1 -1
  243. package/dist/core/session-worktree-snapshots.d.ts +11 -0
  244. package/dist/core/session-worktree-snapshots.d.ts.map +1 -1
  245. package/dist/core/session-worktree-snapshots.js +10 -4
  246. package/dist/core/session-worktree-snapshots.js.map +1 -1
  247. package/dist/core/settings-defaults.d.ts +1 -1
  248. package/dist/core/settings-defaults.d.ts.map +1 -1
  249. package/dist/core/settings-defaults.js +1 -1
  250. package/dist/core/settings-defaults.js.map +1 -1
  251. package/dist/core/settings-manager-basic-accessors.d.ts +3 -2
  252. package/dist/core/settings-manager-basic-accessors.d.ts.map +1 -1
  253. package/dist/core/settings-manager-basic-accessors.js.map +1 -1
  254. package/dist/core/settings-schema.d.ts.map +1 -1
  255. package/dist/core/settings-schema.js +2 -1
  256. package/dist/core/settings-schema.js.map +1 -1
  257. package/dist/core/slash-commands.d.ts.map +1 -1
  258. package/dist/core/slash-commands.js +4 -0
  259. package/dist/core/slash-commands.js.map +1 -1
  260. package/dist/core/storage/write-ahead-log.d.ts +2 -1
  261. package/dist/core/storage/write-ahead-log.d.ts.map +1 -1
  262. package/dist/core/storage/write-ahead-log.js +27 -6
  263. package/dist/core/storage/write-ahead-log.js.map +1 -1
  264. package/dist/core/system-prompt.d.ts.map +1 -1
  265. package/dist/core/system-prompt.js +10 -0
  266. package/dist/core/system-prompt.js.map +1 -1
  267. package/dist/core/tools/file-tool-errors.d.ts +1 -1
  268. package/dist/core/tools/file-tool-errors.js +1 -1
  269. package/dist/core/tools/file-tool-errors.js.map +1 -1
  270. package/dist/core/tools/find.d.ts.map +1 -1
  271. package/dist/core/tools/find.js +52 -26
  272. package/dist/core/tools/find.js.map +1 -1
  273. package/dist/core/tools/grep.d.ts +2 -0
  274. package/dist/core/tools/grep.d.ts.map +1 -1
  275. package/dist/core/tools/grep.js.map +1 -1
  276. package/dist/core/tools/powershell.d.ts.map +1 -1
  277. package/dist/core/tools/powershell.js +10 -2
  278. package/dist/core/tools/powershell.js.map +1 -1
  279. package/dist/core/tools/tool-concurrency.d.ts.map +1 -1
  280. package/dist/core/tools/tool-concurrency.js +2 -2
  281. package/dist/core/tools/tool-concurrency.js.map +1 -1
  282. package/dist/index.d.ts +3 -2
  283. package/dist/index.d.ts.map +1 -1
  284. package/dist/index.js +2 -1
  285. package/dist/index.js.map +1 -1
  286. package/dist/main-session.d.ts +12 -4
  287. package/dist/main-session.d.ts.map +1 -1
  288. package/dist/main-session.js +28 -4
  289. package/dist/main-session.js.map +1 -1
  290. package/dist/main.d.ts.map +1 -1
  291. package/dist/main.js +6 -8
  292. package/dist/main.js.map +1 -1
  293. package/dist/modes/interactive/components/chat-session-host.d.ts +5 -1
  294. package/dist/modes/interactive/components/chat-session-host.d.ts.map +1 -1
  295. package/dist/modes/interactive/components/chat-session-host.js +6 -1
  296. package/dist/modes/interactive/components/chat-session-host.js.map +1 -1
  297. package/dist/modes/interactive/components/oauth-selector.d.ts +10 -3
  298. package/dist/modes/interactive/components/oauth-selector.d.ts.map +1 -1
  299. package/dist/modes/interactive/components/oauth-selector.js +34 -13
  300. package/dist/modes/interactive/components/oauth-selector.js.map +1 -1
  301. package/dist/modes/interactive/components/provider-brand.d.ts +16 -0
  302. package/dist/modes/interactive/components/provider-brand.d.ts.map +1 -0
  303. package/dist/modes/interactive/components/provider-brand.js +67 -0
  304. package/dist/modes/interactive/components/provider-brand.js.map +1 -0
  305. package/dist/modes/interactive/interactive-auth-routing.d.ts.map +1 -1
  306. package/dist/modes/interactive/interactive-auth-routing.js +8 -6
  307. package/dist/modes/interactive/interactive-auth-routing.js.map +1 -1
  308. package/dist/modes/interactive/interactive-extension-dialogs.js +4 -3
  309. package/dist/modes/interactive/interactive-extension-dialogs.js.map +1 -1
  310. package/dist/modes/interactive/interactive-extension-runtime.js +8 -3
  311. package/dist/modes/interactive/interactive-extension-runtime.js.map +1 -1
  312. package/dist/modes/interactive/interactive-mode-deps.d.ts +1 -1
  313. package/dist/modes/interactive/interactive-mode-deps.d.ts.map +1 -1
  314. package/dist/modes/interactive/interactive-mode-deps.js +1 -1
  315. package/dist/modes/interactive/interactive-mode-deps.js.map +1 -1
  316. package/dist/modes/interactive/interactive-mode-surface.d.ts +12 -2
  317. package/dist/modes/interactive/interactive-mode-surface.d.ts.map +1 -1
  318. package/dist/modes/interactive/interactive-mode-surface.js.map +1 -1
  319. package/dist/modes/interactive/interactive-session-routing.js +59 -21
  320. package/dist/modes/interactive/interactive-session-routing.js.map +1 -1
  321. package/dist/modes/interactive/interactive-slash-commands.js +23 -12
  322. package/dist/modes/interactive/interactive-slash-commands.js.map +1 -1
  323. package/dist/modes/interactive/login-provider-options.d.ts.map +1 -1
  324. package/dist/modes/interactive/login-provider-options.js +2 -1
  325. package/dist/modes/interactive/login-provider-options.js.map +1 -1
  326. package/dist/modes/interactive-engine/isolated-runtime.d.ts +2 -0
  327. package/dist/modes/interactive-engine/isolated-runtime.d.ts.map +1 -1
  328. package/dist/modes/interactive-engine/isolated-runtime.js +8 -3
  329. package/dist/modes/interactive-engine/isolated-runtime.js.map +1 -1
  330. package/dist/modes/rpc/rpc-client-api.d.ts +2 -1
  331. package/dist/modes/rpc/rpc-client-api.d.ts.map +1 -1
  332. package/dist/modes/rpc/rpc-client-api.js.map +1 -1
  333. package/dist/modes/rpc/rpc-client.d.ts +0 -1
  334. package/dist/modes/rpc/rpc-client.d.ts.map +1 -1
  335. package/dist/modes/rpc/rpc-client.js +2 -18
  336. package/dist/modes/rpc/rpc-client.js.map +1 -1
  337. package/dist/modes/rpc/rpc-command-handler.d.ts.map +1 -1
  338. package/dist/modes/rpc/rpc-command-handler.js +8 -2
  339. package/dist/modes/rpc/rpc-command-handler.js.map +1 -1
  340. package/dist/modes/rpc/rpc-error-decoding.d.ts +7 -0
  341. package/dist/modes/rpc/rpc-error-decoding.d.ts.map +1 -0
  342. package/dist/modes/rpc/rpc-error-decoding.js +25 -0
  343. package/dist/modes/rpc/rpc-error-decoding.js.map +1 -0
  344. package/dist/modes/rpc/rpc-responses.d.ts.map +1 -1
  345. package/dist/modes/rpc/rpc-responses.js +12 -0
  346. package/dist/modes/rpc/rpc-responses.js.map +1 -1
  347. package/dist/modes/rpc/rpc-types.d.ts +11 -0
  348. package/dist/modes/rpc/rpc-types.d.ts.map +1 -1
  349. package/dist/modes/rpc/rpc-types.js.map +1 -1
  350. package/dist/package-manager-cli.d.ts.map +1 -1
  351. package/dist/package-manager-cli.js +12 -3
  352. package/dist/package-manager-cli.js.map +1 -1
  353. package/docs/background-tasks.md +1 -1
  354. package/docs/codemode.md +22 -0
  355. package/docs/extensions/api-reference.md +27 -1
  356. package/docs/extensions/authoring.md +1 -1
  357. package/docs/extensions/ui.md +1 -1
  358. package/docs/getting-started/first-session.md +1 -1
  359. package/docs/guides/resume-on-any-machine.md +72 -19
  360. package/docs/models/evals.md +85 -17
  361. package/docs/models/reference.md +1 -1
  362. package/docs/providers.md +38 -5
  363. package/docs/reference/cli.md +2 -0
  364. package/docs/rpc/protocol.md +11 -1
  365. package/docs/sdk/reference.md +36 -4
  366. package/docs/sdk.md +2 -2
  367. package/docs/sessions.md +11 -1
  368. package/docs/settings.md +7 -2
  369. package/docs/skills.md +3 -3
  370. package/docs/storage.md +1 -1
  371. package/docs/tools.md +3 -1
  372. package/docs/workflows/api-reference.md +14 -12
  373. package/docs/workflows/authoring.md +29 -1
  374. package/docs/workflows/builtins.md +9 -1
  375. package/docs/workflows/operations.md +8 -8
  376. package/docs/worktree-snapshots.md +3 -2
  377. package/npm-shrinkwrap.json +83 -67
  378. package/package.json +7 -7
  379. package/schemas/settings.schema.json +3 -2
  380. package/dist/core/resume/setup-hook.d.ts +0 -69
  381. package/dist/core/resume/setup-hook.d.ts.map +0 -1
  382. package/dist/core/resume/setup-hook.js +0 -261
  383. package/dist/core/resume/setup-hook.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,168 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.9.75] - 2026-11-10
6
+
7
+ Resumed sessions build their own environment from a blueprint, and Copilot and moved-folder sessions fail less.
8
+
9
+ - **Blueprints replace the resume setup hook.** Describe how to set up a checkout in `.atomic/blueprint.yaml` (Devin's format) and every resume, workflow resume and woken subagent builds it, only rebuilding what changed; a failing build is reported as Partial and never blocks the resume, and only the checkout you are working in can stop one ([#4588](https://github.com/bastani-inc/atomic/issues/4588), [#4584](https://github.com/bastani-inc/atomic/issues/4584)).
10
+ - **Sessions from moved or renamed folders.** When a session's working directory no longer exists, Atomic asks whether to continue here, fork into the current directory or cancel, in `/resume`, `/import` and at startup, and an import that cannot run stores nothing ([earendil-works/pi#11060](https://github.com/earendil-works/pi/issues/11060)).
11
+ - **Steadier GitHub Copilot turns.** A response cut after a long attempt is retried once, then moves to your fallback model or suggests smaller steps instead of burning minutes on every retry; silent thinking no longer trips the stream deadline, and a saved API key only offers models your account can use ([#4626](https://github.com/bastani-inc/atomic/issues/4626), [#4627](https://github.com/bastani-inc/atomic/issues/4627)).
12
+ - **Cheaper idle sessions.** `cacheWarming` now defaults to `"idle"`, keeping eligible prompt caches warm for up to 30 minutes between runs only when the refresh pays for itself (upstream [#11857](https://github.com/earendil-works/pi/pull/11857)).
13
+ - **SVG images that just work.** GPT Image 2.6 `{ outputFormat: "svg" }` works without an `svg.model`, reports the model that wrote it, and fails with a clear `invalid-option` reason when the API rejects it ([#4615](https://github.com/bastani-inc/atomic/issues/4615)).
14
+ - **Fewer stalls and stale states.** Long runs with many subagents no longer slow down on Node.js 22, the compaction indicator stays on screen while other views redraw, and `atomic update --models` and Windows SQLite stores recover from stale logins and killed processes ([#4622](https://github.com/bastani-inc/atomic/pull/4622), [#4625](https://github.com/bastani-inc/atomic/issues/4625), [#4610](https://github.com/bastani-inc/atomic/issues/4610)).
15
+ - **Tool and terminal fixes from pi 1.5.1.** `find` matches Windows path patterns with every fd version and stops when cancelled, `powershell` no longer reports success as failure on Windows PowerShell 5.1, and Markdown comments, paste markers, Kitty images and Alacritty links render correctly ([earendil-works/pi#9262](https://github.com/earendil-works/pi/issues/9262), [earendil-works/pi#11974](https://github.com/earendil-works/pi/pull/11974), [earendil-works/pi#11964](https://github.com/earendil-works/pi/pull/11964), [earendil-works/pi#11923](https://github.com/earendil-works/pi/issues/11923)).
16
+
17
+ **Breaking change:** `.atomic/setup` is no longer run on resume; move its commands into the `initialize` or `maintenance` steps of `.atomic/blueprint.yaml`. Workflow stage status `waiting` is now `suspended`; update status comparisons and maps (the `waiting` filter remains a deprecated alias).
18
+
19
+ ### Breaking Changes
20
+
21
+ - `WorkflowStageStatus` now uses `suspended` instead of `waiting` for a workflow stage whose session is released. Migration: replace `waiting` with `suspended` in stage-status values, comparisons, switches and status-keyed maps. The `status` filters of `session.workflows.listRuns()` and `getStages()` still accept `waiting` as a deprecated alias of `suspended`; this alias does not preserve the old returned status value ([#4589](https://github.com/bastani-inc/atomic/issues/4589))
22
+ - Removed the resume setup hook: the executable `.atomic/setup` file is no longer read, and a resume no longer fails or removes the restored worktree when setup is missing or fails. A missing, untrusted or failing setup never blocks a resume; Git is the only restore precondition left. Use a blueprint instead, as described below ([#4588](https://github.com/bastani-inc/atomic/issues/4588), supersedes [#4585](https://github.com/bastani-inc/atomic/issues/4585), [#4586](https://github.com/bastani-inc/atomic/issues/4586) and [#4587](https://github.com/bastani-inc/atomic/issues/4587))
23
+ - Removed `ResumeSetupHookError`, `isResumeSetupHookError`, the `setup-hook-failed` and `setup-hook-timed-out` error codes, the `setup-hook-missing` precondition problem code, `ensureResumeSetup`, `readResumeSetupLedger`, `RESUME_SETUP_HOOK_FILE`, `retryFailedSessionSetup` and the other setup-hook exports. `RunWorktreeTarget` now carries `remotes` instead of `envHash`, `restoreRunWorktree` takes the snapshot's `remotes` instead of its `envHash`, `setUpRestoredRunWorktrees` builds blueprints and never rejects for them, and `PrepareSessionResumeOptions.setup` is now `blueprint` ([#4588](https://github.com/bastani-inc/atomic/issues/4588))
24
+
25
+ ### Added
26
+
27
+ - Blueprints replace the resume setup hook, in Devin's blueprint format and semantics with the repository file at `.atomic/blueprint.yaml` (and `<dir>/.atomic/blueprint.yaml` for workspaces listed in `includes`) and a global blueprint at `~/.atomic/agent/blueprint.yaml`. `initialize`, `maintenance`, `knowledge` and a global `post-build` section, `run` and GitHub Action `uses` steps (Node.js and composite actions), per-step `env`, `$ENVRC`, `runs-on`, `shell`, multi-document files and a 3-hour step timeout all work as in Devin. A resume builds each worktree it restored: global `initialize` and `maintenance`, then each repository's and workspace's `initialize` and `maintenance`, then the global `post-build`, and only in a trusted project. Builds are differential: an unchanged workspace is inherited (its `initialize` is skipped), a changed, new or previously failed one is rebuilt, and a full build runs when the global blueprint changed or the last full build is older than 7 days. A failing repository or workspace step is reported as a Partial build, a failing global blueprint or `post-build` as a prominent warning, each naming the blueprint and the step and pointing at a per-step build log; the resume always continues, and the next resume rebuilds what failed ([#4588](https://github.com/bastani-inc/atomic/issues/4588))
28
+ - A resumed session's first turn now carries each applicable blueprint's `maintenance` steps and `knowledge` items (and the failing step of a build that failed), labelled as run, not yet run (skipped or untrusted) or partial; `maintenance` is never run automatically at session start. The default system prompt asks the agent to generate `.atomic/blueprint.yaml` when it is missing, update it in the same change that needs it, record `knowledge`, leave secrets out, edit the global blueprint only on request, and fix it after a Partial build ([#4588](https://github.com/bastani-inc/atomic/issues/4588))
29
+ - A workflow run resumed again on the same machine builds again a worktree whose earlier build failed or never finished, and a repository keeps its differential-build identity across repeated resumes of the same session or run. The stages of a resumed workflow run and pooled children that start in a restored worktree get that worktree's blueprint context and `$ENVRC` variables too, and variables a blueprint writes to `$ENVRC` reach the resumed session's `bash` tool for the worktrees the build restored ([#4588](https://github.com/bastani-inc/atomic/issues/4588))
30
+ - `BlueprintError` and its subclasses (`BlueprintInvalidError`, `BlueprintStepFailedError`, `BlueprintStepTimedOutError`, `BlueprintUsesUnsupportedError`, `BlueprintBuildFailedError`) with guards, `serializeBlueprintError` and `rehydrateBlueprintError`, plus `parseBlueprint`, `runBlueprintBuild`, `setUpResumedBlueprints` and `renderBlueprintContext`, are exported from `@bastani/atomic` ([#4588](https://github.com/bastani-inc/atomic/issues/4588))
31
+ - `/resume`, `/import` and woken sessions show the warnings of the blueprint builds they ran, and workflow resumes record them as workflow notices ([#4588](https://github.com/bastani-inc/atomic/issues/4588))
32
+ - Recorded Claude Fable 5.2 results in the evals snapshot used by automatic model routing: Artificial Analysis rows for all five efforts, its Terminal-Bench-Science measurements, and Anthropic's vendor-reported launch and system-card results. Recorded Artificial Analysis results in the evals snapshot for Kimi K3.1 Pro, Muse Wonder, Muse Ember, Muse Spark Open, MiniMax-M3.1-Flash, MiMo-V2.6-Flash, Ling 3.1 Flash, Inkling 2 Small, Mistral Large 4, Tencent Hy4, Beam 1.0, Nemotron 3.5 Super VL, Solar Mini 4 and DeepSeek V4.1 Flash 1017 (whose catalog IDs previously resolved to the older V4.1 Flash rows), so automatic model routing can rank them on measured results. Refreshed Artificial Analysis values in the evals snapshot that AA re-measured under the same benchmark version: AutomationBench-AA for Claude Sonnet 5.5 and Solar Pro 4, GDP.pdf and MMMU-Pro for GPT-6 Luna, GDP.pdf for Qwen3.8 27B, five more Solar Pro 4 columns, and newly published GDP.pdf and AA-AnalystAgent cells on those rows ([#4611](https://github.com/bastani-inc/atomic/issues/4611))
33
+ - `LONG_STREAM_CUT_MS`, `MAX_LONG_STREAM_CUT_RETRIES` and `isLongStreamCut()` are exported from `@bastani/atomic`. `nextRetryDecision()` takes an optional fifth argument, the number of retries already made after a long stream cut, and stops allowing a same-model retry for a repeated long cut; callers that omit it keep their current behavior ([#4626](https://github.com/bastani-inc/atomic/issues/4626))
34
+ - `MissingSessionCwdError` is exported with a stable `code` (`session-cwd-missing`), a `hint`, JSON `fields()`, `isMissingSessionCwdError`, `serializeMissingSessionCwdError`, `rehydrateMissingSessionCwdError` and `isSerializedMissingSessionCwdError`; the RPC client rebuilds it for `switch_session` and `import_session`, and it crosses the workflow worker protocol as itself ([earendil-works/pi#11060](https://github.com/earendil-works/pi/issues/11060))
35
+
36
+ ### Deprecated
37
+
38
+ - `resume.setupCommand` is deprecated and stays for one release as an alias for one maintenance step of the global blueprint, run in the root of each restored worktree in a trusted project; a resume that builds a worktree prints a deprecation warning while it is set. Move the command into the `maintenance` of `.atomic/blueprint.yaml` ([#4588](https://github.com/bastani-inc/atomic/issues/4588))
39
+
40
+ ### Changed
41
+
42
+ - `cacheWarming` now defaults to `"idle"` instead of `"streaming"`: Atomic also keeps eligible prompt caches warm for up to 30 minutes between agent runs, but only when a refresh is expected to pay for itself. Set `"cacheWarming": "streaming"` in global settings for the previous behavior, or `"off"` to disable warming
43
+ - The `/login` and `/logout` provider lists and the `/login <provider>` and `/logout <provider>` completions now show the preferred partners Radius and OpenRouter first, then all other providers alphabetically. In the provider lists, partners are marked with `✦`, the selected Radius row shimmers in the Radius logo colors and the selected OpenRouter row glows in OpenRouter's brand color (lime on dark themes, violet on light themes)
44
+ - When a session's working directory no longer exists, for example after the project folder was renamed, interactive mode now offers `Continue`, `Fork` or `Cancel` instead of only continuing. `Continue` runs the session in the current directory without storing the choice, as before; `Fork` copies it into the current directory as a new session with a new ID, like `--fork`, so the next resume no longer asks. This applies at startup (`--session`, `--resume`), to `/resume` and to `/import`, in the default database and in JSONL stores, and to `ctx.switchSession()` from an extension that runs in the terminal's own process; the default interactive mode runs extensions in a separate process, where the call rejects with `MissingSessionCwdError` as in print and RPC modes. At startup in the default interactive mode, `Continue` still ends with `Stored session working directory does not exist`; choose `Fork` or use `/resume` ([earendil-works/pi#11060](https://github.com/earendil-works/pi/issues/11060))
45
+ - `runtime.switchSession()`, `runtime.importFromJsonl()` and the RPC `switch_session` and `import_session` commands now reject with `MissingSessionCwdError` when the session's working directory is missing for a session kept in the default database too, as they already did for a session kept in a JSONL file. Before, such a session opened in a directory that does not exist and its `bash` commands failed with `Working directory does not exist`
46
+ - Updated `@earendil-works/pi-tui`, `@earendil-works/pi-agent-core`, `@earendil-works/pi-codemode`, `@earendil-works/pi-schema` and `@earendil-works/pi-telemetry` to 1.5.1; the intercom, subagents, web-access and workflows packages now require `@earendil-works/pi-tui` and `@earendil-works/pi-agent-core` `^1.5.1`
47
+
48
+ ### Fixed
49
+
50
+ - Fixed GitHub Copilot accounts that use a saved API key being offered bundled models their account's own `/models` list does not contain, which failed with `400 model_not_supported`. Once a refresh has read the list with the key, `/model`, `--list-models`, scoped models and automatic model routing show only the models it lists, as for OAuth logins, and a provider alias of `github-copilot` filters by the list its own key reads. Nothing is hidden before the list has been read, while a refresh cannot read it (offline, an expired key, a network error), or when the key comes from `COPILOT_GITHUB_TOKEN` or `--api-key` ([#4627](https://github.com/bastani-inc/atomic/issues/4627))
51
+ - Fixed agent sessions slowing every later session on Node.js 22: each session kept two async-context stores alive for the life of the process, so long runs with many subagents or workflow stages grew steadily slower ([#4622](https://github.com/bastani-inc/atomic/pull/4622))
52
+ - Fixed the `find` tool's fd fallback on Windows returning no results for path patterns such as `src/**/*.ts` with fd 10.5.1. Windows path patterns now match the same way with every fd version: `src/**/*.ts` also finds files directly in `src/`, and `src/*.ts` no longer finds files in subdirectories ([earendil-works/pi#9262](https://github.com/earendil-works/pi/issues/9262), [earendil-works/pi#11972](https://github.com/earendil-works/pi/pull/11972))
53
+ - Fixed the `find` tool starting `fd` for a later search path after the call was already aborted. A cancelled `find` now throws `FileToolAbortedError`, like `read`, `edit` and `write` ([earendil-works/pi#11974](https://github.com/earendil-works/pi/pull/11974))
54
+ - Fixed SQLite stores sometimes failing to open on Windows with `disk I/O error (SQLite code 1546)` after another process using the database was killed. Initialization now retries that specific error for up to 5 seconds, bounded by the configured busy timeout; other I/O errors still fail immediately ([#4610](https://github.com/bastani-inc/atomic/issues/4610))
55
+ - Restored the optional, deprecated `GrepOperations.readFile` field so existing custom operations still compile. The callback remains ignored; context lines come from local search. Override `execute()` for remote search ([#4610](https://github.com/bastani-inc/atomic/issues/4610))
56
+ - Fixed the `powershell` tool reporting exit code 1 on Windows PowerShell 5.1 when a native command succeeded but redirected stderr, such as `git push 2>&1 | Select-Object -Last 3`. Failed commands and unfinished scripts still report failure (upstream [earendil-works/pi#11964](https://github.com/earendil-works/pi/pull/11964), [#8842](https://github.com/earendil-works/pi/issues/8842))
57
+ - Fixed `atomic update --models` failing when a provider's login has gone stale. Built-in pi.dev catalog refreshes no longer renew OAuth; account-specific catalogs warn with `atomic auth login <provider>` when OAuth refresh fails and let other catalogs refresh. Other catalog failures still exit nonzero ([#4610](https://github.com/bastani-inc/atomic/issues/4610))
58
+ - Fixed `atomic --session <id>` refusing to resume with `setup-hook-missing` when a checkout other than the one the session runs in was missing or changed, for example a sibling worktree or a `/tmp` probe worktree a workflow stage used, although the current checkout was unchanged. Only the checkout the session's working directory is in can now stop a resume: a changed checkout the session worked in on this machine continues as it is, and another checkout that cannot be restored (no Git, no setup hook, a failed restore or a failed hook) is left out with a warning that names its path and why. When the current checkout cannot be restored, `ResumePreconditionError` lists every unmet piece of every checkout the resume would restore, and each `problems[]` entry names its checkout in the new optional `checkout` field ([#4584](https://github.com/bastani-inc/atomic/issues/4584))
59
+ - Fixed a tool call that a suspended workflow stage still waits on showing in the stage's transcript as "Tool execution was interrupted after it started": `ChatSessionHost.loadSession()` takes the ids of the calls in flight and shows them as pending, then shows their real results ([#4589](https://github.com/bastani-inc/atomic/issues/4589))
60
+ - Fixed Git Bash blueprint steps failing when writing build logs on Windows, and kept `$ENVRC` paths and `PATH` values usable by PowerShell and Node.js actions ([#4588](https://github.com/bastani-inc/atomic/issues/4588))
61
+ - Fixed SVG generation with GPT Image 2.6 through codemode `models.generateImages()`, `ctx.modelRegistry.generateImages()` and the `@bastani/pi-ai` `generateImages()` that workflows call failing with `api-error` when the account requires `svg.model`. `{ outputFormat: "svg" }` now works alone, `result.svgModel` names the model that wrote the SVG, and a rejected `svg.model` returns `invalid-option` with `reason` `required-by-api`, `rejected-by-api` or `unsupported-by-api`. The codemode, extension API, workflow authoring and provider docs explain the `svg.model` default (`gpt-6.1-sol`, which OpenAI does not document), the timeouts SVG authoring needs, and show working SVG and GIF examples ([#4615](https://github.com/bastani-inc/atomic/issues/4615))
62
+ - Fixed the compaction indicator vanishing while an extension, workflow or `ask_user_question` view hid and restored the Working row during compaction. The indicator, its reason and its cancel hint now stay on screen (or return) for as long as the session is compacting, whether the compaction is manual, automatic or runs mid-turn, and nothing stale remains when it ends while that view is open ([#4625](https://github.com/bastani-inc/atomic/issues/4625))
63
+ - Fixed a GitHub Copilot response that is cut mid-stream after a long attempt being retried on the same model until the retries ran out, each retry spending several more minutes before it was cut again. When an attempt ran 5 minutes or more before its stream ended early, Atomic now retries the same model once more. A second such cut, with no successful response in between, stops retrying that model: the turn moves to the next `fallbackModels` entry when there is one, and otherwise ends with a message that suggests splitting the work into smaller steps, lowering the thinking effort or setting `fallbackModels`. Cuts after shorter attempts keep the usual `retry.maxRetries` budget, and partial output is still never replayed. The retry notice and the final error also show how long the attempt ran, whether the response had started and the request ID. Anthropic `ping` events now count as activity for `streamDeadlineMs` too, so a model thinking silently while the server kept the connection alive is no longer cut at the deadline ([#4626](https://github.com/bastani-inc/atomic/issues/4626))
64
+ - Fixed Markdown rendering HTML comments (`<!-- ... -->`) as visible text (from pi-tui 1.5.1, [earendil-works/pi#11710](https://github.com/earendil-works/pi/issues/11710))
65
+ - Fixed internal cursor markers leaking into terminal output, including with multiple markers or horizontally clipped content (from pi-tui 1.5.1, [earendil-works/pi#9441](https://github.com/earendil-works/pi/pull/9441))
66
+ - Fixed Alacritty hyperlinks not being enabled when `TERM_PROGRAM` is unset; detection now also uses `TERM` and `ALACRITTY_WINDOW_ID` (from pi-tui 1.5.1, [earendil-works/pi#11767](https://github.com/earendil-works/pi/issues/11767))
67
+ - Fixed codemode tool declarations throwing `URIError` for a local `$ref` with a malformed percent escape such as `#/$defs/%E0`, which failed every script that renders all tools; the reference now renders as `unknown` (from pi-codemode 1.5.1, [earendil-works/pi#11803](https://github.com/earendil-works/pi/issues/11803))
68
+ - Fixed `/resume` and `/import` of a session whose working directory no longer exists in the default interactive mode: a session kept in a JSONL file failed without asking and the one in the default database opened in the missing directory, because the engine's error did not reach the terminal. The typed error now crosses the RPC boundary (`errorCode: "missing_session_cwd"`) and the prompt appears. Fixed `/import` of a session whose working directory no longer exists storing the session before asking what to do: continuing then failed with `Session already exists`, and cancelling left the session in storage. An import that cannot run now stores nothing ([earendil-works/pi#11060](https://github.com/earendil-works/pi/issues/11060))
69
+ - Fixed `console.*` output and thrown non-Error values in codemode scripts showing `NaN`, `Infinity` and `-Infinity` as `null`; they now print as `text()` prints them (from pi-codemode 1.5.1, [earendil-works/pi#11901](https://github.com/earendil-works/pi/issues/11901))
70
+ - Fixed deleting a paste marker with Backspace in the prompt editor corrupting later short markers such as `[paste #2]`, which made Enter submit the marker text instead of the pasted content (from pi-tui 1.5.1, [earendil-works/pi#11923](https://github.com/earendil-works/pi/issues/11923))
71
+ - Fixed fullscreen Kitty images showing only their first row in terminals whose image layer stores images in the cells they cover, such as Orca and WezTerm. Fullscreen now draws Kitty images after clearing and writing the rows they cover on every terminal (from pi-tui 1.5.1, [earendil-works/pi#11835](https://github.com/earendil-works/pi/issues/11835))
72
+
73
+ ## [0.9.75-alpha.1] - 2026-11-10
74
+
75
+ Resumed sessions build their own environment from a blueprint, and Copilot and moved-folder sessions fail less.
76
+
77
+ - **Blueprints replace the resume setup hook.** Describe how to set up a checkout in `.atomic/blueprint.yaml` (Devin's format) and every resume, workflow resume and woken subagent builds it, only rebuilding what changed; a failing build is reported as Partial and never blocks the resume, and only the checkout you are working in can stop one ([#4588](https://github.com/bastani-inc/atomic/issues/4588), [#4584](https://github.com/bastani-inc/atomic/issues/4584)).
78
+ - **Sessions from moved or renamed folders.** When a session's working directory no longer exists, Atomic asks whether to continue here, fork into the current directory or cancel, in `/resume`, `/import` and at startup, and an import that cannot run stores nothing ([earendil-works/pi#11060](https://github.com/earendil-works/pi/issues/11060)).
79
+ - **Steadier GitHub Copilot turns.** A response cut after a long attempt is retried once, then moves to your fallback model or suggests smaller steps instead of burning minutes on every retry; silent thinking no longer trips the stream deadline, and a saved API key only offers models your account can use ([#4626](https://github.com/bastani-inc/atomic/issues/4626), [#4627](https://github.com/bastani-inc/atomic/issues/4627)).
80
+ - **Cheaper idle sessions.** `cacheWarming` now defaults to `"idle"`, keeping eligible prompt caches warm for up to 30 minutes between runs only when the refresh pays for itself (upstream [#11857](https://github.com/earendil-works/pi/pull/11857)).
81
+ - **SVG images that just work.** GPT Image 2.6 `{ outputFormat: "svg" }` works without an `svg.model`, reports the model that wrote it, and fails with a clear `invalid-option` reason when the API rejects it ([#4615](https://github.com/bastani-inc/atomic/issues/4615)).
82
+ - **Fewer stalls and stale states.** Long runs with many subagents no longer slow down on Node.js 22, the compaction indicator stays on screen while other views redraw, and `atomic update --models` and Windows SQLite stores recover from stale logins and killed processes ([#4622](https://github.com/bastani-inc/atomic/pull/4622), [#4625](https://github.com/bastani-inc/atomic/issues/4625), [#4610](https://github.com/bastani-inc/atomic/issues/4610)).
83
+
84
+ **Breaking change:** `.atomic/setup` is no longer run on resume; move its commands into the `initialize` or `maintenance` steps of `.atomic/blueprint.yaml`. Workflow stage status `waiting` is now `suspended`; update status comparisons and maps (the `waiting` filter remains a deprecated alias).
85
+
86
+ ### Breaking Changes
87
+
88
+ - `WorkflowStageStatus` now uses `suspended` instead of `waiting` for a workflow stage whose session is released. Migration: replace `waiting` with `suspended` in stage-status values, comparisons, switches and status-keyed maps. The `status` filters of `session.workflows.listRuns()` and `getStages()` still accept `waiting` as a deprecated alias of `suspended`; this alias does not preserve the old returned status value ([#4589](https://github.com/bastani-inc/atomic/issues/4589))
89
+ - Removed the resume setup hook: the executable `.atomic/setup` file is no longer read, and a resume no longer fails or removes the restored worktree when setup is missing or fails. A missing, untrusted or failing setup never blocks a resume; Git is the only restore precondition left. Use a blueprint instead, as described below ([#4588](https://github.com/bastani-inc/atomic/issues/4588), supersedes [#4585](https://github.com/bastani-inc/atomic/issues/4585), [#4586](https://github.com/bastani-inc/atomic/issues/4586) and [#4587](https://github.com/bastani-inc/atomic/issues/4587))
90
+ - Removed `ResumeSetupHookError`, `isResumeSetupHookError`, the `setup-hook-failed` and `setup-hook-timed-out` error codes, the `setup-hook-missing` precondition problem code, `ensureResumeSetup`, `readResumeSetupLedger`, `RESUME_SETUP_HOOK_FILE`, `retryFailedSessionSetup` and the other setup-hook exports. `RunWorktreeTarget` now carries `remotes` instead of `envHash`, `restoreRunWorktree` takes the snapshot's `remotes` instead of its `envHash`, `setUpRestoredRunWorktrees` builds blueprints and never rejects for them, and `PrepareSessionResumeOptions.setup` is now `blueprint` ([#4588](https://github.com/bastani-inc/atomic/issues/4588))
91
+
92
+ ### Added
93
+
94
+ - Blueprints replace the resume setup hook, in Devin's blueprint format and semantics with the repository file at `.atomic/blueprint.yaml` (and `<dir>/.atomic/blueprint.yaml` for workspaces listed in `includes`) and a global blueprint at `~/.atomic/agent/blueprint.yaml`. `initialize`, `maintenance`, `knowledge` and a global `post-build` section, `run` and GitHub Action `uses` steps (Node.js and composite actions), per-step `env`, `$ENVRC`, `runs-on`, `shell`, multi-document files and a 3-hour step timeout all work as in Devin. A resume builds each worktree it restored: global `initialize` and `maintenance`, then each repository's and workspace's `initialize` and `maintenance`, then the global `post-build`, and only in a trusted project. Builds are differential: an unchanged workspace is inherited (its `initialize` is skipped), a changed, new or previously failed one is rebuilt, and a full build runs when the global blueprint changed or the last full build is older than 7 days. A failing repository or workspace step is reported as a Partial build, a failing global blueprint or `post-build` as a prominent warning, each naming the blueprint and the step and pointing at a per-step build log; the resume always continues, and the next resume rebuilds what failed ([#4588](https://github.com/bastani-inc/atomic/issues/4588))
95
+ - A resumed session's first turn now carries each applicable blueprint's `maintenance` steps and `knowledge` items (and the failing step of a build that failed), labelled as run, not yet run (skipped or untrusted) or partial; `maintenance` is never run automatically at session start. The default system prompt asks the agent to generate `.atomic/blueprint.yaml` when it is missing, update it in the same change that needs it, record `knowledge`, leave secrets out, edit the global blueprint only on request, and fix it after a Partial build ([#4588](https://github.com/bastani-inc/atomic/issues/4588))
96
+ - A workflow run resumed again on the same machine builds again a worktree whose earlier build failed or never finished, and a repository keeps its differential-build identity across repeated resumes of the same session or run. The stages of a resumed workflow run and pooled children that start in a restored worktree get that worktree's blueprint context and `$ENVRC` variables too ([#4588](https://github.com/bastani-inc/atomic/issues/4588))
97
+ - Variables a blueprint writes to `$ENVRC` reach the resumed session's `bash` tool for the worktrees the build restored ([#4588](https://github.com/bastani-inc/atomic/issues/4588))
98
+ - `BlueprintError` and its subclasses (`BlueprintInvalidError`, `BlueprintStepFailedError`, `BlueprintStepTimedOutError`, `BlueprintUsesUnsupportedError`, `BlueprintBuildFailedError`) with guards, `serializeBlueprintError` and `rehydrateBlueprintError`, plus `parseBlueprint`, `runBlueprintBuild`, `setUpResumedBlueprints` and `renderBlueprintContext`, are exported from `@bastani/atomic` ([#4588](https://github.com/bastani-inc/atomic/issues/4588))
99
+ - `/resume`, `/import` and woken sessions show the warnings of the blueprint builds they ran, and workflow resumes record them as workflow notices ([#4588](https://github.com/bastani-inc/atomic/issues/4588))
100
+ - Recorded Claude Fable 5.2 results in the evals snapshot used by automatic model routing: Artificial Analysis rows for all five efforts, its Terminal-Bench-Science measurements, and Anthropic's vendor-reported launch and system-card results. Recorded Artificial Analysis results in the evals snapshot for Kimi K3.1 Pro, Muse Wonder, Muse Ember, Muse Spark Open, MiniMax-M3.1-Flash, MiMo-V2.6-Flash, Ling 3.1 Flash, Inkling 2 Small, Mistral Large 4, Tencent Hy4, Beam 1.0, Nemotron 3.5 Super VL, Solar Mini 4 and DeepSeek V4.1 Flash 1017 (whose catalog IDs previously resolved to the older V4.1 Flash rows), so automatic model routing can rank them on measured results. Refreshed Artificial Analysis values in the evals snapshot that AA re-measured under the same benchmark version: AutomationBench-AA for Claude Sonnet 5.5 and Solar Pro 4, GDP.pdf and MMMU-Pro for GPT-6 Luna, GDP.pdf for Qwen3.8 27B, five more Solar Pro 4 columns, and newly published GDP.pdf and AA-AnalystAgent cells on those rows ([#4611](https://github.com/bastani-inc/atomic/issues/4611))
101
+ - `LONG_STREAM_CUT_MS`, `MAX_LONG_STREAM_CUT_RETRIES` and `isLongStreamCut()` are exported from `@bastani/atomic`. `nextRetryDecision()` takes an optional fifth argument, the number of retries already made after a long stream cut, and stops allowing a same-model retry for a repeated long cut; callers that omit it keep their current behavior ([#4626](https://github.com/bastani-inc/atomic/issues/4626))
102
+ - `MissingSessionCwdError` is exported with a stable `code` (`session-cwd-missing`), a `hint`, JSON `fields()`, `isMissingSessionCwdError`, `serializeMissingSessionCwdError`, `rehydrateMissingSessionCwdError` and `isSerializedMissingSessionCwdError`; the RPC client rebuilds it for `switch_session` and `import_session`, and it crosses the workflow worker protocol as itself ([earendil-works/pi#11060](https://github.com/earendil-works/pi/issues/11060))
103
+
104
+ ### Deprecated
105
+
106
+ - `resume.setupCommand` is deprecated and stays for one release as an alias for one maintenance step of the global blueprint, run in the root of each restored worktree in a trusted project; a resume that builds a worktree prints a deprecation warning while it is set. Move the command into the `maintenance` of `.atomic/blueprint.yaml` ([#4588](https://github.com/bastani-inc/atomic/issues/4588))
107
+
108
+ ### Changed
109
+
110
+ - `cacheWarming` now defaults to `"idle"` instead of `"streaming"`: Atomic also keeps eligible prompt caches warm for up to 30 minutes between agent runs, but only when a refresh is expected to pay for itself. Set `"cacheWarming": "streaming"` in global settings for the previous behavior, or `"off"` to disable warming
111
+ - The `/login` and `/logout` provider lists and the `/login <provider>` and `/logout <provider>` completions now show the preferred partners Radius and OpenRouter first, then all other providers alphabetically. In the provider lists, partners are marked with `✦`, the selected Radius row shimmers in the Radius logo colors and the selected OpenRouter row glows in OpenRouter's brand color (lime on dark themes, violet on light themes)
112
+ - When a session's working directory no longer exists, for example after the project folder was renamed, interactive mode now offers `Continue`, `Fork` or `Cancel` instead of only continuing. `Continue` runs the session in the current directory without storing the choice, as before; `Fork` copies it into the current directory as a new session with a new ID, like `--fork`, so the next resume no longer asks. This applies at startup (`--session`, `--resume`), to `/resume` and to `/import`, in the default database and in JSONL stores, and to `ctx.switchSession()` from an extension that runs in the terminal's own process; the default interactive mode runs extensions in a separate process, where the call rejects with `MissingSessionCwdError` as in print and RPC modes. At startup in the default interactive mode, `Continue` still ends with `Stored session working directory does not exist`; choose `Fork` or use `/resume` ([earendil-works/pi#11060](https://github.com/earendil-works/pi/issues/11060))
113
+ - `runtime.switchSession()`, `runtime.importFromJsonl()` and the RPC `switch_session` and `import_session` commands now reject with `MissingSessionCwdError` when the session's working directory is missing for a session kept in the default database too, as they already did for a session kept in a JSONL file. Before, such a session opened in a directory that does not exist and its `bash` commands failed with `Working directory does not exist`
114
+ - Updated `@earendil-works/pi-tui`, `@earendil-works/pi-agent-core`, `@earendil-works/pi-codemode`, `@earendil-works/pi-schema` and `@earendil-works/pi-telemetry` to 1.5.1; the intercom, subagents, web-access and workflows packages now require `@earendil-works/pi-tui` and `@earendil-works/pi-agent-core` `^1.5.1`
115
+
116
+ ### Fixed
117
+
118
+ - Fixed GitHub Copilot accounts that use a saved API key being offered bundled models their account's own `/models` list does not contain, which failed with `400 model_not_supported`. Once a refresh has read the list with the key, `/model`, `--list-models`, scoped models and automatic model routing show only the models it lists, as for OAuth logins, and a provider alias of `github-copilot` filters by the list its own key reads. Nothing is hidden before the list has been read, while a refresh cannot read it (offline, an expired key, a network error), or when the key comes from `COPILOT_GITHUB_TOKEN` or `--api-key` ([#4627](https://github.com/bastani-inc/atomic/issues/4627))
119
+ - Fixed agent sessions slowing every later session on Node.js 22: each session kept two async-context stores alive for the life of the process, so long runs with many subagents or workflow stages grew steadily slower ([#4622](https://github.com/bastani-inc/atomic/pull/4622))
120
+ - Fixed the `find` tool's fd fallback on Windows returning no results for path patterns such as `src/**/*.ts` with fd 10.5.1. Windows path patterns now match the same way with every fd version: `src/**/*.ts` also finds files directly in `src/`, and `src/*.ts` no longer finds files in subdirectories ([earendil-works/pi#9262](https://github.com/earendil-works/pi/issues/9262), [earendil-works/pi#11972](https://github.com/earendil-works/pi/pull/11972))
121
+ - Fixed the `find` tool starting `fd` for a later search path after the call was already aborted. A cancelled `find` now throws `FileToolAbortedError`, like `read`, `edit` and `write` ([earendil-works/pi#11974](https://github.com/earendil-works/pi/pull/11974))
122
+ - Fixed SQLite stores sometimes failing to open on Windows with `disk I/O error (SQLite code 1546)` after another process using the database was killed. Initialization now retries that specific error for up to 5 seconds, bounded by the configured busy timeout; other I/O errors still fail immediately ([#4610](https://github.com/bastani-inc/atomic/issues/4610))
123
+ - Restored the optional, deprecated `GrepOperations.readFile` field so existing custom operations still compile. The callback remains ignored; context lines come from local search. Override `execute()` for remote search ([#4610](https://github.com/bastani-inc/atomic/issues/4610))
124
+ - Fixed the `powershell` tool reporting exit code 1 on Windows PowerShell 5.1 when a native command succeeded but redirected stderr, such as `git push 2>&1 | Select-Object -Last 3`. Failed commands and unfinished scripts still report failure (upstream [#11964](https://github.com/earendil-works/pi/pull/11964), [#8842](https://github.com/earendil-works/pi/issues/8842))
125
+ - Fixed `atomic update --models` failing when a provider's login has gone stale. Built-in pi.dev catalog refreshes no longer renew OAuth; account-specific catalogs warn with `atomic auth login <provider>` when OAuth refresh fails and let other catalogs refresh. Other catalog failures still exit nonzero ([#4610](https://github.com/bastani-inc/atomic/issues/4610))
126
+ - Fixed `atomic --session <id>` refusing to resume with `setup-hook-missing` when a checkout other than the one the session runs in was missing or changed, for example a sibling worktree or a `/tmp` probe worktree a workflow stage used, although the current checkout was unchanged. Only the checkout the session's working directory is in can now stop a resume: a changed checkout the session worked in on this machine continues as it is, and another checkout that cannot be restored (no Git, no setup hook, a failed restore or a failed hook) is left out with a warning that names its path and why. When the current checkout cannot be restored, `ResumePreconditionError` lists every unmet piece of every checkout the resume would restore, and each `problems[]` entry names its checkout in the new optional `checkout` field ([#4584](https://github.com/bastani-inc/atomic/issues/4584))
127
+ - Fixed a tool call that a suspended workflow stage still waits on showing in the stage's transcript as "Tool execution was interrupted after it started": `ChatSessionHost.loadSession()` takes the ids of the calls in flight and shows them as pending, then shows their real results ([#4589](https://github.com/bastani-inc/atomic/issues/4589))
128
+ - Fixed Git Bash blueprint steps failing when writing build logs on Windows, and kept `$ENVRC` paths and `PATH` values usable by PowerShell and Node.js actions ([#4588](https://github.com/bastani-inc/atomic/issues/4588))
129
+ - Fixed SVG generation with GPT Image 2.6 through codemode `models.generateImages()`, `ctx.modelRegistry.generateImages()` and the `@bastani/pi-ai` `generateImages()` that workflows call failing with `api-error` when the account requires `svg.model`. `{ outputFormat: "svg" }` now works alone, `result.svgModel` names the model that wrote the SVG, and a rejected `svg.model` returns `invalid-option` with `reason` `required-by-api`, `rejected-by-api` or `unsupported-by-api`. The codemode, extension API, workflow authoring and provider docs explain the `svg.model` default (`gpt-6.1-sol`, which OpenAI does not document), the timeouts SVG authoring needs, and show working SVG and GIF examples ([#4615](https://github.com/bastani-inc/atomic/issues/4615))
130
+ - Fixed the compaction indicator vanishing while an extension, workflow or `ask_user_question` view hid and restored the Working row during compaction. The indicator, its reason and its cancel hint now stay on screen (or return) for as long as the session is compacting, whether the compaction is manual, automatic or runs mid-turn, and nothing stale remains when it ends while that view is open ([#4625](https://github.com/bastani-inc/atomic/issues/4625))
131
+ - Fixed a GitHub Copilot response that is cut mid-stream after a long attempt being retried on the same model until the retries ran out, each retry spending several more minutes before it was cut again. When an attempt ran 5 minutes or more before its stream ended early, Atomic now retries the same model once more. A second such cut, with no successful response in between, stops retrying that model: the turn moves to the next `fallbackModels` entry when there is one, and otherwise ends with a message that suggests splitting the work into smaller steps, lowering the thinking effort or setting `fallbackModels`. Cuts after shorter attempts keep the usual `retry.maxRetries` budget, and partial output is still never replayed. The retry notice and the final error also show how long the attempt ran, whether the response had started and the request ID. Anthropic `ping` events now count as activity for `streamDeadlineMs` too, so a model thinking silently while the server kept the connection alive is no longer cut at the deadline ([#4626](https://github.com/bastani-inc/atomic/issues/4626))
132
+ - Fixed Markdown rendering HTML comments (`<!-- ... -->`) as visible text (from pi-tui 1.5.1, [earendil-works/pi#11710](https://github.com/earendil-works/pi/issues/11710))
133
+ - Fixed internal cursor markers leaking into terminal output, including with multiple markers or horizontally clipped content (from pi-tui 1.5.1, [earendil-works/pi#9441](https://github.com/earendil-works/pi/pull/9441))
134
+ - Fixed Alacritty hyperlinks not being enabled when `TERM_PROGRAM` is unset; detection now also uses `TERM` and `ALACRITTY_WINDOW_ID` (from pi-tui 1.5.1, [earendil-works/pi#11767](https://github.com/earendil-works/pi/issues/11767))
135
+ - Fixed codemode tool declarations throwing `URIError` for a local `$ref` with a malformed percent escape such as `#/$defs/%E0`, which failed every script that renders all tools; the reference now renders as `unknown` (from pi-codemode 1.5.1, [earendil-works/pi#11803](https://github.com/earendil-works/pi/issues/11803))
136
+ - Fixed `/resume` and `/import` of a session whose working directory no longer exists in the default interactive mode: a session kept in a JSONL file failed without asking and the one in the default database opened in the missing directory, because the engine's error did not reach the terminal. The typed error now crosses the RPC boundary (`errorCode: "missing_session_cwd"`) and the prompt appears. Fixed `/import` of a session whose working directory no longer exists storing the session before asking what to do: continuing then failed with `Session already exists`, and cancelling left the session in storage. An import that cannot run now stores nothing ([earendil-works/pi#11060](https://github.com/earendil-works/pi/issues/11060))
137
+ - Fixed `console.*` output and thrown non-Error values in codemode scripts showing `NaN`, `Infinity` and `-Infinity` as `null`; they now print as `text()` prints them (from pi-codemode 1.5.1, [earendil-works/pi#11901](https://github.com/earendil-works/pi/issues/11901))
138
+ - Fixed deleting a paste marker with Backspace in the prompt editor corrupting later short markers such as `[paste #2]`, which made Enter submit the marker text instead of the pasted content (from pi-tui 1.5.1, [earendil-works/pi#11923](https://github.com/earendil-works/pi/issues/11923))
139
+ - Fixed fullscreen Kitty images showing only their first row in terminals whose image layer stores images in the cells they cover, such as Orca and WezTerm. Fullscreen now draws Kitty images after clearing and writing the rows they cover on every terminal (from pi-tui 1.5.1, [earendil-works/pi#11835](https://github.com/earendil-works/pi/issues/11835))
140
+
141
+ ## [0.9.74] - 2026-11-09
142
+
143
+ Compaction keeps more of your session verbatim and can recall what it removed.
144
+
145
+ - **Verbatim compaction that holds up.** A planner refusal partway through its answer is retried and then planned in smaller pieces instead of falling back to a lossy summary, deletions stop at the keep target instead of removing most of the session, and stray prose around the planner's ranges no longer discards its whole answer ([#4543](https://github.com/bastani-inc/atomic/issues/4543), [#4576](https://github.com/bastani-inc/atomic/pull/4576), [#4568](https://github.com/bastani-inc/atomic/issues/4568), [#4578](https://github.com/bastani-inc/atomic/pull/4578)).
146
+ - **Removed context stays reachable.** The compacted context tells the agent where removed lines live in `history://`, cut tool output names the exact range to read, and a short `Recalled context` section brings back relevant lines from earlier history; turn it off with `compaction.historyRecall: false` ([#4568](https://github.com/bastani-inc/atomic/issues/4568), [#4578](https://github.com/bastani-inc/atomic/pull/4578)).
147
+ - **Diagnostics for every session store.** Compaction failures in SQLite and other non-JSONL stores now leave a redacted diagnostic in `compaction-diagnostics/` ([#4543](https://github.com/bastani-inc/atomic/issues/4543), [#4576](https://github.com/bastani-inc/atomic/pull/4576)).
148
+ - **Resuming sessions on large stores.** `--session <id>` and `--fork <id>` no longer run out of memory when the session belongs to another directory ([#4566](https://github.com/bastani-inc/atomic/issues/4566), [#4567](https://github.com/bastani-inc/atomic/pull/4567)).
149
+ - **Workflow stages survive detached `bash` waits.** Notifications, steering, follow-ups and compactions no longer push a session past a call whose result it still waits on, so the stage no longer fails with `ToolDetachmentError` ([#4580](https://github.com/bastani-inc/atomic/issues/4580), [#4581](https://github.com/bastani-inc/atomic/pull/4581)).
150
+
151
+ ### Added
152
+
153
+ - `AgentSession.isWaitingOnDetachedResults()` tells whether the transcript still waits on the result of a detached tool call; while it does and a detachment policy is set, nothing starts a turn on the session ([#4580](https://github.com/bastani-inc/atomic/issues/4580))
154
+ - `SessionListQuery.idPrefix` lists only the sessions whose id starts with the given text (case-insensitive); custom session stores should honor it ([#4566](https://github.com/bastani-inc/atomic/issues/4566))
155
+ - The planner's `policyRefusal` outcome now reports `phase` (`"input"` or `"midstream"`, exported as `PolicyRefusalPhase`), and `CompactionPlanOptions` and `CompactionRunRequest` accept `sidecarDirectory` (`SidecarDirectory`), where diagnostics go for a persisted session that has no session file ([#4543](https://github.com/bastani-inc/atomic/issues/4543))
156
+ - After a verbatim compaction, the compacted context now tells the agent that removed `(filtered N lines)` stay in the session's history and names its `history://sessions/<sessionId>` URL, so the agent can `search` it for removed text and `read` it with `:N-M`; a workflow stage session reaches its own history the same way, even when it runs in another directory. The planner is told that removed lines stay retrievable and removes bulky re-readable output before unique requirements, decisions and conclusions. Tool results in the compacted transcript the planner sees are now cut to 2,000 characters (previously 16,000), and the truncation marker names the exact `history://sessions/<sessionId>:N-M` range to `read` for the full output (or, when that range is unknown, says the full output is in this session's history); the kept recent tail still carries full tool output. The note also points the agent at `search history://sessions` (the project's other sessions), `search history://workflows` (workflow runs) and `search history://` (both), tells it to use them before redoing an investigation or when a removed decision, error message, file path or result matters, and says that a multi-record search covers the newest records and pages on with `?offset=`. Compaction now also adds a short `Recalled context` section after the planner picks the lines to keep: matching lines from this session's earlier history (including earlier compactions), the project's other sessions and workflow runs, found with the same `history://` search from your latest request and the compaction `query`, each with a `history://…:N-M` source to `read`. It adds at most 10% of the kept context and never more than 1,500 tokens, never repeats a kept line, searches for at most 3 seconds, and is skipped on any failure, timeout, cancellation or lack of matches, so compaction never waits on it or fails because of it. Set `compaction.historyRecall` to `false` to turn it off ([#4568](https://github.com/bastani-inc/atomic/issues/4568))
157
+
158
+ ### Fixed
159
+
160
+ - Fixed `--session <id>` and `--fork <id>` running out of memory on a large session store when the session belongs to another directory: a full id is now read directly and an 8-character prefix lists only matching sessions, instead of loading every session's search text ([#4566](https://github.com/bastani-inc/atomic/issues/4566))
161
+ - Fixed compaction replacing a large session with a lossy summary when the provider refused the planner partway through its output: a refusal that arrives after the model generated tokens is now retried once and then planned in halves, and in quarters of a refused half, at message boundaries, keeping the result verbatim; the summary runs only if that fails, and an immediate refusal still goes to the summary at once ([#4543](https://github.com/bastani-inc/atomic/issues/4543))
162
+ - Fixed compaction failures such as "no usable deleted ranges" leaving no diagnostic for sessions kept in SQLite or another non-JSONL store: the planner's answer is now written to `compaction-diagnostics/` in the agent directory, and every diagnostic sidecar, JSONL sessions included, redacts credential-shaped text and cuts the stored answer to 65,536 characters ([#4543](https://github.com/bastani-inc/atomic/issues/4543))
163
+ - Fixed verbatim compaction deleting far more than the keep ratio asks for: the planner's deletions are now applied in the priority order it lists them and stop once the keep target plus a small tolerance is reached, instead of all being applied (a 50% target could delete 87% of lines). Removed lines stay retrievable through the session's history ([#4568](https://github.com/bastani-inc/atomic/issues/4568))
164
+ - Fixed verbatim compaction discarding a whole planner answer because of one stray line: prose, headers, blank lines, Markdown fences and surrounding whitespace around the `id:start,end` records are now skipped instead of making the answer malformed, and the records keep the order the planner listed them. An answer is still malformed when it has no valid record or more than half of its non-blank lines are not records. The number of skipped lines is recorded on the planner outcome and in the length-recovery diagnostic ([#4568](https://github.com/bastani-inc/atomic/issues/4568))
165
+ - Fixed a workflow stage failing with `ToolDetachmentError` (`unknown-tool-call`, or `session-busy` on a sibling) when its conversation moved past a long-running `bash` wait that had detached: while a session with a detachment policy waits on a detached call's result, a finished subagent's notification, steering, follow-ups and the continuation after a compaction no longer start a turn (they join the turn that `resumeDetachedTurn()` continues), a compaction keeps the waiting call's turn in the conversation (also when a notification was added after it), a session disposed while it waits no longer fails on a held notification, which the reopened session delivers after the result, and a result for a call whose turn the conversation already moved past is dropped and recorded in the debug log (`stale-detached-call`) instead of failing the host ([#4580](https://github.com/bastani-inc/atomic/issues/4580))
166
+
5
167
  ## [0.9.74-alpha.1] - 2026-11-09
6
168
 
7
169
  Compaction keeps more of your session verbatim and can recall what it removed.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/intercom",
3
- "version": "0.9.74-alpha.1",
3
+ "version": "0.9.75",
4
4
  "private": true,
5
5
  "description": "Atomic extension providing a private coordination channel between parent and child agent sessions. Fork of: https://github.com/nicobailon/pi-intercom",
6
6
  "contributors": [
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "peerDependencies": {
46
46
  "@bastani/atomic": "*",
47
- "@earendil-works/pi-tui": "^1.5.0",
47
+ "@earendil-works/pi-tui": "^1.5.1",
48
48
  "typebox": "*"
49
49
  },
50
50
  "peerDependenciesMeta": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/mcp",
3
- "version": "0.9.74-alpha.1",
3
+ "version": "0.9.75",
4
4
  "private": true,
5
5
  "description": "Atomic's pi-compatible MCP integration for server connections, OAuth, tools, resources, and terminal management.",
6
6
  "contributors": [
@@ -2,6 +2,27 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.9.75] - 2026-11-10
6
+
7
+ Woken subagents build blueprints, and the bundled computer-use skills are current.
8
+
9
+ - **Blueprints on wake.** A released subagent woken on another machine builds the blueprints of the worktrees it restores, and a missing or failing blueprint never stops the wake ([#4588](https://github.com/bastani-inc/atomic/issues/4588)).
10
+ - **Current browser and desktop skills.** agent-browser `v0.41.2` lists the new `webmcp-gen` skill and drops the unpinned `npx` grant; agent-desktop `v1.2.0` explains how to pick the right row among repeated elements and how stale or ambiguous refs are reported.
11
+
12
+ ### Changed
13
+
14
+ - Updated the bundled agent-browser skill to upstream `v0.41.2`. Its discovery stub now explains that the core guide ends with a table of references and that `agent-browser skills get core --full` is only for when you need every reference at once, lists the new `webmcp-gen` specialized skill, and no longer grants the unpinned `npx agent-browser` command in `allowed-tools`.
15
+ - Updated the bundled agent-desktop skill to upstream `v1.2.0`. It explains how to tell which row a repeated button belongs to (drill the row with `--root` and leave out `-i`), says that a `--root` drill adds its refs to the same snapshot id and replaces the refs it covers, and describes how refs are re-identified before an action: on Windows and Linux a ref for an element with identical twins is refused, and only `--headed mouse-click --xy`, which still needs your permission, can choose one. It also lists the new `details.kind` values for `STALE_REF` and `AMBIGUOUS_TARGET` and the `TIMEOUT` `resolution_identity_unknown` case, with the retry advice for each. Install guidance, the readiness check and permission handling are unchanged.
16
+ - Waking a released subagent on another machine now builds the blueprints of the worktrees it restores instead of running the resume setup hook, and a blueprint that is missing or fails never stops the wake ([#4588](https://github.com/bastani-inc/atomic/issues/4588))
17
+
18
+ ## [0.9.75-alpha.1] - 2026-11-10
19
+
20
+ ### Changed
21
+
22
+ - Updated the bundled agent-browser skill to upstream `v0.41.2`. Its discovery stub now explains that the core guide ends with a table of references and that `agent-browser skills get core --full` is only for when you need every reference at once, lists the new `webmcp-gen` specialized skill, and no longer grants the unpinned `npx agent-browser` command in `allowed-tools`.
23
+ - Updated the bundled agent-desktop skill to upstream `v1.2.0`. It explains how to tell which row a repeated button belongs to (drill the row with `--root` and leave out `-i`), says that a `--root` drill adds its refs to the same snapshot id and replaces the refs it covers, and describes how refs are re-identified before an action: on Windows and Linux a ref for an element with identical twins is refused, and only `--headed mouse-click --xy`, which still needs your permission, can choose one. It also lists the new `details.kind` values for `STALE_REF` and `AMBIGUOUS_TARGET` and the `TIMEOUT` `resolution_identity_unknown` case, with the retry advice for each. Install guidance, the readiness check and permission handling are unchanged.
24
+ - Waking a released subagent on another machine now builds the blueprints of the worktrees it restores instead of running the resume setup hook, and a blueprint that is missing or fails never stops the wake ([#4588](https://github.com/bastani-inc/atomic/issues/4588))
25
+
5
26
  ## [0.9.72] - 2026-11-08
6
27
 
7
28
  Background subagents that wait let go of their sessions.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/subagents",
3
- "version": "0.9.74-alpha.1",
3
+ "version": "0.9.75",
4
4
  "private": true,
5
5
  "description": "Atomic extension for delegating tasks to subagents with parallel execution. Fork of: https://github.com/nicobailon/pi-subagents",
6
6
  "contributors": [
@@ -35,8 +35,8 @@
35
35
  "peerDependencies": {
36
36
  "@bastani/atomic": "*",
37
37
  "@bastani/pi-ai": "*",
38
- "@earendil-works/pi-agent-core": "^1.5.0",
39
- "@earendil-works/pi-tui": "^1.5.0",
38
+ "@earendil-works/pi-agent-core": "^1.5.1",
39
+ "@earendil-works/pi-tui": "^1.5.1",
40
40
  "typebox": "*"
41
41
  },
42
42
  "peerDependenciesMeta": {
@@ -1,12 +1,12 @@
1
1
  ---
2
- allowed-tools: Bash(agent-browser:*), Bash(npx agent-browser:*)
2
+ allowed-tools: Bash(agent-browser:*)
3
3
  description: Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.
4
4
  hidden: true
5
5
  metadata:
6
6
  github-path: skills/agent-browser
7
- github-ref: refs/tags/v0.39.2
7
+ github-ref: refs/tags/v0.41.2
8
8
  github-repo: https://github.com/vercel-labs/agent-browser
9
- github-tree-sha: 82def67855a0d2aad7794207951820fa5422fdb0
9
+ github-tree-sha: 29ba9c12789b1c54ab76ad40e2472e646d141b85
10
10
  name: agent-browser
11
11
  ---
12
12
  # agent-browser
@@ -20,11 +20,12 @@ Install: `npm i -g agent-browser && agent-browser install`
20
20
  This file is a discovery stub, not the usage guide. Before running any `agent-browser` command, load the actual workflow content from the CLI:
21
21
 
22
22
  ```bash
23
- agent-browser skills get core # start here — workflows, common patterns, troubleshooting
24
- agent-browser skills get core --full # include full command reference and templates
23
+ agent-browser skills get core # start here: the loop, waits, common tasks, troubleshooting
25
24
  ```
26
25
 
27
- The CLI serves skill content that always matches the installed version, so instructions never go stale. The content in this stub cannot change between releases, which is why it just points at `skills get core`.
26
+ The core guide ends with a table of references to load for detailed commands and flags. Use `agent-browser skills get core --full` only when you need every reference at once; it is several times larger.
27
+
28
+ The CLI serves skill content that matches the installed version. This stub cannot change between releases, which is why it only points at `skills get core`.
28
29
 
29
30
  ## Specialized skills
30
31
 
@@ -35,6 +36,7 @@ agent-browser skills get electron # Electron desktop apps (VS Code, Sla
35
36
  agent-browser skills get slack # Slack workspace automation
36
37
  agent-browser skills get dogfood # Exploratory testing / QA / bug hunts
37
38
  agent-browser skills get derive-client # Record a HAR, derive a standalone API client for a site
39
+ agent-browser skills get webmcp-gen # Build and validate WebMCP tools for a page
38
40
  agent-browser skills get vercel-sandbox # agent-browser inside Vercel Sandbox microVMs
39
41
  agent-browser skills get protected-vercel-deployments # Access protected Vercel deployments
40
42
  agent-browser skills get agentcore # AWS Bedrock AgentCore cloud browsers
@@ -50,7 +52,3 @@ Run `agent-browser skills list` to see everything available on the installed ver
50
52
  - Accessibility-tree snapshots with element refs for reliable interaction
51
53
  - Sessions, authentication vault, state persistence, video recording
52
54
  - Specialized skills for Electron apps, Slack, exploratory testing, cloud providers
53
-
54
- ## Observability Dashboard
55
-
56
- The dashboard runs independently of browser sessions on port 4848 and can also be opened through a proxied or forwarded URL such as `https://dashboard.agent-browser.localhost`. Agents should stay on the dashboard origin: session tabs, status, and stream traffic are proxied internally, so session ports do not need to be exposed.
@@ -4,15 +4,15 @@ description: Operate native desktop applications on macOS, Windows and Linux thr
4
4
  hidden: true
5
5
  metadata:
6
6
  github-path: skills/agent-desktop
7
- github-ref: refs/tags/v1.0.2
7
+ github-ref: refs/tags/v1.2.0
8
8
  github-repo: https://github.com/vercel-labs/agent-desktop
9
- github-tree-sha: 08884bafcd7a8d0a9a3757a7ab2ba238e1d5bf2a
9
+ github-tree-sha: 4647b3cc9b929688002a9ae0f3bdd983898e049b
10
10
  name: agent-desktop
11
11
  ---
12
12
 
13
13
  # agent-desktop
14
14
 
15
- agent-desktop is a CLI that lets an AI agent observe and operate desktop apps through the OS accessibility tree. It is a tool, not an agent. Every command prints one JSON envelope (`ok`, `data` or `error`). The observe, act and verify loop runs in you.
15
+ agent-desktop is a CLI that reads and operates desktop apps through the OS accessibility tree. Every command prints one JSON envelope (`ok`, `data` or `error`). It is a tool, not an agent: the observe, act and verify loop runs in you.
16
16
 
17
17
  ## Install and permissions
18
18
 
@@ -44,6 +44,8 @@ agent-desktop snapshot --root @s8f3k2p9:e3 -i --compact # verify: re-read
44
44
  ```
45
45
 
46
46
  - A small app needs no skeleton. Take a full `snapshot -i`.
47
+ - `-i` keeps interactive nodes only, so a row's static-text label is dropped. To tell which row a repeated button belongs to, drill that row's container with `--root` and leave out `-i`. On Windows and Linux that reads the row but does not make its button actionable: a button repeated in other rows is a twin in the window and its ref is refused (see Refs).
48
+ - A `--root` drill adds its refs to the same snapshot id. Refs outside the drilled subtree, and the drilled root itself, stay valid; refs that were already inside it are replaced, so an old ref there returns `STALE_REF`.
47
49
  - Never skeleton a surface (`--surface menu`, `sheet`, `alert`). A surface is already focused.
48
50
  - An action that opens a menu, sheet or alert lists it in `data.surfaces`. Target that overlay next.
49
51
  - After an async step, use `wait` (see `commands-system.md`). A fixed sleep is a race.
@@ -53,8 +55,10 @@ agent-desktop snapshot --root @s8f3k2p9:e3 -i --compact # verify: re-read
53
55
  - Output refs are qualified: `@<snapshot_id>:e<N>`, for example `@s8f3k2p9:e1`. Pass them to later commands as they are.
54
56
  - Refs are valid for one snapshot. After any UI change, re-drill the affected region or take a new snapshot.
55
57
  - Only addressable elements get refs. Static text and inert containers do not.
56
- - `STALE_REF`: the ref no longer matches the live UI. Take a fresh snapshot and use the new ref.
57
- - `AMBIGUOUS_TARGET`: more than one live element matches. Narrow the target with `find --role --name --exact` or `--root`, then use the new ref.
58
+ - A command re-identifies the element before it acts. On macOS the ref carries the element's own address, so identical twins each keep their ref. On Windows and Linux a ref resolves only when it was the only element in the window its snapshot captured with its role, native id, name and description, counted even below a skeleton or depth cut, and exactly one live element still matches. Identical twins there have no ref path: only `--headed mouse-click --xy X,Y` can choose one, it takes the foreground, and a Linux Wayland session refuses it.
59
+ - `STALE_REF`: the element is gone or no longer matches. `details.kind` is `saved_ref_absent`, or `retained_object_stale` on macOS. Take a fresh snapshot and use the new ref.
60
+ - `AMBIGUOUS_TARGET`: an identical element appeared (`saved_ref_ambiguous`), or the ref was not proven unique at capture (`identity_not_unique`). Repeating the ref or re-snapshotting identical twins gives the same refusal; act on a control that is unique in the window. `identity_not_unique` also follows a snapshot that could not read the whole window in time: retake it with a larger `--timeout-ms`.
61
+ - `TIMEOUT` with `details.kind: resolution_identity_unknown`: a live read did not answer, so identity is unproven. Nothing was sent; retry.
58
62
  - `SNAPSHOT_NOT_FOUND`: the snapshot id expired. Snapshot again.
59
63
 
60
64
  ## Delivery and retry
@@ -16622,7 +16622,13 @@ async function continueChildWhereItWorked(ctx, launchCwd, opened) {
16622
16622
  const inherited = ctx.getChildSessionOptions?.({});
16623
16623
  const agentDir = inherited?.agentDir ?? getAgentDir3();
16624
16624
  const settingsManager = inherited?.settingsManager ?? SettingsManager2.create(launchCwd, agentDir);
16625
- return continueSessionWhereItWorked(opened, sessionResumeOptions("rehydrate", launchCwd, agentDir, settingsManager, savedProjectTrust(agentDir, settingsManager)));
16625
+ return continueSessionWhereItWorked(opened, {
16626
+ ...sessionResumeOptions("rehydrate", launchCwd, agentDir, settingsManager, savedProjectTrust(agentDir, settingsManager)),
16627
+ onNotices: (notices) => {
16628
+ for (const notice of notices)
16629
+ console.warn(`atomic-subagents: ${notice.message}`);
16630
+ }
16631
+ });
16626
16632
  }
16627
16633
  async function relaunchChild(deps, ctx, record, hold, release, onReopened, resume) {
16628
16634
  const unrestorable = (reason) => ({
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bastani/web-access",
3
- "version": "0.9.74-alpha.1",
3
+ "version": "0.9.75",
4
4
  "private": true,
5
5
  "description": "Atomic extension for web search, URL fetching, GitHub repo cloning, PDF/video extraction. Fork of: https://github.com/nicobailon/pi-web-access",
6
6
  "contributors": [
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@bastani/atomic": "*",
34
- "@earendil-works/pi-tui": "^1.5.0"
34
+ "@earendil-works/pi-tui": "^1.5.1"
35
35
  },
36
36
  "peerDependenciesMeta": {
37
37
  "@bastani/atomic": {
@@ -6,6 +6,86 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.9.75] - 2026-11-10
10
+
11
+ Workflow stages report suspension clearly, design runs get reference images, and resumes build blueprints.
12
+
13
+ - **Clear suspended stages.** A released stage now shows `suspended (tool: <name>)` or `suspended (between turns)`, and its chat shows a tool call it still waits on as pending instead of interrupted ([#4589](https://github.com/bastani-inc/atomic/issues/4589)).
14
+ - **Design reference images.** `open-claude-design` renders one reference image per visual direction when an image model is available, feeds them into HTML generation and links them in `spec.html`; pick the model with `image_model` ([#4590](https://github.com/bastani-inc/atomic/issues/4590)).
15
+ - **Resumes that never fail on setup.** Workflow resumes and pooled children build the restored worktree's blueprints, and a missing or failing blueprint is recorded as a notice while the run continues ([#4588](https://github.com/bastani-inc/atomic/issues/4588)).
16
+ - **Current prompting and design skills.** `prompt-engineer` gains a Claude Fable 5.2 guide and rechecked model guides, and the bundled Impeccable and `unslop` skills are refreshed ([#4612](https://github.com/bastani-inc/atomic/issues/4612)).
17
+
18
+ **Breaking change:** replace `waiting` with `suspended` in stage-status values, and read `suspendedCount` and `suspendedStages` instead of `waitingCount` and `waitingStages` in `workflow status` output.
19
+
20
+ ### Breaking Changes
21
+
22
+ - Released workflow stages now use `suspended` instead of `waiting` in `StageStatus` and status output. Migration: replace `waiting` with `suspended` in stage-status values, comparisons, switches and status-keyed maps, and read `suspendedCount` and `suspendedStages` instead of `waitingCount` and `waitingStages` in `workflow status` listings. The old JSON field names are not returned. `statusFilter: "waiting"` remains accepted as a deprecated alias of `suspended`, and saved journals, snapshots and stores recorded with `waiting` remain readable as `suspended` ([#4589](https://github.com/bastani-inc/atomic/issues/4589))
23
+
24
+ ### Added
25
+
26
+ - Added design reference images to the `open-claude-design` builtin: when an image model is available, a durable `reference-images` step renders three high-quality reference images, one per visual direction, from the confirmed brief, `PRODUCT.md`/`DESIGN.md` and the curated references into `<artifact_dir>/references/`. HTML generation reads them and matches their direction, the live review gate and session-start stage list them, and `spec.html` links them in a "Design References" section. The newest available GPT Image model is chosen first (today `openai-images/gpt-image-2.6-flare`), then other image providers such as OpenRouter; the new optional `image_model` input (`provider/id`) overrides the choice. With no image model, or on any generation failure, the run continues unchanged without a warning, and the new `reference_images_status` output records `skipped`, `generated` or `failed` with the reason, the model and the image paths ([#4590](https://github.com/bastani-inc/atomic/issues/4590))
27
+ - Added a Claude Fable 5.2 (and Mythos 5.2) guide to the bundled `prompt-engineer` skill, from Anthropic's "Prompting Claude Fable 5.2": effort calibration, finishing long tasks, approval rules, code ownership, progress updates, subagents, accumulated caution, carried-over instructions, readable reports, and refusals ([#4612](https://github.com/bastani-inc/atomic/issues/4612))
28
+
29
+ ### Changed
30
+
31
+ - Updated the bundled Impeccable skill to 4.8.1 with engine 0.1.19. The design hook's end-of-session review lists its findings and the agent fixes or skips each with a short reason, asking you only when it cannot decide. `hooks status` shows each harness's real wiring, `impeccable context` restores missing hook entries only after you accept the hook in the project's `config.local.json`, and a user-scope Claude Code install follows `CLAUDE_CONFIG_DIR`. Hermes Agent gets a design-hook plugin you enable with `hermes plugins enable impeccable-design-hook`. Live Mode can remove a picked element, with Undo and Apply, and mounts Vue variants and previews Svelte and Vue components after they compile. The detector raises fewer false alarms and `init` says which generated files to commit. The launcher now checks each engine download, and re-checks a cached engine, against SHA-256 digests that ship with the skill in `scripts/engine-checksums.txt`, instead of a digest published next to the binary; it refuses a binary that does not match or has no digest, and skips a binary next to it that reports a different engine version. Atomic's telemetry and update-check defaults remain off.
32
+ - Updated the bundled `unslop` skill to the current cursor/plugins pstack rules. It drops the puffery, name-dropping, promotional-language, formulaic-challenge and cutoff-disclaimer rules and the Process and Adding soul sections, tightens the wording of the remaining rules, and adds rules against mannered prose (aphorisms, personified code, figurative verbs) and over-compression (dropped articles, verbless fragments, symbol-speak, arrows). It stays available to the model.
33
+ - Suspended stages keep the ◷ glyph and show what they wait on: `suspended (tool: <name>)` during an offloaded tool call and `suspended (between turns)` after a between-turn release. Stages waiting for a human answer remain `awaiting_input` ([#4589](https://github.com/bastani-inc/atomic/issues/4589))
34
+ - A workflow resume or a pooled child's restore now builds the restored worktree's blueprints instead of running the resume setup hook, and a blueprint that is missing or fails never fails the run or the child or removes the worktree: the failing blueprint and step are recorded as a workflow notice (a worker host prints a warning), and the run continues. Only a missing Git still stops a resume before it restores anything ([#4588](https://github.com/bastani-inc/atomic/issues/4588))
35
+ - Rechecked every `prompt-engineer` model guide against Anthropic's and OpenAI's current prompting guides. The Claude pages pick up the newer `reasoning_extraction`, per-message effort, and new-conversation guidance and use Anthropic's tested wording where it exists; the GPT-6 pages follow OpenAI's current model lineup and point to the moved GPT-6 guide; the GPT-5.6 page explains that prompt ordering alone no longer makes a shared prefix cacheable; and statements the cited sources do not support were removed ([#4612](https://github.com/bastani-inc/atomic/issues/4612))
36
+
37
+ ### Fixed
38
+
39
+ - Fixed the chat of a suspended stage showing a tool call it still waits on as "Tool execution was interrupted after it started": the call now shows as pending and then shows its real result once the stage reopens ([#4589](https://github.com/bastani-inc/atomic/issues/4589))
40
+
41
+ ## [0.9.75-alpha.1] - 2026-11-10
42
+
43
+ Workflow stages report suspension clearly, design runs get reference images, and resumes build blueprints.
44
+
45
+ - **Clear suspended stages.** A released stage now shows `suspended (tool: <name>)` or `suspended (between turns)`, and its chat shows a tool call it still waits on as pending instead of interrupted ([#4589](https://github.com/bastani-inc/atomic/issues/4589)).
46
+ - **Design reference images.** `open-claude-design` renders one reference image per visual direction when an image model is available, feeds them into HTML generation and links them in `spec.html`; pick the model with `image_model` ([#4590](https://github.com/bastani-inc/atomic/issues/4590)).
47
+ - **Resumes that never fail on setup.** Workflow resumes and pooled children build the restored worktree's blueprints, and a missing or failing blueprint is recorded as a notice while the run continues ([#4588](https://github.com/bastani-inc/atomic/issues/4588)).
48
+ - **Current prompting and design skills.** `prompt-engineer` gains a Claude Fable 5.2 guide and rechecked model guides, and the bundled Impeccable and `unslop` skills are refreshed ([#4612](https://github.com/bastani-inc/atomic/issues/4612)).
49
+
50
+ **Breaking change:** replace `waiting` with `suspended` in stage-status values, and read `suspendedCount` and `suspendedStages` instead of `waitingCount` and `waitingStages` in `workflow status` output.
51
+
52
+ ### Breaking Changes
53
+
54
+ - Released workflow stages now use `suspended` instead of `waiting` in `StageStatus` and status output. Migration: replace `waiting` with `suspended` in stage-status values, comparisons, switches and status-keyed maps, and read `suspendedCount` and `suspendedStages` instead of `waitingCount` and `waitingStages` in `workflow status` listings. The old JSON field names are not returned. `statusFilter: "waiting"` remains accepted as a deprecated alias of `suspended`, and saved journals, snapshots and stores recorded with `waiting` remain readable as `suspended` ([#4589](https://github.com/bastani-inc/atomic/issues/4589))
55
+
56
+ ### Added
57
+
58
+ - Added design reference images to the `open-claude-design` builtin: when an image model is available, a durable `reference-images` step renders three high-quality reference images, one per visual direction, from the confirmed brief, `PRODUCT.md`/`DESIGN.md` and the curated references into `<artifact_dir>/references/`. HTML generation reads them and matches their direction, the live review gate and session-start stage list them, and `spec.html` links them in a "Design References" section. The newest available GPT Image model is chosen first (today `openai-images/gpt-image-2.6-flare`), then other image providers such as OpenRouter; the new optional `image_model` input (`provider/id`) overrides the choice. With no image model, or on any generation failure, the run continues unchanged without a warning, and the new `reference_images_status` output records `skipped`, `generated` or `failed` with the reason, the model and the image paths ([#4590](https://github.com/bastani-inc/atomic/issues/4590))
59
+ - Added a Claude Fable 5.2 (and Mythos 5.2) guide to the bundled `prompt-engineer` skill, from Anthropic's "Prompting Claude Fable 5.2": effort calibration, finishing long tasks, approval rules, code ownership, progress updates, subagents, accumulated caution, carried-over instructions, readable reports, and refusals ([#4612](https://github.com/bastani-inc/atomic/issues/4612))
60
+
61
+ ### Changed
62
+
63
+ - Updated the bundled Impeccable skill to 4.8.1 with engine 0.1.19. The design hook's end-of-session review lists its findings and the agent fixes or skips each with a short reason, asking you only when it cannot decide. `hooks status` shows each harness's real wiring, `impeccable context` restores missing hook entries only after you accept the hook in the project's `config.local.json`, and a user-scope Claude Code install follows `CLAUDE_CONFIG_DIR`. Hermes Agent gets a design-hook plugin you enable with `hermes plugins enable impeccable-design-hook`. Live Mode can remove a picked element, with Undo and Apply, and mounts Vue variants and previews Svelte and Vue components after they compile. The detector raises fewer false alarms and `init` says which generated files to commit. The launcher now checks each engine download, and re-checks a cached engine, against SHA-256 digests that ship with the skill in `scripts/engine-checksums.txt`, instead of a digest published next to the binary; it refuses a binary that does not match or has no digest, and skips a binary next to it that reports a different engine version. Atomic's telemetry and update-check defaults remain off.
64
+ - Updated the bundled `unslop` skill to the current cursor/plugins pstack rules. It drops the puffery, name-dropping, promotional-language, formulaic-challenge and cutoff-disclaimer rules and the Process and Adding soul sections, tightens the wording of the remaining rules, and adds rules against mannered prose (aphorisms, personified code, figurative verbs) and over-compression (dropped articles, verbless fragments, symbol-speak, arrows). It stays available to the model.
65
+ - Suspended stages keep the ◷ glyph and show what they wait on: `suspended (tool: <name>)` during an offloaded tool call and `suspended (between turns)` after a between-turn release. Stages waiting for a human answer remain `awaiting_input` ([#4589](https://github.com/bastani-inc/atomic/issues/4589))
66
+ - A workflow resume or a pooled child's restore now builds the restored worktree's blueprints instead of running the resume setup hook, and a blueprint that is missing or fails never fails the run or the child or removes the worktree: the failing blueprint and step are recorded as a workflow notice (a worker host prints a warning), and the run continues. Only a missing Git still stops a resume before it restores anything ([#4588](https://github.com/bastani-inc/atomic/issues/4588))
67
+ - Rechecked every `prompt-engineer` model guide against Anthropic's and OpenAI's current prompting guides. The Claude pages pick up the newer `reasoning_extraction`, per-message effort, and new-conversation guidance and use Anthropic's tested wording where it exists; the GPT-6 pages follow OpenAI's current model lineup and point to the moved GPT-6 guide; the GPT-5.6 page explains that prompt ordering alone no longer makes a shared prefix cacheable; and statements the cited sources do not support were removed ([#4612](https://github.com/bastani-inc/atomic/issues/4612))
68
+
69
+ ### Fixed
70
+
71
+ - Fixed the chat of a suspended stage showing a tool call it still waits on as "Tool execution was interrupted after it started": the call now shows as pending and then shows its real result once the stage reopens ([#4589](https://github.com/bastani-inc/atomic/issues/4589))
72
+
73
+ ## [0.9.74] - 2026-11-09
74
+
75
+ Schema-backed workflow stages finish reliably.
76
+
77
+ - **Structured output without prompt boilerplate.** Atomic now tells every schema-backed stage to finish with `structured_output` and infers the result from the final answer when the model skips the call, so stages no longer fail their first attempt and prompts need not mention the tool ([#4565](https://github.com/bastani-inc/atomic/issues/4565), [#4577](https://github.com/bastani-inc/atomic/pull/4577)).
78
+ - **Stages survive detached `bash` waits.** A stage whose conversation moves past a detached call, through a compaction, a resumed pause or a late result, now keeps its finished result instead of failing the run ([#4580](https://github.com/bastani-inc/atomic/issues/4580), [#4581](https://github.com/bastani-inc/atomic/pull/4581)).
79
+
80
+ ### Added
81
+
82
+ - Added `WorkflowStructuredOutputInferenceError`, with `isWorkflowStructuredOutputInferenceError`, `findWorkflowStructuredOutputInferenceError` and `deserializeWorkflowStructuredOutputInferenceError`: the typed `cause` a schema-backed stage's failure carries when Atomic's own `structured_output` inference produced no result ([#4565](https://github.com/bastani-inc/atomic/issues/4565))
83
+
84
+ ### Fixed
85
+
86
+ - Fixed schema-backed workflow stages that failed their first attempt with the 1/3 structured-output corrective error because the stage prompt never said to finish with `structured_output`, and the model ended its turn without calling it. Atomic now closes every schema-backed prompt with that instruction, and when a turn still ends without a successful call it runs the same inference itself from the stage's final answer, so prompts no longer need to mention the tool; corrective follow-ups and `fallbackModels` apply only when that inference fails too ([#4565](https://github.com/bastani-inc/atomic/issues/4565))
87
+ - Fixed a workflow stage, and the run with it, failing when its conversation moved past a detached `bash` wait: a stage no longer prompts a session that still waits on a detached call's result (a retry after a compaction re-sent the continuation prompt and let the model carry on past the call), a compaction during a prompt no longer counts as an empty completion, a result handed back while the session is still running now waits for the run to settle instead of failing the stage, a message the operator resumes a paused stage with joins the turn the result continues instead of being dropped, and a stale call's late result is dropped so the stage keeps its finished result, including its `structured_output` ([#4580](https://github.com/bastani-inc/atomic/issues/4580))
88
+
9
89
  ## [0.9.74-alpha.1] - 2026-11-09
10
90
 
11
91
  Schema-backed workflow stages finish reliably.
@@ -860,10 +860,12 @@ The live session is unbounded: accepted variants and steered edits are written i
860
860
 
861
861
  The session starts at `user-feedback-N-start`; durable `live-poll-N-M` and `live-reply-N-M` tool nodes own polling and acknowledgements, while `live-generate-*`, `live-steer-*`, `live-manual_edit_apply-*`, and `live-variant_mount_failed-*` mint model stages. Replies pass the event id before the status. Successful `variant_mounted` events are journal-only; `accept`, `discard`, and `prefetch` mint no model stage, and `timeout` is absorbed in the poll node. Nonzero helper exits fail the run rather than looking like timeouts. No `<artifact_dir>/feedback/` directory or per-session record is written.
862
862
 
863
- The poll and reply nodes run the bundled Impeccable 4.7.0 launcher (`skills/impeccable/scripts/impeccable`, or `impeccable.cmd` on Windows) with the `live-poll` verb; the launcher runs the engine binary beside it or downloads and checksum-verifies the pinned engine release on first use, so a machine without network access needs `IMPECCABLE_BIN` pointed at a preinstalled engine. Live sessions persist the selected app root for every helper and support SvelteKit, Nuxt, TanStack Start, Astro, Next.js, Vite, and static HTML injection.
863
+ The poll and reply nodes run the bundled Impeccable 4.8.1 launcher (`skills/impeccable/scripts/impeccable`, or `impeccable.cmd` on Windows) with the `live-poll` verb; the launcher runs the engine binary beside it or downloads and checksum-verifies the pinned engine release on first use, so a machine without network access needs `IMPECCABLE_BIN` pointed at a preinstalled engine. Live sessions persist the selected app root for every helper and support SvelteKit, Nuxt, TanStack Start, Astro, Next.js, Vite, and static HTML injection.
864
864
 
865
865
  Research context moves between stages as artifact files, not inline prompt payloads: the project design context is written to `<artifact_dir>/design-context.md` and the curated references brief to `<artifact_dir>/references.md`; `reference-discovery`, `generate-1`, and `exporter` read the required files via `reads`.
866
866
 
867
+ When an image model is available, the durable `reference-images` tool node (after `reference-discovery`, before `generate-1`) renders three design reference images into `<artifact_dir>/references/` and returns only paths and metadata; `generate-1` reads them via `reads`, the live gate and session-start stage list them, and the exporter links them from `spec.html`. The node picks the newest GPT Image model first, then other image providers such as OpenRouter, unless `image_model` names one. It runs with `failureMode: "return"`, so no image model or any generation failure leaves the run unchanged and is recorded in `reference_images_status`; image data is written to disk inside the callback and never enters workflow state, outputs, or prompts.
868
+
867
869
  ```text
868
870
  /workflow open-claude-design prompt="Design a kanban board component"
869
871
  ```
@@ -872,8 +874,9 @@ Research context moves between stages as artifact files, not inline prompt paylo
872
874
  | --------------------- | --------- | -------- | ------- | ------------------------------------------------------------------------- |
873
875
  | `prompt` | `text` | ✓ | — | Design brief or description. |
874
876
  | `discover_references` | `boolean` | — | `true` | Discover current gallery references with browser tooling; set false to skip. |
877
+ | `image_model` | `text` | — | newest available image model | Image model for design reference images as `provider/id`; overrides the automatic choice. |
875
878
 
876
- Child workflow outputs: `output_type`, `design_system`, `artifact`, `handoff`, `import_context`, `run_id`, `artifact_dir`, `preview_path`, `preview_file_url`, `spec_path`, `spec_file_url`, and `agent_browser_status`. `open-claude-design` has no `result` output; it exposes only the declared fields listed here.
879
+ Child workflow outputs: `output_type`, `design_system`, `artifact`, `handoff`, `import_context`, `run_id`, `artifact_dir`, `preview_path`, `preview_file_url`, `spec_path`, `spec_file_url`, `agent_browser_status`, and `reference_images_status`. `open-claude-design` has no `result` output; it exposes only the declared fields listed here.
877
880
 
878
881
  ---
879
882