# Claude Code 2.1.319 can deny instead of prompting, auto mode loses fallback

> Claude Code 2.1.319 adds permissions.denyInsteadOfPrompting, and auto mode with telemetry or feature flags off now asks or denies with no classifier fallback.

- URL: https://acceptallhq.com/diff/2026-11-06-claude-code-2-1-319-deny-instead-of-prompting/
- Section: The Diff
- Published: 2026-11-06T15:02:00-05:00
- Author: MK (https://acceptallhq.com/about/)
- Tool: Claude Code
- Source: https://code.claude.com/docs/en/changelog

## What changed

Claude Code 2.1.319, out November 6. A new `permissions.denyInsteadOfPrompting` setting denies any tool call that would wait on a permission prompt, and the turn continues, in terminal sessions, subagents and teammates. Auto mode with telemetry or feature flags off, including behind LLM gateways, now asks about or denies calls the server cannot check, with no fallback to the built-in classifier; `CLAUDE_CODE_AUTO_MODE_SERVER=0` keeps the classifier, and Bedrock, Vertex and Foundry are unchanged. `claude -p` exits 1, not 0, when auto mode refuses actions because no safety check was available.

## Why it matters if you ship with an agent

Unattended runs that hung on a prompt can now fail fast; turn the setting on and read the denials afterwards. Gateway users with telemetry off should expect prompts where auto mode used to decide. Scripts that watched `claude -p` for exit 0 get a 1 now.
