A user testing Claude Code's subagent functionality discovered that the `disallowedTools: Bash(git push *)` setting does not function as documented. Instead of preventing only `git push` commands, this setting completely removes the Bash tool, causing other Bash commands like `git status` to fail. The documentation suggests using a `Bash deny rule` in settings for more granular control, which was found to be more effective in blocking specific commands while allowing others. AI
IMPACT Highlights a critical bug in Anthropic's Claude Code tool configuration, potentially impacting user control over agent capabilities.
RANK_REASON User-reported bug/misconfiguration in a specific tool's feature.
Read on dev.to — Claude Code tag →
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →