[BUG] Workspace trust dialog asks on every session startup, doesn't persist acceptance

Resolved 💬 5 comments Opened Apr 5, 2026 by harvey-elaine Closed Jun 12, 2026

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?

Every time I start an interactive Claude Code session in my home directory (C:\Users\harve), I'm prompted to confirm
whether I trust that directory. Clicking "yes" has no effect — it asks again the next session.

Expected behavior: Accepting the workspace trust dialog should persist the answer so it doesn't prompt again for the
same directory.

What Should Happen?

Actual behavior: The dialog reappears on every startup regardless of previous acceptance.

Error Messages/Logs

Steps to Reproduce

Start claude and it asks whether the home directory should be trusted.
Choose Yes
Quit and restart ClaudeCLI.
It asks again.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.92

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

Environment:

  • Platform: Windows 11
  • Claude Code version: 2.1.92
  • Shell: bash

View original on GitHub ↗

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