Opus 4.6 (1M) loses track of its own actions within seconds in fresh context
Resolved 💬 3 comments Opened Mar 26, 2026 by mahirbarut Closed Apr 25, 2026
Bug Description
In a fresh 1M context window (nearly empty, ~200-300 tokens of actual work done), Opus 4.6 lost track of actions it performed seconds earlier.
Steps to Reproduce
- Open a fresh conversation with Opus 4.6 (1M context)
- Model was given a task list (11 topics to create as HTML files)
- Topics 1-2 were already completed from a previous session
- Model ran
mkdirto create an empty directory for topic 5 - Immediately after, model ran
lson the parent directory - Model saw 5 directories (2 with files, 3 empty — including the one it just created)
- Model concluded topics 1-4 were "already done" and wanted to skip to topic 5
- It could not recall that it had just created that empty directory itself, seconds ago
Expected Behavior
The model should be able to track its own actions within the same context window, especially when the window is nearly empty.
Actual Behavior
- Model forgot its own
mkdircommand from seconds earlier - Treated empty directories (that it created) as evidence of completed prior work
- Skipped 3 tasks that were not actually done
- This happened in a 1M context window with minimal content — not a context limit issue
Environment
- Model: Claude Opus 4.6 (1M context)
- Tool: Claude Code CLI
- Platform: macOS
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗