Claude forgets its own file operations within the same 1M context window
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
- Start a fresh conversation (1M context, Opus 4.6) after a clean app update
- Ask Claude to delete old memory files and create new ones
- Claude confirms it created the files successfully
- 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
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗