Skip to content

Bash tool stuck at 'Waiting...' - permission prompt not displayed #62292

Description

@phpmac

Bug Description

When Claude Code attempts to execute a Bash command that requires user permission approval, the UI shows "Waiting..." but never displays the permission prompt. The user cannot approve or deny the command, and the tool remains stuck indefinitely.

Reproduction Steps

  1. Claude Code attempts to run a Bash command (e.g., mv tmp_*.py _archive/)
  2. The tool call shows "Waiting..." status in the UI
  3. No permission approval prompt appears
  4. The tool remains stuck for extended periods (observed 18+ minutes)
  5. No timeout or error is triggered

Environment

  • macOS Darwin 25.5.0
  • Claude Code CLI (terminal)
  • Shell: fish

Expected Behavior

The permission prompt should appear immediately when a Bash command requires approval, allowing the user to approve/deny the action. If the prompt cannot be displayed, the tool should timeout after a reasonable period (e.g., 30 seconds) rather than hanging indefinitely.

Actual Behavior

Permission prompt never appears, tool hangs at "Waiting..." indefinitely with no timeout.

Impact

  • User cannot proceed with the task
  • No feedback on why the tool is stuck
  • No way to recover without interrupting the session

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