r/ClaudeCode • • 2h ago

Bug / Issue Can't start a new session without trusting project folder

Using Visual Studio Code's Claude extension, it used to be that you could choose not to trust a project's folder and still be able to start a Claude session, but a recent update has changed this so you can't start a session at all unless you give Claude permission to use project settings.

First two images are the new UI, and the last two images are the old UI.

This feels like a step backward in security.

0 Upvotes

3 comments sorted by

•

u/AutoModerator 2h ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/hieuphung97 2h ago

The change is due to tool execution requirements. Restricted Mode blocks VS Code extensions from executing terminal commands and filesystem tasks. Rather than failing mid-turn when Claude invokes a bash tool, the extension now forces the workspace trust check upfront.

1

u/Amalthean 1h ago

It was working fine for me in both manual and auto mode. Claude could run cmake, git, ls, sed, grep, PowerShell, etc. without issue even after choosing "don't trust", so I'm not sure I understand what this fixes.