Claude forgets its own file operations within the same 1M context window

Resolved 💬 6 comments Opened Mar 27, 2026 by mahirbarut Closed May 29, 2026

Bug Description

Claude forgot file write operations it performed just seconds/messages earlier in the same conversation, within a fresh 1M context window.

Context

This is not an isolated incident. Yesterday, persistent memory loss issues occurred throughout the session. As a result, today all memory files were deleted and the application was updated to the latest version — hoping for a fresh start. Despite the update and clean slate, the same issue reappeared immediately.

Steps to Reproduce

  1. Start a fresh conversation (1M context, Opus 4.6) after a clean app update
  2. Ask Claude to delete old memory files and create new ones
  3. Claude confirms it created the files successfully
  4. A few messages later, Claude reads the same file and says "I haven't cleaned these yet" — contradicting its own previous actions

Expected Behavior

Claude should remember all operations performed within the same context window, especially when no compaction has occurred.

Actual Behavior

Claude treated its own completed file operations as if they never happened. No context window overflow, no compaction — just a fresh session with minimal message exchange.

Environment

  • Claude Code CLI (updated to latest version today)
  • Model: Opus 4.6 (1M context)
  • No compact was triggered
  • Conversation was early stage (< 15 messages)

🤖 Generated with Claude Code

View original on GitHub ↗

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