[BUG] WorkspaceTrustError: trust dialog never appears in desktop app Code tab, blocking all 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 I try to start any session in the desktop app's Code tab, I immediately get this error:
WorkspaceTrustError: Workspace requires trust approval before starting a session.
The trust approval dialog never appears in the UI, so there is no way to grant trust. This blocks all use of the Code tab — every folder I try (existing folders, brand new empty folders, different drives) gives the same error. The dialog simply never renders.
This is the desktop app on Mac (Claude.app, Code tab), not the CLI.
What Should Happen?
A trust dialog should appear when starting a session in a new folder, asking "Do you trust the files in this folder?" with Yes/No options. After clicking Yes, the session should start normally and the trust decision should be remembered for that folder.
Error Messages/Logs
WorkspaceTrustError: Workspace requires trust approval before starting a session.
Steps to Reproduce
- Open Claude desktop app on Mac
- Click the "Code" tab at the top
- Click "+ New session" in the left sidebar
- Click "Select folder..." at the bottom and choose any folder (I tried multiple: ~/Documents/Catherine Assets, a brand new empty folder on Desktop, etc.)
- Type any message (e.g., "hello") in the message box
- Press Enter
Result: Error appears immediately. WorkspaceTrustError: Workspace requires trust approval before starting a session. The trust dialog never appears at any point in this flow.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
1.8555.2 (Claude desktop app, Code tab — not CLI)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
IMPORTANT: This bug is in the Claude desktop app's Code tab, NOT the CLI. Most existing trust-related issues and standard troubleshooting docs reference the CLI version, which behaves differently.
Troubleshooting Already Completed (none resolved the issue)
- Updated Claude to v1.8555.2 via in-app update button
- Quit app fully (Cmd+Q) and reopened multiple times
- Signed out and signed back in
- Tried multiple folders:
- ~/Documents/Catherine Assets (existing folder with content)
- Brand new empty folders created on Desktop ("claude test", "claude workspace")
- Selecting via "Open folder..." picker
- Reset config files via Terminal:
- mv ~/.claude.json ~/claude-backup.json
- mv ~/.claude ~/claude-folder-backup
- Full clean reinstall:
- Deleted Claude.app from /Applications
- Emptied Trash
- rm -rf ~/Library/Application\ Support/Claude
- rm -rf ~/Library/Caches/Claude
- rm -rf ~/Library/Preferences/com.anthropic.claude*
- Downloaded fresh installer from claude.ai/download
- Signed in fresh
- Unlocked Keychain: security unlock-keychain ~/Library/Keychains/login.keychain-db
The trust dialog still never appears after any of these steps. Error is instant on any folder.
Support Ticket
Already opened with Anthropic support. The Fin AI Agent provided only CLI-specific troubleshooting that doesn't apply to the desktop app.
Account
Plan: Max
Email: dikshaa.singhal@gmail.com
Screenshot of the error attached.
<img width="1568" height="464" alt="Image" src="https://github.com/user-attachments/assets/89cbee77-2a29-49b2-9d23-24ccd036d3b6" />
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗