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.
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
gh pr create).claude/settings.local.json(it is)Environment
Bash(gh pr create *)is correctly present in.claude/settings.local.jsonExpected Behavior
Permissions saved via "don't ask again" should be respected in subsequent sessions when the pattern matches the command being run.