[BUG] Claude code session stuck in "The user wants me to:" mode
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
I was in a Claude code session and asked Claude to add comments to specific parts of the code in a lua file. The session got stuck in the "The user wants me to:" thinking mode and I am unable to exit that state with the stop button, by exiting and re-entering the session on the same or another android device, or by force stopping the Claude app or clearing the app cache.
What Should Happen?
I should be able to stop claude from thinking and input a new prompt
Error Messages/Logs
Steps to Reproduce
Start a Claude code session on Android Claude app and connect to a GitHub repo...
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
25121547
Platform
Anthropic API
Operating System
Other
Terminal/Shell
Other
Additional Information
Submit this report at: https://github.com/anthropics/claude-code/issues/new
---
Title
[BUG] Android app stuck in "The user wants to..." thinking mode - unresponsive stop button (GitHub private repo)
Platform
- Device: Android Tablet
- Android Version: 12
- App: Claude mobile app (Android)
- Session Type: Claude Code with GitHub integration
- Repository Type: Private GitHub repository
Description
Claude Code session becomes permanently stuck at the initial thinking phase, displaying "The user wants to..." message with an animated Claude icon. The session remains frozen indefinitely (10-15+ minutes tested) with no progress or recovery possible.
Steps to Reproduce
- Connected Claude Code session to a private GitHub repository (Neovim Lua plugin)
- Requested Claude to add comments to specific parts of code in a Lua file
- Session entered "The user wants to..." thinking phase
- Session never progressed beyond this initial thinking stage
Expected Behavior
- Session should complete the thinking phase and proceed to implementation
- OR stop button should allow cancellation if taking too long
- User should be able to interact with and recover the session
Actual Behavior
- Session stuck displaying "The user wants to..." with animated Claude icon
- Remains frozen for 10-15+ minutes with no progress
- Stop button in prompt area is completely unresponsive to taps
- Leaving the session and returning shows the same frozen state
- Session persists in frozen state even after force closing the app
- Session is completely unrecoverable
Attempted Workarounds (All Failed)
- ✗ Tapping stop button multiple times - no effect
- ✗ Force closing app (Settings → Apps → Claude → Force Stop) - session still frozen on reopen
- ✗ Clearing app from recent apps and reopening - session still frozen
- ✗ Leaving and re-entering the session multiple times - no change
Impact
- Severity: High - Session completely unusable and unrecoverable
- Had to abandon the stuck session and create a new chat to report this issue
- Unable to continue work on the repository
- Potential loss of conversation context
Additional Context
- This appears to be a server-side issue, as local app restarts have no effect
- The stuck state persists across app closures, suggesting the session is frozen on Anthropic's backend
- The specific request was relatively simple (adding code comments), not a complex multi-file operation
Possibly Related Issues
This may be related to known issues with Claude Code sessions becoming unresponsive:
- #13188 - Sessions become unresponsive after upgrade to 2.0.60 (suspected background agent blocking)
- #13224 - Claude Code hangs or freezes during execution with no recovery mechanism
- #9562 - Thinking throbber gets stuck in infinite refresh loop
- #3767 - Infinite Loop or Unresponsive Execution in Claude Code CLI
However, those issues were primarily reported on desktop CLI versions. This is occurring on Android mobile app, suggesting the bug may affect multiple platforms.
Environment Details
Platform: Android 12 (Tablet)
App: Claude mobile app
Session: Claude Code (GitHub integration)
Repository: Private GitHub repository
File Type: Lua (.lua)
Request Type: Code commenting (add comments to specific parts of code)
Reproduction Frequency
- First time experiencing this issue (reporting single occurrence)
- Unable to test reproduction as session is stuck
Request for Claude Team
- Can you investigate what causes sessions to hang at the "The user wants to..." phase?
- Is there a server-side timeout mechanism that should kick in but isn't?
- Can the stop button be made more robust to force-cancel stuck sessions?
- Is there a way to recover stuck sessions without abandoning them?
- Should there be a client-side timeout that detects and handles this condition?
---
Created: 2025-12-19
Reported by: [gerardvt]
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗