Permission 'don't ask again' not persisting across sessions
Resolved 💬 5 comments Opened Jan 26, 2026 by paolino Closed Mar 2, 2026
Description
When selecting "Yes, and don't ask again for [command] in [project]" during a permission prompt, the setting does not persist across sessions. Users are prompted again in each new session despite having the permission already saved in .claude/settings.local.json.
Steps to Reproduce
- Run a command that triggers a permission prompt (e.g.,
gh pr create) - Select "Yes, and don't ask again for gh pr create commands in /path/to/project"
- Verify the permission is added to
.claude/settings.local.json(it is) - Start a new Claude Code session
- Run the same command again
- Actual: Permission prompt appears again
- Expected: Command runs without prompting since permission is in settings file
Environment
- The permission
Bash(gh pr create *)is correctly present in.claude/settings.local.json - Issue persists across multiple sessions
Expected Behavior
Permissions saved via "don't ask again" should be respected in subsequent sessions when the pattern matches the command being run.
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗