[BUG] allow suggestion for command runner leaves out the actual command allowing free or all run (in my case uv)

Resolved 💬 3 comments Opened Jun 20, 2025 by RonnyPfannschmidt Closed Jan 5, 2026

Environment

  • Claude CLI version: 1.0.30
  • Operating System: Fedora 42
  • Terminal: Gnome Terminal

Bug Description

when using command runners like uv run somescript claude keeps sugesting to allow to run uv run * when it should be more specific and only suggest to always allow run somescript

Steps to Reproduce

! uv init --no-project
! uv add rich
> create a script using rich that prints the current time colored, run it with uv

Expected Behavior

╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Bash command                                                                                                                                   │
│                                                                                                                                                │
│   uv run colored_time.py                                                                                                                       │
│   Run the colored time script with uv                                                                                                          │
│                                                                                                                                                │
│ Do you want to proceed?                                                                                                                        │
│ ❯ 1. Yes                                                                                                                                       │
│   2. Yes, and don't ask again for uv run colored_time.py commands in /var/home/ronny/Projects/demo                                                             │
│   3. No, and tell Claude what to do differently (esc)                                                                                          │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Actual Behavior

╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Bash command                                                                                                                                   │
│                                                                                                                                                │
│   uv run colored_time.py                                                                                                                       │
│   Run the colored time script with uv                                                                                                          │
│                                                                                                                                                │
│ Do you want to proceed?                                                                                                                        │
│ ❯ 1. Yes                                                                                                                                       │
│   2. Yes, and don't ask again for uv run commands in /var/home/ronny/Projects/demo                                                             │
│   3. No, and tell Claude what to do differently (esc)                                                                                          │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Additional Context

<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗