Claude Code
Claude Code's Sandbox Now Asks First. Headless Runs Still Exit 0.
Since Claude Code 2.1.324, published 13 November, turning the Bash sandbox on no longer lets sandboxed commands skip the permission prompt: sandbox.autoAllowBashIfSandboxed now defaults to false. In 35 headless runs on 2.1.323 and 2.1.325, the older version ran touch, python3 and make, the newer one refused all three, and claude -p still exited 0. One settings line restores the old behaviour, and it works from a repository's own file in an untrusted checkout, where an allow rule in the same file is ignored.
16 Nov 20267 min read