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.