[BUG] File added without consent to context
Resolved 💬 3 comments Opened Apr 9, 2026 by nostradam Closed Apr 13, 2026
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?
Hello,
I'm going crazy with this, each tab that I open there are random files included in my messages. When I click the eye icon they reappear when I open new tabs. All my context is poisoned, sometimes files attached are 10,000 lines !!!!!!!!!! I want a way to permanently remove these files.
Thanks
What Should Happen?
There shouldn't be a file attached without my consent.
Error Messages/Logs
Steps to Reproduce
<img width="1030" height="143" alt="Image" src="https://github.com/user-attachments/assets/50a4eacd-379b-440c-a0ab-1801f77a3eea" />
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
latest
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗