Skip to content

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

Description

@harvey-elaine

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:permissionsbugSomething isn't workinghas reproHas detailed reproduction stepsplatform:windowsIssue specifically occurs on WindowsstaleIssue is inactive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions