Description
When using Claude Code in remote control mode, commands that are auto-approved by a PermissionRequest hook still show a permission prompt on the remote control client. The command does execute (the hook works), but the prompt appears anyway, which is confusing and creates unnecessary friction.
Reproduction
- Configure a
PermissionRequest hook in .claude/settings.json that auto-allows certain Bash commands (e.g., read-only kubectl, helm, git commands)
- Start a session and connect via
/remote-control
- Ask Claude to run a command that the hook auto-approves (e.g.,
kubectl get pods -n argocd)
- The command executes successfully, but the remote control client still shows a permission prompt for it
Expected behavior
If a PermissionRequest hook returns {"decision": {"behavior": "allow"}}, no permission prompt should be shown on the remote control client.
Actual behavior
The permission prompt appears on the remote control client even though the hook already approved the command. The command runs regardless, making the prompt purely cosmetic but confusing.
Environment
- Claude Code version: latest (as of 2026-03-09)
- Platform: Linux (WSL2)
- Remote control client: Claude iOS app
Description
When using Claude Code in remote control mode, commands that are auto-approved by a
PermissionRequesthook still show a permission prompt on the remote control client. The command does execute (the hook works), but the prompt appears anyway, which is confusing and creates unnecessary friction.Reproduction
PermissionRequesthook in.claude/settings.jsonthat auto-allows certain Bash commands (e.g., read-onlykubectl,helm,gitcommands)/remote-controlkubectl get pods -n argocd)Expected behavior
If a
PermissionRequesthook returns{"decision": {"behavior": "allow"}}, no permission prompt should be shown on the remote control client.Actual behavior
The permission prompt appears on the remote control client even though the hook already approved the command. The command runs regardless, making the prompt purely cosmetic but confusing.
Environment