[BUG] (macos) keyboard shortcut for allow-once vs always-allow

Resolved 💬 1 comment Opened Apr 17, 2026 by r2evans Closed May 24, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Using macos, the desktop app will ask me to verify permission to access a file or run a program. With some actions, the keyboard shortcut Cmd-Enter will trigger "Allow once" logic; with other actions the same shortcut will trigger "Always allow" logic, and the button for "Allow once" is set to Cmd-Shift-Enter.

Related issues:

They tend to deal with "changing the default behavior", my argument here is that regardless of which is the default, the user should be able to rely on a specific keyboard shortcut to do the same thing.

I don't know if it's default macos behavior or if the desktop app is enabling/controlling it.

What Should Happen?

The keyboard shortcuts (e.g., Cmd-Enter and Cmd-Shift-Enter) should always to the same thing; if it is not relevant to do one of the actions, then that keyboard shortcut should not be assigned arbitrarily to the other (or _any_ other) action.

Error Messages/Logs

Steps to Reproduce

  1. Create a json file with an object
  2. Instruct the Claude desktop app to provide the top-level names within the file's json structure

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

1.2773.0 (884b37)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

As an example, I asked claude to provide the top-level names in a json file, this required both reading the file and then running a python script on it. In the first, the Cmd-Enter action is "Allow once" ...

<img width="1051" height="145" alt="Image" src="https://github.com/user-attachments/assets/2c013b98-145e-4bf5-9c3c-c63cabd779b0" />

and then ten seconds later the Cmd-Enter action is "Always allow"

<img width="1033" height="77" alt="Image" src="https://github.com/user-attachments/assets/ca420316-81cd-429b-b7fd-d64b5c18ea41" />

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗