[BUG] Folder trust prompt reappears on every session despite previously accepting
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?
The "Is this a project you created or one you trust?" safety prompt appears every
time Claude Code is launched, even after selecting "Yes, I trust this folder" in a
previous session.
What Should Happen?
Expected behavior: Trust decision persists across sessions for the same directory.
Error Messages/Logs
Actual behavior: Prompt shown on every launch.
Steps to Reproduce
Steps to reproduce:
- Launch Claude Code in C:\Users\<username> (home directory, non-git repo)
- Select "Yes, I trust this folder"
- Close and relaunch Claude Code in the same directory
- Prompt appears again
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
Environment: - OS: Windows 11 Home 10.0.26200 - Shell: bash (Git Bash) - Working directory: home directory (C:\Users\MikLe) — not a git repo - skipDangerousModePermissionPrompt: true is set in ~/.claude/settings.json - Project key C--Users-MikLe exists in ~/.claude/projects/
Claude Code Version
2.1.114 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗