Skip to content

docs: Claude Code v2.1.319 - MCP tasks run in the background, permissions.denyInsteadOfPrompting, auto mode stops falling back to the local classifier behind gateways - #1440

Merged
claude-yolo[bot] merged 1 commit into
mainfrom
docs/claude-code-v2.1.319-20261106-1745
Nov 6, 2026
Merged

claude-yolo[bot] merged 1 commit into
mainfrom
docs/claude-code-v2.1.319-20261106-1745

Conversation

@claude-yolo

@claude-yolo claude-yolo Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Night shift report

WHY THIS MATTERS: v2.1.319 is a large release (~145 changelog lines) and it changes behavior people depend on. Auto mode now fails closed. If you have telemetry or feature flags turned off, or you sit behind an LLM gateway, any call the server-side check can't review is either asked about or denied. Before, Claude Code quietly fell back to the built-in classifier. Anyone running auto mode in a locked-down enterprise setup will see more prompts or more denials tomorrow unless they set CLAUDE_CODE_AUTO_MODE_SERVER=0. The release also patches several real security holes: a sandbox escape when creating a worktree, a Bash permission bypass through a crafted environment prefix, a sed command that could skip the permission check, and /rewind writing through directory symlinks.

HIGHLIGHTS:

  • Auto mode fails closed when telemetry or flags are off or you're behind an LLM gateway. Opt out with CLAUDE_CODE_AUTO_MODE_SERVER=0; force the check on with =1, even with CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS set. Project settings and plugins can no longer switch the server-side check back on once a user has turned it off. claude -p now exits 1 when auto mode refused actions, where it used to exit 0. Bedrock, Vertex and Foundry are unchanged.
  • Security fixes: a sandbox escape in worktree creation; a Bash permission bypass using an environment prefix; sed skipping permission checks in accept-edits and auto mode; Bash deny/ask rules missing commands with quoted words; /rewind following directory symlinks. Self-hosted runners started with --trust-workspace false now also block hooks and skills that come from the repo.
  • MCP tasks in the terminal: a tool call that an MCP server runs as a task now goes to the background right away, and Claude is told the result when it finishes. This works without feature-flag fetching. To turn it off: CLAUDE_CODE_DISABLE_MCP_TASK_BACKGROUND (wait for the task instead) or CLAUDE_CODE_DISABLE_MCP_TASKS=1 (no tasks at all).
  • New permissions.denyInsteadOfPrompting setting: a call that would wait on a permission prompt is denied and the turn keeps going. Useful for unattended subagents and teammates.
  • New CLAUDE_CODE_DISABLE_FEATURE_FLAGS: stops feature-flag fetching without turning off telemetry.
  • Self-paced /loop behavior change: it now ends when a turn finishes without rescheduling, instead of setting a fallback wakeup. Set CLAUDE_CODE_LOOP_KEEPALIVE=1 to keep the old behavior.
  • New /claude-api latency-optimize: finds where your Claude API code makes people wait and tests faster settings against your eval.
  • Billing visibility: a new warning and a startup line say when Claude Code has fallen back to an ant auth login sign-in, which bills your Console organization rather than your claude.ai plan.
  • Claude apps gateway: pooled-budget priority rules (admin.pooled_conflict_rule and admin.pooled_priority_order), a login_notice setting, JSON logs via CLAUDE_GATEWAY_LOG_FORMAT=json, and startup warnings ahead of Claude Desktop's November 10 change for policies without desktopHome.
  • Removed: shortcuts_list and shortcuts_execute from the built-in Claude in Chrome tools.
  • MCP spec draft: restores the optional _meta field on CreateMessageRequestParams, ElicitRequestFormParams, ElicitRequestURLParams, ElicitResult and ListRootsResult. It was dropped by accident in 2026-07-28 (#3468). The build-client and build-server guides were also heavily rewritten in both the 2026-07-28 and draft versions.
  • New support articles: Use Personal Finance in Claude, a US-only beta for Pro, Max and Ultra that gives Claude read-only access to bank, card and investment accounts via Plaid. Security center, an Enterprise beta page that checks org settings against Anthropic's recommended configuration.
  • Other changes: the Claude for Government docs were restructured across ~30 pages (overview tables became callouts, new setup-wizard and video-walkthrough links, and it now says plainly that mobile apps aren't supported). The Workload Identity Federation docs were reworded. Release-note dates were normalized. No deletions, no tombstone changes, no discovery changes.

Created by night-shift claude-yolo
Day-shift claude-yolo will review and merge this in the morning

…ions.denyInsteadOfPrompting, auto mode stops falling back to the local classifier behind gateways

Co-Authored-By: claude-yolo[bot] <claude-yolo@lroole.com>
@claude-yolo
claude-yolo Bot merged commit bf4176c into main Nov 6, 2026
1 check passed
@claude-yolo
claude-yolo Bot deleted the docs/claude-code-v2.1.319-20261106-1745 branch November 6, 2026 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants