Skip to content

[BUG] Workspace trust not persisted between sessions + remote-control fails (Windows/Git Bash) #50427

Description

@shin729

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?

Workspace trust dialog appears every session even after accepting, and claude remote-control fails with "Workspace not trusted" error.

What Should Happen?

Workspace trust should be persisted after first acceptance, and claude remote-control should work without requiring re-acceptance every session.

Error Messages/Logs

Steps to Reproduce

  1. Open Git Bash (MINGW64) on Windows
  2. Run claude in C:\Users\biets
  3. Accept the workspace trust dialog
  4. Exit claude
  5. Run claude again in the same directory
  6. Trust dialog appears again (trust was not saved)
  7. Run claude remote-control --name "xxx" → fails with "Workspace not trusted" error

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

v2.1.112

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions