Skip to content

Chat: It's easy to accidentally enable editing all sensitive files #297308

@joaomoreno

Description

@joaomoreno

Testing #297206

We have switched the default blue button to allow for the entire session:

Image

This is very dangerous, and comes with no disclaimer, unlike the /yolo experience. It's also very ambiguous since I don't know if I'm allowing Copilot to edit package.json in the session, or all sensitive files.

After allowing for the session I no longer get asked about any sensitive files:

Image

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugchatimportantIssue identified as high-prioritysecurity

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions