Bash safety checks gained a subcommand-based fallback when an 'ask' decision from the classifier can't be overridden
When Claude Code's safety-check classifier decides a bash command should prompt you with 'ask' and that decision isn't one that can simply be approved by the classifier, Claude Code now runs an extra check on the decision's reason and, where applicable, tries a new fallback that looks at the command's individual subcommands before falling back to the original 'ask' decision. The separate logic for always asking about certain subcommands was also consolidated into one shared piece of code.
This adds another layer of analysis before Claude Code settles on asking you for permission to run a bash command, aiming to make that decision more precise.