[BUG] Delegate mode hangs on prompt submission (v2.1.2
Resolved 💬 3 comments Opened Jan 9, 2026 by cpaumelle Closed Feb 23, 2026
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?
When defaultMode is set to delegate in settings.json, Claude Code hangs indefinitely after submitting a prompt. The UI shows the spinner (●) but no response is ever received.
What Should Happen?
- Claude Code version: 2.1.2
- OS: Ubuntu 24.04.3 LTS (running in Proxmox LXC container)
- Kernel: 6.17.4-2-pve
- Installation: Native (~/.local/bin/claude)
Error Messages/Logs
Expected Behavior
Claude should process the prompt and respond, with delegate mode allowing auto-approval of tool calls.
Actual Behavior
The UI hangs showing only the spinner (●). The process remains running (State: R, 15 threads) and is actively writing terminal escape sequences (UI redraws), but never makes API calls for the user's prompt.
Workaround
Change defaultMode to default in settings.json.
Steps to Reproduce
- Set
defaultModetodelegatein~/.claude/settings.json:
```json
"permissions": {
"defaultMode": "delegate"
}
- Start claude
- Type any prompt and press Enter
- Observe: spinner appears but no response is received
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.2
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗