r/GithubCopilot • u/MaitoSnoo CLI Copilot User 🖥️ • 23d ago
Help/Doubt ❓ Assisted Permissions in VS Code keeps flagging read accesses in the current workspace
I ask it to do a certain task in the current workspace, so at some point for example the agent decides it needs to read the documentation that also lives in this workspace. That's perfectly fine for me. However, the LLM judge of the "assisted permissions" immediately stops it and asks for my permission, saying that "reading documentation is outside the requested scope". WTH?
Why is that even flagged? What's even the security risk of reading repo-local docs?
I've had this many times with read accesses in my repo. For example even reading the build script gets flagged, in that case I get "Unrelated QA script read lacks delegated task authority". Why does it even judge whether it's related or not?
What I noticed in the JSON it showed me was that the path was absolute, maybe it was because of that?
It also blocks adding `--no-check-unused-templates` to `cppcheck` by falsely claiming it "disables static analysis coverage for this invocation".
I'm using WSL 2.
View all comments
3
u/magagaga 22d ago
I have the same issue since the newest update. Did not check GitHub yet. Using local harness in the meantime while we still have it.