[Bug] Unnecessary File Reload During Continuation Causing Context Duplication
Resolved 💬 8 comments Opened Oct 16, 2025 by KJ7LNW Closed Jan 14, 2026
Bug Description
● Update(/some/file.md)
⎿ Error: File has not been read yet. Read it first before writing to it.
But this is a claude -c continuation. The file has not changed!
I realize the current state is not aware of it, but if the file has not changed, it should not force it to load it back into the context because it already exists in the context. Duplicating the context causes the models to perform poorly. So you need to be able to make sure that the content is actually different instead of just telling it to read the file because that is a bad practice.
Environment Info
- Platform: linux
- Terminal: vte-based
- Version: 2.0.8
- Feedback ID: b2703c8e-5baf-4187-a56a-ed0e574f009c
Errors
[]This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗