[BUG] Subagents fail on permission checks without prompting user
Resolved 💬 3 comments Opened Jan 5, 2026 by joaopixar Closed Jan 9, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When a subagent (launched via Task tool) attempts to execute a bash command requiring permission, it fails silently with an error instead of prompting the user for approval. The user never gets a chance to allow or deny the command.
This occurred when invoking the plugin-dev:command-development skill, which attempted to run a bash command that wasn't pre-approved.
What Should Happen?
Either:
- The user should be prompted to approve/deny the command interactively, OR
- The error message should explain what command needs approval and how to grant it in settings.json
Error Messages/Logs
● /plugin-dev:command-development
⎿ Error: Bash command permission check failed for pattern "!`gh pr view $1`": This command requires approval
Steps to Reproduce
- Use the Skill tool to invoke plugin-dev:command-development
- The skill's subagent attempts to run a bash command (e.g., gh pr view)
- Observe error without any permission prompt shown to user
Claude Model
Sonnet 4.5 or Opus 4.5
Claude Code Version
2.0.76
Platform
AWS Bedrock
Operating System
Other Linux
Terminal/Shell
VS Code integrated terminal
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗