You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incorrect warning "The model wants to edit files outside of your workspace" #276392
Selected model (e.g. GPT 4.1, Claude 3.7 Sonnet): Claude Sonnet 4.5
Logs: 🤷
Steps to Reproduce:
Ask for changes in the workspace
Notice how on each existing file change, the chat will prompt with this warning:
Allow edits to sensitive files?
The model wants to edit files outside of your workspace (lib/widgets/generic_table_viewer.dart). Do you want to allow this?
Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
For Copilot Issues, be sure to visit our Copilot-specific guidelines page for details on the necessary information.
Activity
pordyna commentedon Nov 10, 2025
I'm having the same issue on:
connor4312 commentedon Nov 11, 2025
Is your workspace in a symlinked folder?
vs-code-engineering commentedon Nov 11, 2025
Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
For Copilot Issues, be sure to visit our Copilot-specific guidelines page for details on the necessary information.
Happy Coding!
gabriel-r commentedon Nov 12, 2025
No, it's a plain folder project.
connor4312 commentedon Nov 12, 2025
Can you please
realpath <folder>where<folder>is your workspace folderrealpath <file>where<file>is a file for which you see the warning forand let me know the results. Thanks!
gabriel-r commentedon Nov 14, 2025
I ran the commands, and received the same path in response.
connor4312 commentedon Nov 14, 2025
Can you please share the paths that you saw?
gabriel-r commentedon Nov 14, 2025
josh11s commentedon Nov 27, 2025
got the same issue from yesterday. I worked well before..
Alternativily, from codespace i can use copliot.
gabriel-r commentedon Nov 27, 2025
The issue is no more as of yesterday. Go figure 😐
connor4312 commentedon Nov 28, 2025
Thanks for confirming, this was probably addressed by one of the fixes I includedin 1.106. Let me know if you see it again.