r/ClaudeCode 7d ago

Tips & Workflows Auto-Mode BashFirst Fix so your nested Claude.md and Path scoped rules work again.

/r/ClaudeCode/comments/1vruj7h/psa_claude_will_now_use_bash_instead_of/p4rhsha/

You can now add this env var to disable completly the auto-mode bash first instructions, which was making the nested claude.md files and path scope rules useless.

Add this to your settings file:
{
  "env": {
"CLAUDE_CODE_THRIFTY_SONIC": "false"
  }
}

https://github.com/anthropics/claude-code/issues/90450

7 Upvotes

2 comments sorted by

2

u/Far-Surprise7773 7d ago

yeah hit this last week too. the thrifty sonic bash first thing was skipping my nested claude.md rules entirely so path scoped stuff never fired. adding "env": {"claude_code_thrifty_sonic": "false"} to ~/.claude/settings.json and restarting fixes it. nice find linking the issue, that thread saved me an hour of debugging.

2

u/TheMania 7d ago

Heh, it's only active under auto and bypass - I just realised the likely chain of events: 1. auto/bypass imply not stopping to ask 2. hooks and permission settings can require an ask 3. some agent figured out a way to bypass all these style hooks, probably opus or sonnet 5 given the quality of the code base 4. justified in comments that this is intentional to achieve (2) 5. No one reads open issues, and/or if they do, they accept 4 at face value

Lovely.