[BUG] Too aggresive file and tool output caching/memory

Resolved 💬 3 comments Opened Oct 26, 2025 by iirekm Closed Oct 30, 2025

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?

When I use prompts like Do tasks in tasks.md file or Do tasks in TODO comments in modified files as indicated by git status command, Claude Code often ignores the recent changes, despite e.g. running cat tasks.md or git status shows them (i.e. it's the Claude overcaching something, not editor delaying saving).
Restarting claude session doesn't help, only waiting some time seems to work.

What Should Happen?

Files should be re-read, git status should be re-run.

Error Messages/Logs

Steps to Reproduce

as above

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.27 (Claude Code)

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗