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

  1. Run a command that triggers a permission prompt (e.g., gh pr create)
  2. Select "Yes, and don't ask again for gh pr create commands in /path/to/project"
  3. Verify the permission is added to .claude/settings.local.json (it is)
  4. Start a new Claude Code session
  5. Run the same command again
  6. Actual: Permission prompt appears again
  7. 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.

View original on GitHub ↗

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