You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues and this hasn't been reported yet
This is a single bug report (please file separate reports for different bugs)
I am using the latest version of Claude Code
What's Wrong?
The "Yes, and don't ask for again for ..." option in command approval prompt is not effective for certain commands.
In my case, the original prompt is Can you use "C:\Program Files\Python313\python.exe" to run a basic hello world script. After the approval, the same prompt keeps coming up.
Root cause appears to be incorrect "allow" rule generated -- see "Additional Information" below
What Should Happen?
The approval request no longer shows up after the initial one.
Error Messages/Logs
Steps to Reproduce
Put an executable in a folder with space. Python/Node.js installed to "Program Files" would be ready to go.
Ask Claude Can you use "C:\Program Files\Python313\python.exe" to run a basic hello world script or similar
Choose "Yes, and don't ask again for: C:\Program Files\Python313\python.exe *"
Ask Claude "try again"
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
2.1.218
Platform
AWS Bedrock
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
Claude created a settings.local.json with the following "allow" rule:
Preflight Checklist
What's Wrong?
The "Yes, and don't ask for again for ..." option in command approval prompt is not effective for certain commands.
In my case, the original prompt is
Can you use "C:\Program Files\Python313\python.exe" to run a basic hello world script. After the approval, the same prompt keeps coming up.Root cause appears to be incorrect "allow" rule generated -- see "Additional Information" below
What Should Happen?
The approval request no longer shows up after the initial one.
Error Messages/Logs
Steps to Reproduce
Can you use "C:\Program Files\Python313\python.exe" to run a basic hello world scriptor similarC:\Program Files\Python313\python.exe *"Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
2.1.218
Platform
AWS Bedrock
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
Claude created a
settings.local.jsonwith the following "allow" rule:However, Claude suggested modifying it to
which indeed stopped introducing further prompts.