@bastani/atomic 0.9.18-alpha.5 → 0.9.18-alpha.7

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 (376) hide show
  1. package/CHANGELOG.md +88 -0
  2. package/README.md +3 -3
  3. package/dist/builtin/intercom/CHANGELOG.md +39 -0
  4. package/dist/builtin/intercom/README.md +22 -2
  5. package/dist/builtin/intercom/broker/broker.ts +676 -128
  6. package/dist/builtin/intercom/broker/client.ts +151 -35
  7. package/dist/builtin/intercom/broker/delivered-message-cache.ts +497 -37
  8. package/dist/builtin/intercom/broker/framing.ts +4 -2
  9. package/dist/builtin/intercom/broker/paths.ts +10 -0
  10. package/dist/builtin/intercom/broker/pending-send-registry.ts +1 -2
  11. package/dist/builtin/intercom/broker/send-handler.ts +311 -52
  12. package/dist/builtin/intercom/broker/send-signature.ts +4 -2
  13. package/dist/builtin/intercom/broker/socket-writes.ts +103 -0
  14. package/dist/builtin/intercom/broker/spawn.ts +9 -4
  15. package/dist/builtin/intercom/index.bundle.mjs +1410 -212
  16. package/dist/builtin/intercom/package.json +2 -2
  17. package/dist/builtin/intercom/recoverable-disconnect.ts +52 -0
  18. package/dist/builtin/intercom/retry-policy.ts +8 -0
  19. package/dist/builtin/intercom/skills/intercom/SKILL.md +17 -9
  20. package/dist/builtin/intercom/types.ts +27 -8
  21. package/dist/builtin/intercom/workflow-stage-path-matching.ts +90 -0
  22. package/dist/builtin/intercom/workflow-stage-target.ts +57 -0
  23. package/dist/builtin/mcp/index.bundle.mjs +427 -126
  24. package/dist/builtin/mcp/package.json +2 -2
  25. package/dist/builtin/subagents/CHANGELOG.md +19 -0
  26. package/dist/builtin/subagents/README.md +3 -3
  27. package/dist/builtin/subagents/agents/code-simplifier.md +2 -2
  28. package/dist/builtin/subagents/agents/codebase-analyzer.md +2 -2
  29. package/dist/builtin/subagents/agents/codebase-locator.md +2 -2
  30. package/dist/builtin/subagents/agents/codebase-online-researcher.md +11 -11
  31. package/dist/builtin/subagents/agents/codebase-pattern-finder.md +2 -2
  32. package/dist/builtin/subagents/agents/codebase-research-analyzer.md +2 -2
  33. package/dist/builtin/subagents/agents/codebase-research-locator.md +2 -2
  34. package/dist/builtin/subagents/agents/debugger.md +3 -3
  35. package/dist/builtin/subagents/agents/worker.md +2 -2
  36. package/dist/builtin/subagents/package.json +3 -3
  37. package/dist/builtin/subagents/skills/qlty/SKILL.md +29 -101
  38. package/dist/builtin/subagents/skills/qlty/references/manual-configuration.md +52 -0
  39. package/dist/builtin/subagents/skills/subagent/SKILL.md +11 -11
  40. package/dist/builtin/subagents/src/extension/index.bundle.mjs +49 -132
  41. package/dist/builtin/web-access/package.json +2 -2
  42. package/dist/builtin/workflows/CHANGELOG.md +46 -0
  43. package/dist/builtin/workflows/README.md +7 -7
  44. package/dist/builtin/workflows/builtin/adversarial-verification.js +2 -2
  45. package/dist/builtin/workflows/builtin/{chunk-szz1ajz9.js → chunk-42s7sw0b.js} +9 -2
  46. package/dist/builtin/workflows/builtin/{chunk-2dqb5s2q.js → chunk-79fjkcvh.js} +1 -1
  47. package/dist/builtin/workflows/builtin/{chunk-n58a7v26.js → chunk-b0v2xab1.js} +181 -10
  48. package/dist/builtin/workflows/builtin/{chunk-fghhy2a5.js → chunk-ed4jfn5t.js} +23 -5
  49. package/dist/builtin/workflows/builtin/{chunk-h3r2vkzc.js → chunk-hqpe2cyx.js} +60 -21
  50. package/dist/builtin/workflows/builtin/{chunk-hzzn6adg.js → chunk-k3w87x8y.js} +1 -1
  51. package/dist/builtin/workflows/builtin/{chunk-82ha8p41.js → chunk-n8h4yyew.js} +1 -1
  52. package/dist/builtin/workflows/builtin/{chunk-qwzvgxnq.js → chunk-reqr3sr3.js} +1 -1
  53. package/dist/builtin/workflows/builtin/{chunk-c53y8bdh.js → chunk-wgccch41.js} +1 -1
  54. package/dist/builtin/workflows/builtin/{chunk-0x6e303p.js → chunk-zbekjqew.js} +20 -7
  55. package/dist/builtin/workflows/builtin/{chunk-29wrp38a.js → chunk-ze5x3d1r.js} +1 -1
  56. package/dist/builtin/workflows/builtin/classify-and-act.js +2 -2
  57. package/dist/builtin/workflows/builtin/fan-out-and-synthesize.js +2 -2
  58. package/dist/builtin/workflows/builtin/generate-and-filter.js +2 -2
  59. package/dist/builtin/workflows/builtin/goal.js +3 -3
  60. package/dist/builtin/workflows/builtin/index.js +11 -11
  61. package/dist/builtin/workflows/builtin/loop-until-done.js +2 -2
  62. package/dist/builtin/workflows/builtin/open-claude-design.js +2 -2
  63. package/dist/builtin/workflows/builtin/ralph.js +3 -3
  64. package/dist/builtin/workflows/builtin/steering-context.js +1 -1
  65. package/dist/builtin/workflows/builtin/tournament.js +2 -2
  66. package/dist/builtin/workflows/package.json +2 -2
  67. package/dist/builtin/workflows/skills/prompt-engineer/SKILL.md +39 -52
  68. package/dist/builtin/workflows/skills/prompt-engineer/references/advanced_patterns.md +9 -37
  69. package/dist/builtin/workflows/skills/prompt-engineer/references/claude_fable_5.md +49 -0
  70. package/dist/builtin/workflows/skills/prompt-engineer/references/claude_fable_5_1.md +57 -0
  71. package/dist/builtin/workflows/skills/prompt-engineer/references/claude_opus_4_8.md +57 -0
  72. package/dist/builtin/workflows/skills/prompt-engineer/references/claude_opus_5.md +47 -0
  73. package/dist/builtin/workflows/skills/prompt-engineer/references/claude_sonnet_5.md +57 -0
  74. package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_5_5.md +60 -0
  75. package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_5_6.md +58 -0
  76. package/dist/builtin/workflows/skills/prompt-engineer/references/gpt_6_astra.md +58 -0
  77. package/dist/builtin/workflows/skills/prompt-engineer/references/quality_improvement.md +18 -4
  78. package/dist/builtin/workflows/src/extension/index.bundle.mjs +3194 -737
  79. package/dist/builtin/workflows/src/index.js +899 -436
  80. package/dist/builtin/workflows/src/shared/authoring-contract-stage.d.ts +0 -10
  81. package/dist/cli/list-models.d.ts.map +1 -1
  82. package/dist/cli/list-models.js +4 -0
  83. package/dist/cli/list-models.js.map +1 -1
  84. package/dist/client/index.d.ts +1 -2
  85. package/dist/client/index.d.ts.map +1 -1
  86. package/dist/client/index.js +1 -2
  87. package/dist/client/index.js.map +1 -1
  88. package/dist/config.d.ts +0 -9
  89. package/dist/config.d.ts.map +1 -1
  90. package/dist/config.js +0 -45
  91. package/dist/config.js.map +1 -1
  92. package/dist/core/agent-session-compaction.d.ts.map +1 -1
  93. package/dist/core/agent-session-compaction.js +8 -6
  94. package/dist/core/agent-session-compaction.js.map +1 -1
  95. package/dist/core/agent-session-methods.d.ts +1 -0
  96. package/dist/core/agent-session-methods.d.ts.map +1 -1
  97. package/dist/core/agent-session-methods.js.map +1 -1
  98. package/dist/core/agent-session-models.d.ts.map +1 -1
  99. package/dist/core/agent-session-models.js +3 -4
  100. package/dist/core/agent-session-models.js.map +1 -1
  101. package/dist/core/agent-session-queue-pause.d.ts.map +1 -1
  102. package/dist/core/agent-session-queue-pause.js +6 -0
  103. package/dist/core/agent-session-queue-pause.js.map +1 -1
  104. package/dist/core/agent-session-runtime.d.ts.map +1 -1
  105. package/dist/core/agent-session-runtime.js +13 -5
  106. package/dist/core/agent-session-runtime.js.map +1 -1
  107. package/dist/core/agent-session-tool-hooks.js +1 -1
  108. package/dist/core/agent-session-tool-hooks.js.map +1 -1
  109. package/dist/core/agent-session-tree.d.ts.map +1 -1
  110. package/dist/core/agent-session-tree.js +8 -0
  111. package/dist/core/agent-session-tree.js.map +1 -1
  112. package/dist/core/agent-session.d.ts +2 -0
  113. package/dist/core/agent-session.d.ts.map +1 -1
  114. package/dist/core/agent-session.js +2 -0
  115. package/dist/core/agent-session.js.map +1 -1
  116. package/dist/core/compaction/branch-summarization.d.ts +2 -2
  117. package/dist/core/compaction/branch-summarization.d.ts.map +1 -1
  118. package/dist/core/compaction/branch-summarization.js +4 -4
  119. package/dist/core/compaction/branch-summarization.js.map +1 -1
  120. package/dist/core/extensions/api-types.d.ts +8 -2
  121. package/dist/core/extensions/api-types.d.ts.map +1 -1
  122. package/dist/core/extensions/api-types.js.map +1 -1
  123. package/dist/core/extensions/context-types.d.ts +12 -0
  124. package/dist/core/extensions/context-types.d.ts.map +1 -1
  125. package/dist/core/extensions/context-types.js.map +1 -1
  126. package/dist/core/extensions/runner-shortcuts.d.ts.map +1 -1
  127. package/dist/core/extensions/runner-shortcuts.js +0 -1
  128. package/dist/core/extensions/runner-shortcuts.js.map +1 -1
  129. package/dist/core/fast-model-routing-transport.d.ts +12 -0
  130. package/dist/core/fast-model-routing-transport.d.ts.map +1 -0
  131. package/dist/core/{codex-fast-mode-transport.js → fast-model-routing-transport.js} +29 -29
  132. package/dist/core/fast-model-routing-transport.js.map +1 -0
  133. package/dist/core/fast-model-routing.d.ts +57 -0
  134. package/dist/core/fast-model-routing.d.ts.map +1 -0
  135. package/dist/core/fast-model-routing.js +201 -0
  136. package/dist/core/fast-model-routing.js.map +1 -0
  137. package/dist/core/fast-model-variants.d.ts +98 -0
  138. package/dist/core/fast-model-variants.d.ts.map +1 -0
  139. package/dist/core/fast-model-variants.js +148 -0
  140. package/dist/core/fast-model-variants.js.map +1 -0
  141. package/dist/core/http-dispatcher.d.ts.map +1 -1
  142. package/dist/core/http-dispatcher.js +4 -2
  143. package/dist/core/http-dispatcher.js.map +1 -1
  144. package/dist/core/keybindings.d.ts +0 -10
  145. package/dist/core/keybindings.d.ts.map +1 -1
  146. package/dist/core/keybindings.js +0 -8
  147. package/dist/core/keybindings.js.map +1 -1
  148. package/dist/core/messages.d.ts +1 -1
  149. package/dist/core/messages.d.ts.map +1 -1
  150. package/dist/core/messages.js.map +1 -1
  151. package/dist/core/model-config.d.ts +15 -0
  152. package/dist/core/model-config.d.ts.map +1 -1
  153. package/dist/core/model-config.js +3 -0
  154. package/dist/core/model-config.js.map +1 -1
  155. package/dist/core/model-resolver-initial.js +1 -1
  156. package/dist/core/model-resolver-initial.js.map +1 -1
  157. package/dist/core/model-runtime-streaming.d.ts +14 -1
  158. package/dist/core/model-runtime-streaming.d.ts.map +1 -1
  159. package/dist/core/model-runtime-streaming.js +25 -3
  160. package/dist/core/model-runtime-streaming.js.map +1 -1
  161. package/dist/core/model-runtime.d.ts +39 -2
  162. package/dist/core/model-runtime.d.ts.map +1 -1
  163. package/dist/core/model-runtime.js +91 -7
  164. package/dist/core/model-runtime.js.map +1 -1
  165. package/dist/core/provider-composer-internal.d.ts.map +1 -1
  166. package/dist/core/provider-composer-internal.js +8 -2
  167. package/dist/core/provider-composer-internal.js.map +1 -1
  168. package/dist/core/sdk.d.ts.map +1 -1
  169. package/dist/core/sdk.js +18 -18
  170. package/dist/core/sdk.js.map +1 -1
  171. package/dist/core/session-manager-archive.d.ts.map +1 -1
  172. package/dist/core/session-manager-archive.js +25 -2
  173. package/dist/core/session-manager-archive.js.map +1 -1
  174. package/dist/core/settings-manager-core.d.ts +0 -2
  175. package/dist/core/settings-manager-core.d.ts.map +1 -1
  176. package/dist/core/settings-manager-core.js +2 -9
  177. package/dist/core/settings-manager-core.js.map +1 -1
  178. package/dist/core/settings-manager-internals.d.ts +0 -1
  179. package/dist/core/settings-manager-internals.d.ts.map +1 -1
  180. package/dist/core/settings-manager-internals.js.map +1 -1
  181. package/dist/core/settings-manager-ui-accessors.d.ts +0 -8
  182. package/dist/core/settings-manager-ui-accessors.d.ts.map +1 -1
  183. package/dist/core/settings-manager-ui-accessors.js +0 -53
  184. package/dist/core/settings-manager-ui-accessors.js.map +1 -1
  185. package/dist/core/settings-manager.d.ts +1 -1
  186. package/dist/core/settings-manager.d.ts.map +1 -1
  187. package/dist/core/settings-manager.js.map +1 -1
  188. package/dist/core/settings-types.d.ts +0 -5
  189. package/dist/core/settings-types.d.ts.map +1 -1
  190. package/dist/core/settings-types.js.map +1 -1
  191. package/dist/core/skills.d.ts +1 -1
  192. package/dist/core/skills.d.ts.map +1 -1
  193. package/dist/core/skills.js +4 -2
  194. package/dist/core/skills.js.map +1 -1
  195. package/dist/core/slash-commands.d.ts.map +1 -1
  196. package/dist/core/slash-commands.js +0 -1
  197. package/dist/core/slash-commands.js.map +1 -1
  198. package/dist/core/system-prompt.js +7 -7
  199. package/dist/core/system-prompt.js.map +1 -1
  200. package/dist/core/tools/edit.d.ts +1 -1
  201. package/dist/core/tools/edit.d.ts.map +1 -1
  202. package/dist/core/tools/edit.js +128 -3
  203. package/dist/core/tools/edit.js.map +1 -1
  204. package/dist/core/tools/hashline.d.ts +2 -2
  205. package/dist/core/tools/hashline.d.ts.map +1 -1
  206. package/dist/core/tools/hashline.js +40 -10
  207. package/dist/core/tools/hashline.js.map +1 -1
  208. package/dist/core/tools/write.d.ts.map +1 -1
  209. package/dist/core/tools/write.js +8 -8
  210. package/dist/core/tools/write.js.map +1 -1
  211. package/dist/core/workflow-stage-admission.d.ts +6 -0
  212. package/dist/core/workflow-stage-admission.d.ts.map +1 -1
  213. package/dist/core/workflow-stage-admission.js +14 -0
  214. package/dist/core/workflow-stage-admission.js.map +1 -1
  215. package/dist/index-extensions.d.ts +1 -1
  216. package/dist/index-extensions.d.ts.map +1 -1
  217. package/dist/index-extensions.js.map +1 -1
  218. package/dist/index.d.ts +5 -5
  219. package/dist/index.d.ts.map +1 -1
  220. package/dist/index.js +4 -5
  221. package/dist/index.js.map +1 -1
  222. package/dist/modes/interactive/components/atomic-working-status.d.ts +4 -0
  223. package/dist/modes/interactive/components/atomic-working-status.d.ts.map +1 -1
  224. package/dist/modes/interactive/components/atomic-working-status.js +26 -1
  225. package/dist/modes/interactive/components/atomic-working-status.js.map +1 -1
  226. package/dist/modes/interactive/components/custom-editor.d.ts +7 -0
  227. package/dist/modes/interactive/components/custom-editor.d.ts.map +1 -1
  228. package/dist/modes/interactive/components/custom-editor.js +43 -0
  229. package/dist/modes/interactive/components/custom-editor.js.map +1 -1
  230. package/dist/modes/interactive/components/footer.d.ts.map +1 -1
  231. package/dist/modes/interactive/components/footer.js +0 -6
  232. package/dist/modes/interactive/components/footer.js.map +1 -1
  233. package/dist/modes/interactive/components/index.d.ts +1 -2
  234. package/dist/modes/interactive/components/index.d.ts.map +1 -1
  235. package/dist/modes/interactive/components/index.js +0 -1
  236. package/dist/modes/interactive/components/index.js.map +1 -1
  237. package/dist/modes/interactive/components/model-selector.d.ts +1 -1
  238. package/dist/modes/interactive/components/model-selector.d.ts.map +1 -1
  239. package/dist/modes/interactive/components/model-selector.js +6 -11
  240. package/dist/modes/interactive/components/model-selector.js.map +1 -1
  241. package/dist/modes/interactive/components/scoped-models-selector.d.ts +2 -5
  242. package/dist/modes/interactive/components/scoped-models-selector.d.ts.map +1 -1
  243. package/dist/modes/interactive/components/scoped-models-selector.js +3 -19
  244. package/dist/modes/interactive/components/scoped-models-selector.js.map +1 -1
  245. package/dist/modes/interactive/components/settings-selector-items.js +1 -1
  246. package/dist/modes/interactive/components/settings-selector-items.js.map +1 -1
  247. package/dist/modes/interactive/components/thinking-selector.d.ts +1 -2
  248. package/dist/modes/interactive/components/thinking-selector.d.ts.map +1 -1
  249. package/dist/modes/interactive/components/thinking-selector.js +4 -11
  250. package/dist/modes/interactive/components/thinking-selector.js.map +1 -1
  251. package/dist/modes/interactive/components/transcript-follow-indicator.js +3 -3
  252. package/dist/modes/interactive/components/transcript-follow-indicator.js.map +1 -1
  253. package/dist/modes/interactive/interactive-agent-events.js +8 -8
  254. package/dist/modes/interactive/interactive-agent-events.js.map +1 -1
  255. package/dist/modes/interactive/interactive-autocomplete.js +5 -16
  256. package/dist/modes/interactive/interactive-autocomplete.js.map +1 -1
  257. package/dist/modes/interactive/interactive-bash-compact.js +2 -9
  258. package/dist/modes/interactive/interactive-bash-compact.js.map +1 -1
  259. package/dist/modes/interactive/interactive-deferred-startup.d.ts.map +1 -1
  260. package/dist/modes/interactive/interactive-deferred-startup.js +3 -0
  261. package/dist/modes/interactive/interactive-deferred-startup.js.map +1 -1
  262. package/dist/modes/interactive/interactive-editor-actions.js +2 -2
  263. package/dist/modes/interactive/interactive-editor-actions.js.map +1 -1
  264. package/dist/modes/interactive/interactive-extension-custom-ui.js +1 -0
  265. package/dist/modes/interactive/interactive-extension-custom-ui.js.map +1 -1
  266. package/dist/modes/interactive/interactive-extension-dialogs.js +7 -0
  267. package/dist/modes/interactive/interactive-extension-dialogs.js.map +1 -1
  268. package/dist/modes/interactive/interactive-extension-runtime.js +20 -10
  269. package/dist/modes/interactive/interactive-extension-runtime.js.map +1 -1
  270. package/dist/modes/interactive/interactive-hotkeys-debug.js +1 -5
  271. package/dist/modes/interactive/interactive-hotkeys-debug.js.map +1 -1
  272. package/dist/modes/interactive/interactive-initial-session-binding.d.ts.map +1 -1
  273. package/dist/modes/interactive/interactive-initial-session-binding.js +3 -0
  274. package/dist/modes/interactive/interactive-initial-session-binding.js.map +1 -1
  275. package/dist/modes/interactive/interactive-input-handling.js +0 -8
  276. package/dist/modes/interactive/interactive-input-handling.js.map +1 -1
  277. package/dist/modes/interactive/interactive-mode-base.d.ts +5 -1
  278. package/dist/modes/interactive/interactive-mode-base.d.ts.map +1 -1
  279. package/dist/modes/interactive/interactive-mode-base.js +15 -9
  280. package/dist/modes/interactive/interactive-mode-base.js.map +1 -1
  281. package/dist/modes/interactive/interactive-mode-deps.d.ts +1 -3
  282. package/dist/modes/interactive/interactive-mode-deps.d.ts.map +1 -1
  283. package/dist/modes/interactive/interactive-mode-deps.js +1 -3
  284. package/dist/modes/interactive/interactive-mode-deps.js.map +1 -1
  285. package/dist/modes/interactive/interactive-mode-surface.d.ts +9 -12
  286. package/dist/modes/interactive/interactive-mode-surface.d.ts.map +1 -1
  287. package/dist/modes/interactive/interactive-mode-surface.js.map +1 -1
  288. package/dist/modes/interactive/interactive-model-routing.js +10 -13
  289. package/dist/modes/interactive/interactive-model-routing.js.map +1 -1
  290. package/dist/modes/interactive/interactive-render-chat.js +29 -0
  291. package/dist/modes/interactive/interactive-render-chat.js.map +1 -1
  292. package/dist/modes/interactive/interactive-selectors.js +2 -32
  293. package/dist/modes/interactive/interactive-selectors.js.map +1 -1
  294. package/dist/modes/interactive/interactive-session-routing.js +1 -5
  295. package/dist/modes/interactive/interactive-session-routing.js.map +1 -1
  296. package/dist/modes/interactive/interactive-session-runtime.js +1 -5
  297. package/dist/modes/interactive/interactive-session-runtime.js.map +1 -1
  298. package/dist/modes/interactive/interactive-slash-commands.js +6 -13
  299. package/dist/modes/interactive/interactive-slash-commands.js.map +1 -1
  300. package/dist/modes/interactive/interactive-startup.d.ts.map +1 -1
  301. package/dist/modes/interactive/interactive-startup.js +19 -13
  302. package/dist/modes/interactive/interactive-startup.js.map +1 -1
  303. package/dist/modes/interactive/interactive-tui.d.ts.map +1 -1
  304. package/dist/modes/interactive/interactive-tui.js +27 -3
  305. package/dist/modes/interactive/interactive-tui.js.map +1 -1
  306. package/dist/modes/interactive-engine/engine-custom-ui.d.ts.map +1 -1
  307. package/dist/modes/interactive-engine/engine-custom-ui.js +1 -0
  308. package/dist/modes/interactive-engine/engine-custom-ui.js.map +1 -1
  309. package/dist/modes/interactive-engine/isolated-runtime.d.ts.map +1 -1
  310. package/dist/modes/interactive-engine/isolated-runtime.js +4 -1
  311. package/dist/modes/interactive-engine/isolated-runtime.js.map +1 -1
  312. package/dist/utils/child-process.d.ts.map +1 -1
  313. package/dist/utils/child-process.js +13 -6
  314. package/dist/utils/child-process.js.map +1 -1
  315. package/dist/utils/exif-orientation.d.ts.map +1 -1
  316. package/dist/utils/exif-orientation.js +2 -3
  317. package/dist/utils/exif-orientation.js.map +1 -1
  318. package/dist/utils/tools-manager.d.ts +1 -0
  319. package/dist/utils/tools-manager.d.ts.map +1 -1
  320. package/dist/utils/tools-manager.js +33 -18
  321. package/dist/utils/tools-manager.js.map +1 -1
  322. package/docs/custom-provider.md +2 -0
  323. package/docs/development.md +17 -0
  324. package/docs/docs.json +14 -2
  325. package/docs/extensions.md +9 -4
  326. package/docs/intercom.md +41 -7
  327. package/docs/keybindings.md +8 -6
  328. package/docs/models/evals.md +394 -0
  329. package/docs/models/model-selection.md +54 -27
  330. package/docs/models/pareto-efficiency.md +33 -16
  331. package/docs/models.md +37 -1
  332. package/docs/packages.md +2 -2
  333. package/docs/providers.md +44 -20
  334. package/docs/quickstart.md +8 -6
  335. package/docs/rpc.md +3 -3
  336. package/docs/sdk.md +2 -16
  337. package/docs/settings.md +19 -22
  338. package/docs/skills.md +4 -2
  339. package/docs/subagents.md +9 -3
  340. package/docs/tools/edit.md +373 -0
  341. package/docs/tools.md +3 -7
  342. package/docs/tui.md +2 -1
  343. package/docs/usage.md +3 -5
  344. package/docs/workflows/api-reference.md +1395 -0
  345. package/docs/workflows/authoring.md +678 -0
  346. package/docs/workflows/builtins.md +245 -0
  347. package/docs/workflows/operations.md +811 -0
  348. package/docs/workflows/reliable-design.md +2099 -0
  349. package/docs/workflows/verification.md +62 -0
  350. package/docs/workflows.md +15 -5183
  351. package/npm-shrinkwrap.json +584 -69
  352. package/package.json +7 -7
  353. package/dist/client/remote-session.d.ts +0 -64
  354. package/dist/client/remote-session.d.ts.map +0 -1
  355. package/dist/client/remote-session.js +0 -351
  356. package/dist/client/remote-session.js.map +0 -1
  357. package/dist/client/transcript.d.ts +0 -12
  358. package/dist/client/transcript.d.ts.map +0 -1
  359. package/dist/client/transcript.js +0 -98
  360. package/dist/client/transcript.js.map +0 -1
  361. package/dist/core/codex-fast-mode-transport.d.ts +0 -12
  362. package/dist/core/codex-fast-mode-transport.d.ts.map +0 -1
  363. package/dist/core/codex-fast-mode-transport.js.map +0 -1
  364. package/dist/core/codex-fast-mode.d.ts +0 -53
  365. package/dist/core/codex-fast-mode.d.ts.map +0 -1
  366. package/dist/core/codex-fast-mode.js +0 -249
  367. package/dist/core/codex-fast-mode.js.map +0 -1
  368. package/dist/modes/interactive/components/fast-mode-selector.d.ts +0 -27
  369. package/dist/modes/interactive/components/fast-mode-selector.d.ts.map +0 -1
  370. package/dist/modes/interactive/components/fast-mode-selector.js +0 -107
  371. package/dist/modes/interactive/components/fast-mode-selector.js.map +0 -1
  372. package/dist/server/create-harness.d.ts +0 -53
  373. package/dist/server/create-harness.d.ts.map +0 -1
  374. package/dist/server/create-harness.js +0 -360
  375. package/dist/server/create-harness.js.map +0 -1
  376. package/docs/models/artificial-analysis-index.md +0 -83
@@ -1,68 +1,55 @@
1
1
  ---
2
2
  name: prompt-engineer
3
- description: Create, improve, optimize, evaluate, or troubleshoot prompts for GPT-5.6, Claude Opus 5, and Claude Fable 5.
3
+ description: Write, evaluate, migrate, or troubleshoot prompts for GPT and Claude models.
4
4
  ---
5
5
 
6
- # Prompt Engineering Skill
6
+ # Prompt engineering
7
7
 
8
- Create or revise prompts for current models. Optimize for the intersection of GPT-5.6, Claude Opus 5, and Claude Fable 5 unless the user names one target.
8
+ Create or revise prompts for the user's target model. Keep the common prompt portable and load only the relevant model guide. Each model page distills its official source into practical instructions; defaults, effort levels, and API features do not transfer automatically between models or providers.
9
9
 
10
- ## Use This Skill For
10
+ ## Workflow
11
11
 
12
- - Writing task, system, agent, or tool prompts
13
- - Improving consistency, accuracy, security, structure, or cost
14
- - Migrating legacy prompts to current models
15
- - Selecting examples, XML structure, prompt chains, or model effort
16
- - Diagnosing prompt regressions or tool-routing failures
12
+ 1. Establish the outcome, audience, model, authorization, output, and representative failures. Ask only for missing information that materially changes the prompt.
13
+ 2. Read the needed shared reference and the target model's page below. Resolve paths from this skill directory.
14
+ 3. Remove obsolete or redundant guidance before adding text. Preserve binding requirements.
15
+ 4. For complex prompts, use `Role · Goal · Success criteria · Constraints · Tools · Output · Stop rules`; omit sections that do not change behavior.
16
+ 5. Change one prompt or configuration variable at a time and compare representative cases. Measure task success, output validity, tool behavior, latency, tokens, and cost where available.
17
+ 6. Deliver the revised prompt, a brief change summary, and validation evidence or a plan. Label checks that were not run.
17
18
 
18
- ## Workflow
19
+ ## Shared references
19
20
 
20
- 1. Establish the user-visible outcome, audience, use case, model family, authorization boundaries, required output, and representative failure cases. Ask only for information whose absence would materially change the prompt.
21
- 2. Read the relevant references below.
22
- 3. Delete obsolete or redundant guidance before adding text.
23
- 4. Shape complex prompts as `Role · Goal · Success criteria · Constraints · Tools · Output · Stop rules`; omit sections that do not change behavior.
24
- 5. Test one surgical change at a time on representative inputs. Compare task success, output validity, tool behavior, latency, tokens, and cost.
25
- 6. Deliver the revised prompt plus a brief change summary and validation plan. Keep the response focused: lead with the prompt or outcome, retain decisions and caveats, and omit background that does not change the user's next action.
21
+ | Read | When |
22
+ | --- | --- |
23
+ | `references/core_prompting.md` | Defining clarity, context, roles, output, examples, or grounding |
24
+ | `references/advanced_patterns.md` | Designing agents, tool routing, delegation, long context, or handoffs |
25
+ | `references/quality_improvement.md` | Auditing accumulated skills/repository instructions, optimizing, evaluating, securing, or troubleshooting prompts |
26
26
 
27
- ## Progressive Disclosure
27
+ ## Model guides
28
28
 
29
- | Read | When | Covers |
29
+ | Target | Read | Main distinctions |
30
30
  | --- | --- | --- |
31
- | `references/core_prompting.md` | Creating or repairing any prompt | Clarity, context, roles, success criteria, constraints, output contracts, examples, XML, grounding |
32
- | `references/advanced_patterns.md` | Building agents, tool workflows, long-context prompts, chains, or model-specific variants | GPT-5.6, Claude Opus 5, Claude Fable 5, tool routing, stopping, delegation, adaptive thinking |
33
- | `references/quality_improvement.md` | Optimizing, evaluating, securing, or troubleshooting a prompt | Delete-first workflow, evals, hallucination reduction, consistency, security, regression diagnosis |
31
+ | GPT-6 Astra | `references/gpt_6_astra.md` | Completion and approval pauses, instruction sensitivity, proportionate verification, API migration |
32
+ | GPT-5.6, Sol, Terra, Luna | `references/gpt_5_6.md` | Lean prompts, concise defaults, effort sweep, pro mode, programmatic tools, caching |
33
+ | GPT-5.5 | `references/gpt_5_5.md` | Outcome-first baseline, retrieval limits, explicit validation, assistant phase replay |
34
+ | Claude Fable 5.1 | `references/claude_fable_5_1.md` | Progress visibility, batching, thinking-history binding, completion and output budget |
35
+ | Claude Fable 5 | `references/claude_fable_5.md` | Long-run completion, grounded progress, task-sized independent verification, refusal handling |
36
+ | Claude Opus 5 | `references/claude_opus_5.md` | Separate response length from effort, remove redundant verification, bound delegation |
37
+ | Claude Opus 4.8 | `references/claude_opus_4_8.md` | Explicit adaptive thinking, literal scope, tool triggering, design alternatives |
38
+ | Claude Sonnet 5 | `references/claude_sonnet_5.md` | Changed thinking default, unsupported manual budgets/sampling, literal scope and review recall |
34
39
 
35
- Use the exact instruction `Read references/core_prompting.md`, `Read references/advanced_patterns.md`, or `Read references/quality_improvement.md` when loading one of these files.
40
+ For a migration, read both source and target pages when both are listed. For a cross-model prompt, keep common requirements in the main contract and isolate only the differences that affect behavior. Do not load every page for a single-model task.
36
41
 
37
- ## Cross-Model Baseline
42
+ ## Common rules
38
43
 
39
- - State the destination and completion bar; leave routine path selection to the model.
44
+ - State the result and completion bar; leave routine path selection to the model.
40
45
  - Give relevant context and a short reason for important constraints.
41
- - Reserve `ALWAYS`, `NEVER`, `MUST`, and `only` for safety rules, required fields, forbidden actions, and other true invariants. Use decision rules for judgment calls.
42
- - Specify user-facing or machine-consumed output length, sections, format, and validation requirements.
43
- - Use consistent descriptive XML tags when a prompt mixes instructions, context, examples, or documents. Tags are optional for simple prompts.
44
- - Use 3–5 relevant, diverse examples when examples measurably improve format, tone, or edge-case behavior; remove examples that do not change behavior.
45
- - For high-stakes or grounded work, require claims to cite available evidence, permit uncertainty, and define what happens when evidence is missing.
46
- - Do not prefill the final assistant response: Claude 4.6 and later return a 400 error. Use explicit format instructions, structured outputs, tools, or post-processing instead.
47
- - Do not request internal reasoning as response text. On Claude Fable 5 this can trigger `reasoning_extraction` and force fallback; request conclusions, evidence, observed behavior, citations, or validation results instead.
48
- - In instruction text, prefer “consider,” “evaluate,” or “assess” over “think” and its variants, especially for configurations with model thinking disabled.
49
-
50
- ## Quick Selection Guide
51
-
52
- | Need | Primary approach | Reference |
53
- | --- | --- | --- |
54
- | Better clarity or tone | Outcome, audience, context, specific role | `references/core_prompting.md` |
55
- | Reliable shape | Explicit output contract, schema, relevant examples | `references/core_prompting.md` |
56
- | Complex autonomous task | Agentic structure plus success and stop rules | `references/advanced_patterns.md` |
57
- | Tool-choice failures | Context-dependent routing and prerequisite rules | `references/advanced_patterns.md` |
58
- | Long documents | Documents first, query last, source metadata | `references/advanced_patterns.md` |
59
- | Deep analysis | Adaptive thinking and calibrated effort | `references/advanced_patterns.md` |
60
- | Multi-stage workflow | Focused prompt chain with explicit handoffs | `references/advanced_patterns.md` |
61
- | Hallucinations | Evidence scope, citations, uncertainty behavior | `references/quality_improvement.md` |
62
- | Inconsistent output | Schema, examples, parser validation | `references/quality_improvement.md` |
63
- | Security or injection risk | Policy boundaries, input controls, layered defenses | `references/quality_improvement.md` |
64
- | Excess cost or latency | Delete-first optimization and effort sweep | `references/quality_improvement.md` |
65
-
66
- ## Invariants
67
-
68
- Prompting reduces but does not eliminate errors. Validate critical outputs with domain-appropriate checks, especially in high-stakes applications. Preserve safety, business, evidence, permission, and downstream parser constraints while optimizing.
46
+ - Reserve absolute language for true invariants such as safety, permission, required fields, and forbidden actions. Use conditional rules for judgment calls.
47
+ - Specify output length, sections, format, and validation when the user or a parser depends on them. Use schemas for machine output where supported.
48
+ - Use descriptive XML tags to separate mixed instructions, context, examples, and untrusted documents when helpful. Simple prompts need no markup.
49
+ - Keep examples only when they improve measured behavior. Ensure they obey the written contract.
50
+ - Require evidence for consequential claims, permit uncertainty, and define what happens when evidence is missing.
51
+ - Request conclusions, evidence, observed behavior, and validation results. Do not ask the model to reconstruct private reasoning in response text.
52
+ - Calibrate verification and delegation to the model and task. Preserve required checks, real approval gates, and the harness's concurrency and execution rules.
53
+ - Validate API compatibility before recommending parameters. A provider capability is not proof that Atomic or another host exposes it.
54
+
55
+ Prompting reduces errors but does not eliminate them. Preserve safety, business, evidence, permission, and downstream parser constraints while optimizing.
@@ -2,35 +2,9 @@
2
2
 
3
3
  Use these patterns for agents, tools, long context, multi-stage work, or model-specific tuning. Keep the common prompt portable; add a model-specific branch only when behavior or API controls differ.
4
4
 
5
- ## Model-Family Guidance
5
+ ## Choose model-specific guidance separately
6
6
 
7
- ### GPT-5.6
8
-
9
- - Prefer a lean, outcome-first contract with explicit success criteria, dependencies, tool routes, and stopping conditions. GPT-5-class models follow contracts closely, so remove contradictions and repeated rules.
10
- - Set `text.verbosity` (`low`, `medium`, or `high`) for the request's default detail, then specify task-specific length and structure in the prompt. GPT-5.6 is concise by default; broad brevity instructions can make it too terse.
11
- - Preserve the existing reasoning effort as a baseline. Compare that level and one lower on representative evals; use `high`, `xhigh`, or `max` only when measured quality justifies the cost.
12
- - Expose only relevant tools. Parallelize independent reads, keep dependent calls sequential, and synthesize retrieved results before acting.
13
- - Prefer the Responses API for reasoning with tools. In Chat Completions, function tools require effective reasoning `none`; do not silently trade away required tools or reasoning.
14
-
15
- OpenAI measured leaner system prompts improving internal coding-agent scores by roughly 10–15% while reducing total tokens 41–66% and cost 33–67%. Treat these as directional and validate on your workload.
16
-
17
- ### Claude Opus 5
18
-
19
- - Give the complete specification up front and allow the model to execute. Remove generic self-review instructions: Opus 5 already self-corrects and repeated rechecks add cost without quality gain.
20
- - Start at `high` effort, compare `low` and `medium` where quality holds, and use `xhigh` for demanding coding or agentic work. Effort controls reasoning volume, cost, and latency; it does **not** reliably shorten visible responses.
21
- - Constrain user-facing and written deliverable length explicitly, for example: “Lead with the outcome; use at most 300 words and three short sections.”
22
- - Set a sparse progress cadence because Opus 5 produces frequent agentic updates: one sentence before the first tool call, then updates only for material findings or plan changes.
23
- - Limit task expansion and delegation. It can perform large end-to-end tasks, but may add work or spawn subagents unless the prompt defines scope and a delegation decision rule.
24
- - Keep adaptive thinking enabled when practical. Disabling it can leak tool calls as text or internal XML; at `xhigh` and `max`, disabling thinking returns a 400 error.
25
-
26
- ### Claude Fable 5
27
-
28
- - Remove legacy prescriptive scaffolding. Fable 5 follows brief instructions strongly, sustains long autonomous runs, and can overplan or overbuild when higher effort meets an ambiguous task.
29
- - Start at `high`; use `xhigh` for the hardest capability-sensitive work and `medium` or `low` for routine or interactive work. Adaptive thinking is required; manual extended-thinking budgets and disabling thinking are unsupported.
30
- - Add grounded progress reporting for long runs: each completion claim should point to a tool result from the current session, with failed, skipped, or unverified work labeled accurately. Anthropic reports this nearly eliminated fabricated status reports in its tests.
31
- - Define action boundaries and a no-promise stop rule. If an autonomous turn ends with an unexecuted plan or a request for permission already granted, continue with tools; stop only when complete or blocked on user-only input.
32
- - Avoid surfacing context-token countdowns because they can prompt early wrap-up.
33
- - Requests to echo, narrate, or explain internal reasoning as response text can trigger the `reasoning_extraction` refusal category and force fallback. Request cited evidence, conclusions, observed outputs, and validation receipts instead. If an application needs available reasoning visibility, consume API-provided summarized adaptive-thinking blocks rather than asking the model to generate a reconstruction.
7
+ The [skill's model table](../SKILL.md#model-guides) routes to one page per model, each linked to its official source. Read the target page before selecting effort, verification cadence, delegation, or API controls. Keep those differences out of a shared prompt unless the application deliberately branches by model.
34
8
 
35
9
  ## Agentic Prompt Structure
36
10
 
@@ -43,7 +17,7 @@ Success criteria:
43
17
  - decide eligibility from policy and account evidence
44
18
  - complete every authorized action
45
19
  - return completed_actions, customer_message, and blockers
46
- Constraints: Keep changes in scope; confirm external, destructive, or costly actions.
20
+ Constraints: Keep changes in scope; confirm external, destructive, or costly actions when authorization is missing.
47
21
  Tools: Retrieve policy before deciding; use the account tool only after identity and eligibility are established.
48
22
  Output: Lead with the outcome; return the three required fields in valid JSON.
49
23
  Stop rules: Answer when required evidence and actions are complete. If one required fact is missing, ask for that smallest field. Stop on a permission or policy block and name it.
@@ -67,13 +41,11 @@ Independent reads can run in parallel; calls whose parameters depend on earlier
67
41
 
68
42
  Use programmatic tool calling only for bounded deterministic reduction such as filtering, joining, ranking, deduplication, batching, or aggregation of large structured results. Prefer direct calls when each result changes the next decision, approval is required, or citations and semantic judgment must remain visible.
69
43
 
70
- ## Delegation Damping
44
+ ## Delegation and independent verification
71
45
 
72
- Both Opus 5 and Fable 5 can over-delegate. For an orchestrator, use one decision rule:
46
+ Delegate bounded independent work when the expected time or quality benefit exceeds coordination cost. Define ownership, expected evidence, and concurrency limits. Preserve required independent reviews.
73
47
 
74
- ```text
75
- Delegate only work that is genuinely independent and too large to finish in a handful of tool calls. Do not use subagents merely to recheck your own work. Prefer one subagent over several and cap concurrency.
76
- ```
48
+ Calibrate additional delegation and verification to the target model. Opus 5 often needs redundant self-checking removed; Fable 5's guide recommends periodic independent verification for long work; Astra and Opus 4.8 may need encouragement to delegate. Do not turn any of these tendencies into a blanket rule for every task.
77
49
 
78
50
  Keep orchestration asynchronous when the harness supports it, synthesize all returned work, and prevent agents from editing the same surface concurrently.
79
51
 
@@ -100,16 +72,16 @@ Quote grounding can focus retrieval in noisy inputs. Require only quotes that su
100
72
 
101
73
  ## Adaptive Thinking and Effort
102
74
 
103
- Current Claude models allocate reasoning adaptively. Set effort first, then add a targeted prompt only if measured triggering remains wrong. `effort` is soft guidance; `max_tokens` is the hard per-request cap shared by reasoning and response text. Leave enough room for both.
75
+ Check the target model's thinking default, supported effort levels, and output budget before tuning. Effort names do not guarantee equal reasoning volume across versions. On supported Claude thinking requests, `max_tokens` covers both thinking and visible response; leave room for both. Change effort separately from prompt wording to identify the cause of regressions.
104
76
 
105
77
  Do not use visible chain-of-thought instructions or private-deliberation tags as a prompting technique. They are obsolete and can trigger Fable 5 safeguards. Ask for an answer supported by evidence, calculations, test results, or a concise decision rationale that does not solicit private deliberation.
106
78
 
107
- In instruction prose, prefer “evaluate,” “assess,” or “consider” over “think,” particularly when Claude reasoning is disabled. Keep thinking configuration and effort stable within cache-sensitive conversations; changing effort invalidates Claude prompt-cache breakpoints.
79
+ Keep earlier conversation items intact when replaying state. Caching and thinking-history binding rules differ by model and API; read the model page before changing effort, system instructions, or the replayed prefix.
108
80
 
109
81
  ## Prompt Chaining and Examples
110
82
 
111
83
  Chain prompts when distinct stages need separate context, permissions, models, or output contracts—not merely because a task has several steps. Each stage gets one goal, a validated handoff schema, and its own stop rule. Useful pipelines include Research → Outline → Draft → Edit and Extract → Transform → Analyze → Present.
112
84
 
113
- Run independent stages in parallel when they do not share mutable state. Use fresh-context review for genuinely high-risk artifacts when independence adds value; avoid automatic generate-review-repeat loops that duplicate current models' native self-correction.
85
+ Run independent stages in parallel when they do not share mutable state. Use fresh-context review when required or when independence adds value, and bound repair conditions. Additional review loops should address a task-specific risk or measured model behavior.
114
86
 
115
87
  Few-shot examples remain useful for unusual formats, classifications, and edge cases. Keep 3–5 only when evals show value, use `<examples>` and `<example>` tags for mixed prompts, and ensure every example obeys the written contract.
@@ -0,0 +1,49 @@
1
+ # Claude Fable 5 prompting
2
+
3
+ Use this reference for long autonomous tasks, progress reliability, delegation, and migration from Opus 4.8. Distilled from [Anthropic's Fable 5 prompting guide](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-fable-5), checked September 5, 2026. Apply model-specific changes to observed failures rather than importing every instruction into every task.
4
+
5
+ ## Calibrate effort and task size
6
+
7
+ Start at `high` for most tasks. Use `xhigh` for the most capability-sensitive work and evaluate `medium` or `low` for routine or interactive tasks. Higher effort can improve verification on difficult work but also encourage unnecessary context gathering and planning on small tasks.
8
+
9
+ Give the model a complete goal, why it matters, and observable completion criteria. Test demanding end-to-end work as well as simple edits when evaluating adoption. Keep nearby refactors, defensive additions, and unrelated deliverables outside the requested scope.
10
+
11
+ Hard requests can run for many minutes and autonomous tasks much longer. Review streaming, client timeouts, progress indicators, and asynchronous monitoring for the actual workload. Do not raise repository test budgets or change execution policy merely because long model turns are possible.
12
+
13
+ ## Use brief, explicit boundaries
14
+
15
+ Fable 5 follows short instructions strongly. Prefer a concise scope and output contract over lists of every possible over-elaboration. Specify necessary checkpoints once and preserve real permission requirements.
16
+
17
+ ```text
18
+ Complete the requested change and its required validation. Keep edits within the stated scope. Continue work already authorized by the request; pause only for a blocking decision, missing permission, or unavailable prerequisite. Report completed work and the evidence for it in plain language.
19
+ ```
20
+
21
+ If a turn ends with an unexecuted intention, continue with the actual tool call when authorized. Do not treat a plan as completion. Avoid exposing remaining-context countdowns that encourage premature handoffs. If the application compacts automatically, explain that behavior accurately rather than promising unlimited context.
22
+
23
+ ## Ground progress and communicate clearly
24
+
25
+ Before reporting progress, compare each claim with actual tool results from the current session. Label failures, skipped checks, and unverified work. Anthropic reports this rule reduced fabricated status reports in its tests; verify its effect on your own workload.
26
+
27
+ For long conversations, prefer readable sentences over arrow chains, compressed implementation labels, or references to reasoning the user never saw. Lead with the outcome and retain the evidence and caveats the reader needs.
28
+
29
+ If the product needs an exact deliverable or direct reply displayed mid-task, the guide recommends a send-to-user tool whose input the client renders verbatim. Pair it with instructions identifying when to use it; defining the tool alone may not trigger use. Reserve it for content intended for the user, not internal reasoning or routine narration. Confirm the host implements such a tool before referring to it in a prompt.
30
+
31
+ ## Delegate and verify according to the task
32
+
33
+ Fable 5 readily dispatches and sustains parallel subagents. Give explicit delegation conditions, independent ownership, and result expectations. Prefer asynchronous communication where supported. Long-lived delegates can reuse context across related subtasks, but they still need scope boundaries and a current assignment.
34
+
35
+ For long-running work, the official guide recommends a stated verification interval and fresh-context verifier subagents against the specification. Apply that pattern when the workload and orchestration policy call for it. Do not copy Opus 5's removal of generic verification into Fable 5 as a universal rule, or impose periodic verifier loops on trivial edits. Required repository checks remain binding.
36
+
37
+ When authorized, provide a small persistent notes file for lessons that should carry between runs. Record useful decisions and evidence, and review prior sessions to seed it. Do not turn memory into permission for unrelated edits or retain secrets unnecessarily.
38
+
39
+ ## Remove obsolete instructions safely
40
+
41
+ Review legacy skills and procedures for overly prescriptive steps that worsen default performance. Propose or make instruction changes only within the user's authorization. Preserve safety, parser contracts, permission boundaries, and required validation while testing whether a shorter prompt improves results.
42
+
43
+ Do not ask the model to echo, transcribe, or reconstruct private reasoning in response text. The guide warns that this can trigger `reasoning_extraction` refusals and fallback to Opus 4.8. Request conclusions, citations, observed outputs, and validation evidence. If supported, consume API-provided thinking blocks for available reasoning visibility rather than asking the model to recreate them.
44
+
45
+ The source also describes possible refusals in offensive cybersecurity and biology or life-sciences work. Handle refusal and fallback explicitly under application policy; a prompting guide does not override those safeguards.
46
+
47
+ ## Check the change
48
+
49
+ Evaluate a difficult bounded task, a routine edit, and an interrupted long run. Check completion, authorization, scope, accurate status, and actual tool execution. Compare effort levels separately from prompt changes. This prompting guide does not establish API compatibility for every provider or Atomic integration; consult the linked model introduction before changing request parameters.
@@ -0,0 +1,57 @@
1
+ # Claude Fable 5.1 prompting
2
+
3
+ Use this reference for Fable 5.1 migration or observed changes in progress reporting, tool batching, completion, and conversation replay. Distilled from [Anthropic's Fable 5.1 prompting guide](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-fable-5-1), checked September 5, 2026. Existing Fable 5 prompts are a useful baseline; adjust for observed differences.
4
+
5
+ ## Sweep effort again
6
+
7
+ Start at the default `high`, then evaluate `low`, `medium`, `xhigh`, and `max` on your tasks. Matching effort names across Fable versions does not mean matching reasoning volume. Lower effort can save cost where quality holds, but `low` is less likely to search or retrieve current information.
8
+
9
+ For long prose or code deliverables, prefer `high` unless higher effort improves measured quality. At `xhigh` and `max`, the model may spend substantial output budget preparing a deliverable before writing the answer. Set `max_tokens` for both thinking and the final response. If needed, tell it the actual output limit and ask it to reserve room for the deliverable, without asking it to expose private reasoning.
10
+
11
+ ## Make progress visible
12
+
13
+ Fable 5.1 produces fewer updates during long tool sequences. Check the client before adding prompting: progress-update `thinking` blocks are empty with the default `thinking.display: "omitted"`. The guide describes `display: "updates"` with beta header `thinking-display-updates-2026-08-18`, or `"summarized"` for updates plus summarized reasoning. Verify provider and SDK support and render the returned updates; these settings do not imply Atomic support.
14
+
15
+ Remove old instructions that suppress narration. If more updates are still needed, specify a sparse cadence and content:
16
+
17
+ ```text
18
+ Before a long operation, briefly state what it will establish. Report material findings and blockers as work proceeds. The final response should cover the whole requested task and its validation, not just the last step.
19
+ ```
20
+
21
+ Tell the model when tool output is hidden from the user, so it does not rely on a command's output as its user-facing explanation.
22
+
23
+ ## Batch independent work
24
+
25
+ In coding and computer-use loops, implied independent calls can be issued one per turn. A short reminder after tool results can reduce unnecessary round trips: "Batch independent tool calls in this turn; keep calls that need earlier results sequential."
26
+
27
+ The guide places repeated reminders in turn-scoped system messages with `clear_at: "next_user_message"` and beta header `mid-conversation-system-clear-at-2026-08-21`. Without that beta, append the reminder after `tool_result` blocks in the same user message. Preserve earlier turns unchanged. This is an integration pattern to implement only where the request path supports it.
28
+
29
+ When subagents are supported, let the launch tool return promptly, deliver results later, and provide a separate wait tool. The lead can continue independent work while children run. Preserve task ownership, concurrency limits, and dependencies; prompt text alone does not create asynchronous orchestration.
30
+
31
+ ## Preserve conversation history
32
+
33
+ Append assistant turns exactly as returned, including thinking blocks. Do not rewrite earlier system instructions, tool lists, messages, or per-turn reminders while replaying thinking from the old prefix.
34
+
35
+ For accounts created on or after August 31, 2026, the guide states that Fable 5.1 thinking blocks bind to the exact producing conversation. A changed prefix can return a 400. The beta `thinking.block_binding.prefix_mismatch_behavior: "drop_block"`, with `thinking-binding-controls-2026-08-01`, drops affected blocks instead; inspect `input_transformations` to diagnose edits. Do not treat dropping blocks as preserving their reasoning.
36
+
37
+ Use supported mid-conversation system messages for updates and server-side compaction or context editing for trimming. If compacting on the client, a simple safe shape is a new summary plus the new user turn, carrying no old thinking blocks. Tell the summary to retain task constraints, decisions, unfinished work, and exact identifiers needed to continue. Evaluate compaction timing against current cache costs rather than inheriting an early-compaction rule.
38
+
39
+ ## Finish the requested work within scope
40
+
41
+ Define completion through implementation, inspection, and repairs when those are requested. For unattended execution, say that the user is not watching only when that is true. Continue already-authorized steps instead of ending with "Next, I'll..." or asking permission again. Preserve explicit confirmation gates and ask for a blocking decision when necessary.
42
+
43
+ Constrain nearby fixes, extra features, and committed test code to the requested outcome. Keep required checks and meaningful regressions. Prefer targeted edits for small and medium changes; whole-file rewrites are appropriate when the file is short or most of it changes.
44
+
45
+ ## Tune writing, retrieval, and vision
46
+
47
+ Break dense prose into short sentences and paragraphs. Remove blanket anti-formatting rules inherited from earlier models; allow headers, lists, and emphasis when they clarify structure. For source summaries, give one complete example that distinguishes paraphrases from quoted passages, attributes both, and explains why it is correct. Adapt any tool names in examples to the actual environment.
48
+
49
+ At `low` effort, require current facts to be checked with available search or retrieval tools. Search unfamiliar names as supplied rather than treating recognition as proof of current knowledge. If omissions persist, evaluate a higher effort level for those turns.
50
+
51
+ For dense charts and images, provide the original media and crop/zoom tools. A cropped, enlarged region lets the model inspect details instead of guessing from a whole-image view.
52
+
53
+ ## Handle refusals and validate
54
+
55
+ Treat `stop_reason: "refusal"` as an explicit outcome. For benign coding false positives, supply documentation for unfamiliar languages, ask about bugs rather than relying solely on compile-check phrasing, and remove unnecessary base64 blobs from tool output. These measures clarify legitimate tasks; they do not authorize bypassing safeguards. Do not solicit internal reasoning as response text.
56
+
57
+ Test a long tool loop, a current-information query at low effort, and a history replay before rollout. Check visible updates, result correlation, completion, scope, and quoted-source attribution. Compare exact outgoing request prefixes if replay fails. No prompt-only test proves a provider supports the beta integration features above.
@@ -0,0 +1,57 @@
1
+ # Claude Opus 4.8 prompting
2
+
3
+ Use this reference for Opus 4.8 effort, literal instruction following, tool use, and design defaults. Distilled from [Anthropic's Opus 4.8 prompting guide](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-opus-4-8), checked September 5, 2026. Existing Opus 4.7 prompts are a starting point; Opus 5 has different defaults, so use its separate guide when migrating onward.
4
+
5
+ ## Set effort and thinking deliberately
6
+
7
+ Start at `xhigh` for coding and agentic work. Use at least `high` for most intelligence-sensitive tasks. Evaluate `max` for difficult work, watching for diminishing returns and overthinking. `medium` trades capability for cost; reserve `low` for short, scoped, latency-sensitive tasks.
8
+
9
+ Opus 4.8 follows low effort strictly and can under-investigate moderately complex work. Raise effort before adding elaborate reasoning instructions. If latency requires low effort, add a targeted instruction for the missing behavior and evaluate it.
10
+
11
+ Thinking is off unless the request explicitly sets `thinking: {type: "adaptive"}`. This differs from Opus 5 and Sonnet 5. With adaptive thinking enabled, effort is the first tuning lever; use task-specific prompting only when triggering remains poorly calibrated. Do not request private reasoning as visible response text.
12
+
13
+ ## State scope literally
14
+
15
+ The model may apply an instruction only to the item named, especially at low effort. Specify the full scope when a rule applies across a document, set of files, or pipeline. Give the goal, intent, constraints, and authorized actions in the initial request rather than relying on later corrections to assemble the task.
16
+
17
+ ```text
18
+ Apply the requested formatting to every section of the report. Preserve the factual claims and citations. Return the revised report within 800 words. Ask only if a missing decision prevents that result; do not add sections or change publication state.
19
+ ```
20
+
21
+ Clear initial specifications can reduce unnecessary user turns in coding products. This is not a reason to remove required approvals or discourage a genuinely blocking question.
22
+
23
+ ## Tune tools and communication
24
+
25
+ Opus 4.8 can favor reasoning over tool calls. If it misses required search or retrieval, explain when the tool is needed and what evidence it supplies. `high` and `xhigh` also tend to increase tool use. Avoid a universal search mandate for tasks that need no current evidence.
26
+
27
+ The model generally provides regular progress updates. Remove forced rules such as updates after every fixed number of tool calls when they duplicate that behavior. Describe useful updates and provide a positive example if their cadence or detail is wrong.
28
+
29
+ Response length follows perceived task complexity. Give explicit length and style expectations for open-ended analysis. Its default voice is direct and opinionated; specify warmth or conversational tone where the product requires it.
30
+
31
+ ## Encourage useful delegation
32
+
33
+ Opus 4.8 spawns fewer subagents by default. If the host supports collaboration, identify independent tasks worth delegating, define ownership and expected evidence, and keep dependent work sequential. Do not import Opus 5's delegation damping as a universal rule for this model.
34
+
35
+ ## Specify design alternatives
36
+
37
+ Open-ended designs can settle into cream backgrounds, serif headings, italic accents, and terracotta or amber. Generic bans may only substitute another fixed palette. Supply concrete colors, typography, spacing, component behavior, and reference examples when the brief requires a different style.
38
+
39
+ If choosing a direction is part of the task, request distinct options before implementation:
40
+
41
+ ```text
42
+ Propose three visual directions for this enterprise dashboard, each with a palette, typography, and density rationale. Use the existing accessibility requirements. Wait for the requested design selection before implementing.
43
+ ```
44
+
45
+ Use this approval step only when the user wants to choose; otherwise specify the authorized decision rule. Remove older, lengthy anti-generic design instructions if smaller concrete guidance performs better. Prompt for variety rather than relying on inherited sampling settings.
46
+
47
+ ## Preserve code-review recall
48
+
49
+ Broad instructions such as "be conservative" or "only important issues" can suppress valid lower-severity findings. If coverage is the review stage's goal, separate supported bug discovery from later ranking and deduplication. If only one pass is available, specify a concrete threshold such as incorrect behavior, test failure, or misleading output, while excluding pure style preferences. Preserve explicit user severity limits.
50
+
51
+ ## Computer use and validation
52
+
53
+ The source lists `computer_toolset_20260801` and `browser_toolset_20260801` on the Claude API and Google Cloud, plus the earlier `computer_20251124` computer tool. Verify provider and host support before using these versions. Tool availability in the API does not establish Atomic support.
54
+
55
+ For computer-use screenshots, the guide reports 1080p as a useful performance/cost balance; evaluate 720p or 1366×768 for cost-sensitive work. It describes a maximum of 2576px / 3.75MP. Select image detail and effort against actual task accuracy rather than increasing either blindly.
56
+
57
+ Test literal scope, tool triggering, review recall, and design adherence on representative cases. Measure effort changes separately from prompt changes, and retain required checks and permission boundaries throughout.
@@ -0,0 +1,47 @@
1
+ # Claude Opus 5 prompting
2
+
3
+ Use this reference for Opus 5 response length, scope, verification, and delegation tuning. Distilled from [Anthropic's Opus 5 prompting guide](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-opus-5), checked September 5, 2026. Existing Opus 4.8 prompts are a useful starting point; retest effort and remove obsolete instructions selectively.
4
+
5
+ ## Give the complete task and calibrate effort
6
+
7
+ Provide the specification, intended result, relevant constraints, and completion criteria up front. Opus 5 performs well on difficult multi-file and end-to-end work, but narrow tasks still need an explicit scope boundary to prevent unrequested additions.
8
+
9
+ Start at the default `high`. Evaluate `low` and `medium` wherever quality holds, including code review, and use `xhigh` for demanding coding or agentic tasks. Effort controls thinking volume and latency; reducing it does not reliably shorten the visible response.
10
+
11
+ ## Control response and artifact length separately
12
+
13
+ Specify conversation length and the length of written deliverables directly. Reports and Markdown files can run long even when chat replies are brief. Positive examples of the desired communication style are more useful than a long list of forbidden phrases.
14
+
15
+ ```text
16
+ Lead with the result and its material caveats. Keep the chat response under 200 words. Write a report only if requested; keep that report within the requested sections and length. Preserve evidence needed to support the conclusions.
17
+ ```
18
+
19
+ Opus 5 narrates agentic work readily. For a quiet interface, request an initial short update followed by messages for material findings or blockers. If more interaction is useful, give examples and specify its cadence. Limit correction narration to errors that affect the user's understanding or next action.
20
+
21
+ ## Remove redundant verification, retain required checks
22
+
23
+ Opus 5 self-corrects and verifies without generic reminders. Review inherited instructions such as "double-check every answer," "always add a final verification step," or "use a subagent to verify." Remove redundant advisory instructions when evaluations show no benefit; they can compound with native behavior and waste work.
24
+
25
+ This does not cancel repository checks, requested regression tests, independent review requirements, or evidence needed for a completion claim. Keep those concrete obligations and constrain work to the requested outcome.
26
+
27
+ For bug finding, vague severity filters can suppress valid findings because the model follows them literally. If a separate stage ranks or filters findings, ask the discovery stage to cover supported bugs first. In a single pass, state a concrete reporting threshold and honor any severity restriction the user explicitly requested.
28
+
29
+ ## Bound delegation
30
+
31
+ Opus 5 delegates readily. Allow substantial independent tracks where the benefit exceeds coordination cost, specify file ownership and evidence, and cap concurrency or spend in application code. Avoid splitting a small task merely to create parallel work.
32
+
33
+ The guide names Claude Code and Claude Agent SDK controls `CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH`, `CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS`, and `max_budget_usd`, requiring Claude Code 2.1.217 or later. These are not Atomic controls. With a custom system prompt, do not assume the Claude Code preset's delegation instruction is present.
34
+
35
+ ## Keep thinking enabled when practical
36
+
37
+ Thinking is on by default. It can be disabled only at effort `high` or below; `xhigh` and `max` require it. Prefer enabled thinking with lower effort for cost-sensitive work rather than disabling it without evaluation.
38
+
39
+ With thinking disabled, the model can write a tool call as visible text instead of emitting structured `tool_use`, so nothing executes. It can also emit internal XML. Remove instructions forbidding thinking or reasoning, which can increase leakage.
40
+
41
+ If the integration must disable thinking, explain that brief user-facing text before a tool call is allowed, that it may answer directly when no tool fits, and that internal markup does not belong in the response. The guide favors a general markup rule over naming particular internal tags. Still validate actual structured tool calls; printed syntax is not execution. Do not ask for private reasoning text as a workaround.
42
+
43
+ ## Vision and rollout checks
44
+
45
+ For dense charts, documents, diagrams, or visual replication, provide tools to crop, inspect, and verify images. Re-evaluate old vision workarounds before retaining them. For office tasks, supply required templates and styles instead of relying on generic preferences.
46
+
47
+ Compare representative edits, a review task, and a long deliverable at several effort levels. Inspect output length, supported findings, scope, delegation cost, and actual tool execution. Consult the source's linked migration guide before changing API controls, and verify that the chosen provider and host expose them.
@@ -0,0 +1,57 @@
1
+ # Claude Sonnet 5 prompting
2
+
3
+ Use this reference for Sonnet 5 effort, thinking defaults, tools, and migration from Sonnet 4.6. Distilled from [Anthropic's Sonnet 5 prompting guide](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-sonnet-5), checked September 5, 2026. Existing Sonnet 4.6 prompts are a starting point, but unchanged request parameters can behave differently.
4
+
5
+ ## Review migration parameters first
6
+
7
+ | Area | Sonnet 5 rule |
8
+ | --- | --- |
9
+ | Effort | Default `high`; use `xhigh` for the hardest coding and agentic tasks. Evaluate `medium` for cost-sensitive work and `low` for short, scoped, latency-sensitive tasks. `max` prioritizes capability with greater token spending. |
10
+ | Thinking default | Adaptive thinking is on when `thinking` is omitted. Sonnet 4.6 ran without thinking for that same request. Explicit `thinking: {type: "disabled"}` turns it off. |
11
+ | Manual budgets | `thinking: {type: "enabled", budget_tokens: N}` is unsupported and returns a 400. Use adaptive thinking with effort. |
12
+ | Output budget | `max_tokens` covers thinking plus the response. Revisit limits inherited from thinking-disabled Sonnet 4.6 workloads. |
13
+ | Sampling | Non-default `temperature`, `top_p`, or `top_k` returns a 400. Remove these parameters during migration and guide style in the prompt. |
14
+
15
+ These are model/API rules. Confirm the provider, SDK, and host support before changing configuration. Do not assume a raw API field is an Atomic setting.
16
+
17
+ ## Calibrate effort against behavior
18
+
19
+ Effort names are not equivalent across model versions. The guide offers rough Sonnet 4.6 comparisons, but recommends benchmarking observed thinking length rather than matching names alone. Try thinking enabled at lower effort before carrying forward a thinking-disabled setup.
20
+
21
+ At `low` and `medium`, the model follows the stated task narrowly; moderately complex work at `low` may be too shallow. Raise effort to `high` or `xhigh` before compensating with elaborate instructions. Where low effort is necessary, add a narrow instruction for the missed behavior and test it.
22
+
23
+ ## State scope and tools explicitly
24
+
25
+ Sonnet 5 is more agentic than Sonnet 4.6 and uses tools and self-verification more readily. Thinking-disabled requests can trigger tools less often. If required retrieval is missed, say what evidence must be fetched and when, rather than demanding tool use on every task. Higher effort can also increase search and coding tool use.
26
+
27
+ Instructions are literal, particularly at lower effort. Name the full scope when a rule applies to every file or section. Provide task intent and constraints up front so routine work can continue without a sequence of avoidable user confirmations. Preserve actual approval gates and missing-decision escalation.
28
+
29
+ ```text
30
+ Update each affected section using the supplied specification. Retrieve current API documentation only where the specification leaves compatibility unresolved. Keep changes within this request, run the required checks, and report any blocking mismatch with evidence. Deployment is not authorized.
31
+ ```
32
+
33
+ ## Calibrate writing and progress
34
+
35
+ Response length follows perceived task complexity. Set an explicit output length and structure when open-ended work runs long; use a positive example of the desired tone. Progress updates are generally regular without a fixed tool-count schedule. Remove redundant narration rules and specify useful update content where needed.
36
+
37
+ Control voice and design variety with concrete prompting, not rejected sampling parameters. Do not ask the model to reproduce private reasoning in its response; request evidence, conclusions, and observed results.
38
+
39
+ ## Design and frontend work
40
+
41
+ For an open-ended brief, Sonnet 5 can settle into a consistent house style. Generic bans often produce another fixed style rather than useful variation. Specify an alternative palette, typography, density, and interactions, or ask for distinct design directions when the user wants to choose before implementation.
42
+
43
+ A short design instruction plus concrete references may replace lengthy legacy anti-generic guidance. Keep accessibility and existing product requirements explicit. Do not create a new approval gate when the user has already authorized selecting a direction.
44
+
45
+ ## Keep review filters concrete
46
+
47
+ A review instruction such as "be conservative" or "don't nitpick" can hide supported bugs because the model follows it more literally. For a multi-stage review, make discovery responsible for coverage and perform confidence filtering, deduplication, and ranking separately.
48
+
49
+ For one pass, define the bar in terms of consequences: incorrect behavior, failing tests, or misleading results. Exclude pure naming and style preferences if they are out of scope. Do not expand a review beyond an explicit user severity constraint in pursuit of recall.
50
+
51
+ ## Computer use and rollout checks
52
+
53
+ The source lists `computer_toolset_20260801` and `browser_toolset_20260801` on the Claude API and Google Cloud, and the older `computer_20251124` computer tool. Verify actual availability before authoring a tool-dependent prompt.
54
+
55
+ For screenshots, the guide describes 1080p as a useful balance and 720p or 1366×768 as cost-sensitive alternatives, with a maximum of 2576px / 3.75MP. Evaluate resolution and effort against the details the task needs.
56
+
57
+ Test a migrated request payload, a required-retrieval task, and a code-review case. Check budget exhaustion, structured tool calls, scope, and supported findings. Compare one prompt or effort change at a time; no static guide proves live quality improvements.
@@ -0,0 +1,60 @@
1
+ # GPT-5.5 prompting and migration
2
+
3
+ Use this reference when targeting `gpt-5.5`. Guidance checked on September 5, 2026 against [OpenAI's GPT-5.5 guide](https://developers.openai.com/api/docs/guides/latest-model?model=gpt-5.5). Reevaluate legacy prompts against this model; do not assume [GPT-5.6](gpt_5_6.md) or [GPT-6 Astra](gpt_6_astra.md) has the same defaults.
4
+
5
+ ## Build an outcome-first baseline
6
+
7
+ Start with the smallest prompt that preserves the product contract. Specify the result, success criteria, permitted side effects, evidence scope, output, and stopping conditions. Keep step-by-step instructions where the path itself matters; remove routine process prescriptions and repeated rules.
8
+
9
+ GPT-5.5 follows instructions literally and thoroughly. Reserve absolute words for true invariants such as permissions and required fields. Use conditional rules for searching, clarifying, tool use, and persistence. For coding agents, explicitly cover reuse, delegation, validation, and when to continue or ask for help.
10
+
11
+ ```text
12
+ Resolve the reported issue within the authorized scope. Complete allowed actions before answering. Use the minimum sufficient evidence and cite consequential factual claims. Continue when a useful fallback can resolve a missing fact. Stop once the requested result and required checks are complete; otherwise ask for the smallest blocking input. Do not trade correctness or required evidence for fewer tool calls.
13
+ ```
14
+
15
+ ## Separate personality, collaboration, and format
16
+
17
+ The default style is direct and task-oriented. If a product needs warmth or a more expressive voice, say what that means in observable writing choices. Keep personality short and separate from collaboration rules about questions, assumptions, proactivity, and uncertainty.
18
+
19
+ Set `text.verbosity` intentionally. The default is `medium`; test `low` for concise responses. Visible response length is separate from reasoning quality. Define the audience, required content, word budget, or section count when needed. Prefer prose for ordinary explanations and use formatting when it helps the reader compare or scan.
20
+
21
+ ```text
22
+ Preserve the requested artifact, length, structure, and genre. Improve clarity and correctness without adding claims, sections, or a promotional tone. Lead with the answer, retain material caveats and next steps, and omit repetition and generic reassurance.
23
+ ```
24
+
25
+ For streaming, multi-step tasks, a one- or two-sentence preamble can improve perceived responsiveness while the work continues. State the first useful step; do not narrate every tool call or expose private reasoning.
26
+
27
+ ## Bound retrieval and ground creative work
28
+
29
+ Start ordinary Q&A with a broad search using discriminative terms. Retrieve again when the core question remains unanswered, a required fact is missing, a specific source must be read, the user requests comprehensive coverage, or an important claim would otherwise lack support. Do not keep searching merely to polish wording or cite optional detail.
30
+
31
+ Absence of evidence is not evidence of a factual "no." State uncertainty or ask for missing information. For drafts, slides, summaries, and launch copy, distinguish creative wording from product, customer, metric, roadmap, date, and capability claims. Support concrete claims with sources; use placeholders or labeled assumptions when evidence is missing.
32
+
33
+ ## Make verification concrete
34
+
35
+ Give the model tools to check its output and ask for the checks the task needs: affected tests, applicable lint/type checks, package builds, or a minimal smoke test when full validation cannot run. Keep required repository checks. Report what could not run and the next best available evidence.
36
+
37
+ For visual work, render and inspect layout, clipping, spacing, missing content, and consistency before finalizing. For plans, identify requirement coverage, files/APIs/resources, data flow or state transitions, validation, failure behavior, and material open questions. This GPT-5.5 encouragement to verify should not become repeated self-check mandates in every later model's prompt.
38
+
39
+ ## API and state checks
40
+
41
+ Use the Responses API for reasoning, tool-calling, and multi-turn work. Verify the actual SDK and provider before changing configuration.
42
+
43
+ | Area | GPT-5.5 guidance |
44
+ | --- | --- |
45
+ | Effort | The default and balanced starting point is `medium`. Evaluate `low` for latency-sensitive tasks that still need tools or planning. Reserve `none` for latency-critical work that does not need reasoning or chained tools. Increase to `high` or `xhigh` only for measured quality gains. |
46
+ | Effort regressions | Resolve contradictory instructions, open-ended tools, and weak stopping rules before increasing effort. More reasoning can increase searching or reduce quality when the contract is unclear. |
47
+ | Structured output | Prefer a supported Structured Outputs schema over duplicating the entire schema in prompt prose. Retain semantic requirements, missing-data behavior, and validation. |
48
+ | Continuations | Use `previous_response_id`, or replay the relevant returned output items for stateless/ZDR flows. Preserve each assistant item's original `phase` unchanged when managing history manually. |
49
+ | Phase | Intermediate assistant updates use `commentary`; completed answers use `final_answer`. Do not add `phase` to user messages. Check preambles, repeated tool calls, and final completion in the actual continuation loop. |
50
+ | Caching | Keep static instructions first and dynamic user context last. Use `prompt_cache_key` consistently for shared prefixes and track cached tokens. Do not silently apply GPT-5.6's caching migration contract to this model. |
51
+ | Compaction | Preserve completed actions, active assumptions, IDs, tool outcomes, unresolved blockers, and the next concrete goal. |
52
+ | Dates | The official guide says GPT-5.5 knows the current UTC date. Avoid redundant date injection unless the application needs a business timezone, policy-effective date, user-local date, or other specific reference date. |
53
+
54
+ Put tool-specific inputs, side effects, retry safety, and errors in concise tool descriptions. Keep cross-tool policy in the main instructions. Use hosted tools where they fit; use custom tools for internal systems and business-specific effects. Tool search can defer definitions in a large catalog. None of these API features is enabled merely by mentioning it in an Atomic skill.
55
+
56
+ ## Image migration
57
+
58
+ The guide says unset/`auto` image detail uses `original` behavior, preserving images up to 10,240,000 pixels or a 6,000-pixel dimension limit. Explicit `high` preserves images up to 2,500,000 pixels or a 2,048-pixel dimension limit. `low` resizes images above a 512-pixel dimension limit more aggressively than earlier models. Check detail, cost, and visual task accuracy against the [image guide](https://developers.openai.com/api/docs/guides/images-vision); do not substitute GPT-5.6's limits.
59
+
60
+ Compare the migration on representative normal, missing-evidence, tool-failure, and permission-boundary cases. Measure accuracy, completeness, token use, and end-to-end latency. Change one prompt, model, or effort variable at a time so a regression has an identifiable cause.