Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.271 ·

New forPromptShellCommand context forces auto mode down to default

Shell commands run as part of a prompt now force permission mode down from auto to default

Under the hood Internal Changes
JSON All of v2.1.271
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Auto ModeArea: what it touches
Internal ChangesKind: in v2.1.271,
Internal ChangesSection of the release
What

A new forPromptShellCommand flag marks when a shell command is being run as part of a prompt rather than a direct user action. When this flag is true, Claude Code now rewrites the effective permission mode from auto to default, and records the original mode as modeBeforeRewrite.

Why

This stops prompt-triggered shell commands from silently running in the more permissive auto mode, requiring the normal approval flow instead.

See this entry in the whole of v2.1.271 →

Feedback