[BUG] Explore sub-agent infinite read loop on single file — never completes (v2.1.89, Windows)
Resolved 💬 3 comments Opened Apr 1, 2026 by ThatDragonOverThere Closed May 9, 2026
Summary
The Explore sub-agent enters an infinite read loop when asked to read a single planning file, never completing the task. Observed twice in the same session, at 12m 15s and 15m+ (manually killed).
Reproduction
- Open a session on v2.1.89 (Windows)
- Prompt:
Read this "path/to/file.md" - Claude spawns an Explore sub-agent
- Explore sub-agent reads the same file 9+ times (visible in collapsed tool output)
- Session counter climbs past 12 minutes, then 15 minutes
- Token count freezes (16k tokens, not growing) — agent is spinning, not making progress
- Task must be killed manually with Escape
Tool output observed
Explore(Read and summarize BEACH_ORDERS.md)
Read(.claude\plans\BEACH_ORDERS.md)
Read(.claude\plans\BEACH_ORDERS.md)
Read(.claude\plans\BEACH_ORDERS.md)
+6 more tool uses (ctrl+o to expand)
Duration: 15m 5s · ↓ 16.0k tokens (frozen)
Expected behavior
Read a ~200-line planning file and return a summary in under 30 seconds.
Additional context
- This session had just upgraded from v2.1.87 to v2.1.89 (upgrade was the first action)
- v2.1.89 changelog claims 'Fixed nested CLAUDE.md files being re-injected dozens of times' — the re-injection bug may be contributing, but this specific pattern (9+ reads of the same non-CLAUDE.md file, frozen token counter, never-completing) appears to be distinct
- Related: #34992 (contradictory Explore sub-agent instructions)
- Related: #24585 (Opus 4.6 explore/thinking loops)
- OS: Windows, plan: Max
Workaround
None — must kill the agent with Escape. Re-prompting reproduces the same behavior.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗