[BUG] Claude should interrupt user to help it search after X minutes (I found it searching for >10 minutes)

Resolved 💬 4 comments Opened Apr 29, 2025 by walt93 Closed Nov 30, 2025

Environment

  • Platform (select one):
  • [x] Anthropic API
  • Claude CLI version: 0.2.61
  • Operating System: macOS 15.3
  • Terminal: IntelJIdea

Bug Description

The model can get lost searching for things. I stepped away from the computer, came back and found it still searching for >=10 minutes and had to interrupt it.

Steps to Reproduce

  1. Ask Claude Code to modify some PHP code that it wrote
  2. I don't know how u can reproduce this exact issue w/o my project
  3. The session was fairly fresh, no context warnings

Expected Behavior

What I'd like to see? After some timeout, maybe 3 minutes? If the model can't find something,
ask the user for help. Ideally for it not to get lost in the woods like that.

Actual Behavior

Got back to the computer, observed the >10 minutes of searching for some HTML code, said "r u lost lil' buddy" and hit ESC

Additional Context

If it helps, here's Claude working through the problem until interrupted..

!Image

View original on GitHub ↗

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