What
Creating an artifact is now refused in dontAsk mode, a permission mode in which Claude Code never stops to ask you. It joins the refusals that already applied when permission prompts are off or bypassed, or when the session was started on a schedule.
A new message covers sessions that cannot show that an answer came from a person.
Why
An organization's approval rules now hold in more kinds of session.
Names in the bundledontAsk
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up dontAsk, on Agent SDK reference - TypeScript.
| "dontAsk" // Deny calls that would otherwise promptagent-sdk/typescript see the edit
Added since
A small documentation edit on Agent SDK reference - Python touched a line naming dontAsk after this was published.
"dontAsk", # Deny calls that would otherwise promptagent-sdk/python see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
A small documentation edit on Agent SDK reference - Python touched a line naming dontAsk after this was published.