Skip to content

Remote Control: permission prompt shown for hook-approved commands #32493

Description

@willfindlay

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

  1. Configure a PermissionRequest hook in .claude/settings.json that auto-allows certain Bash commands (e.g., read-only kubectl, helm, git commands)
  2. Start a session and connect via /remote-control
  3. Ask Claude to run a command that the hook auto-approves (e.g., kubectl get pods -n argocd)
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions