[Bug] CLI permission prompt combines multiple commands unclear, requests permission for combined glob pattern instead of individual commands

Resolved 💬 3 comments Opened Feb 23, 2026 by pkamppur Closed Feb 27, 2026

Bug Description
I'd really like that CC wouldn't combine CLI commands funnily and then ask for permissions for "sleep *" when the command is in fact "sleep 10 && do-something-totally-different". why can't it ask one by one. i don't know how this actually works, but i have very low confidence that the app is asking for the correct permissions. or ask permissions for all the commands at once ,that would signal to me that CC understands there are different commands being run. this shoudl be an easy to task to understand and split the CLI command to the components and manage permissions for them separately. OTOH, future is skip-dangerously and fully autonomous agents in containers (or something).

I'm not sure if this is just a visual communication problem or an actual bug in how Claude Code asks for permissions and checks what command it is actually trying to run.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.50
  • Feedback ID: c85e77e9-9801-4315-84ef-64466ddb9a12

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/pkamppur/.local/share/claude/versions/2.1.50 (expected in multi-process scenarios)\n    at OzR (/$bunfs/root/claude:2600:2098)\n    at SbA (/$bunfs/root/claude:2600:1209)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-23T16:30:05.991Z"}]

View original on GitHub ↗

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