[BUG] Permission preferences not persisting across sessions
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?
When clicking "Yes, and don't ask again" on permission prompts in
Claude Code, the preference is only saved for the current session.
After closing and reopening Claude Code, the same permission
prompts appear again instead of remembering the choice.
What Should Happen?
Permission preferences selected with "don't ask again" should be
persisted to disk and remembered across multiple Claude Code
sessions. Once a user approves a permission with "don't ask
again," that tool should work without prompting again in future
sessions.
Error Messages/Logs
Steps to Reproduce
- Open Claude Code
- Perform an action that triggers a permission prompt (e.g., running a Bash command or file operation)
- Click "Yes, and don't ask again" button
- Close Claude Code completely
- Open Claude Code again
- Perform the same action
- Expected: Permission prompt does not appear
- Actual: Permission prompt appears again
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.37 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
Investigation found that there is no permissions.json or similar configuration file in ~/.claude/ that stores permission preferences. The ~/.claude/ directory is writable and accessible.
The absence of any persistent permission storage suggests permission choices are currently only maintained in memory during the session and are lost when the process closes.
This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗