An unattended Claude Code session no longer has to stop and wait at a permission prompt. Set permissions.denyInsteadOfPrompting to true, and a tool call that would have waited for you is denied while the turn continues. Pair it with auto mode, and any call that would still need a prompt is denied.
It works in terminal sessions, -p runs, the VS Code extension, local desktop sessions, subagents, and agent teams, from Claude Code 2.1.319.
You set it in your user settings or an organization sets it in managed settings, and a repository can't set it for you. It also takes away Claude's question and plan tools, so leave it off when you want Claude to ask.
