Description
After completing a task, Claude Code gets stuck in a phantom "Generating..." state. The UI shows it's working but consumes 0 tokens indefinitely.
Reproduction
- Work on a multi-step implementation task
- Claude completes all tasks and outputs a summary
- Status shows "Churned for Xm Ys" (in my case: 22m 13s)
- Then UI switches to "Generating... (esc to interrupt · 8m 22s · ↓ 0 tokens)"
- Token counter stays at 0, no progress is made
- User must press Esc to interrupt
Evidence from Session
● V9.57 Implementation Complete!
[... detailed summary of completed work ...]
✻ Churned for 22m 13s
✶ Generating… (esc to interrupt · 8m 22s · ↓ 0 tokens)
The "↓ 0 tokens" indicates nothing is actually being generated despite the UI claiming it is.
Expected Behavior
After completing a task and outputting a summary, Claude Code should:
- Return to the input prompt, OR
- Actually generate content if there's more to do
It should NOT hang in a "Generating..." state indefinitely with 0 token consumption.
Environment
- Claude Code CLI on Windows
- Model: claude-opus-4-5-20251101
- Session involved multi-step implementation with ~5 tasks
Impact
- Wastes user time waiting for "generation" that never happens
- Forces user to manually interrupt
- Unclear if any work was lost or if session state is corrupted after interrupt
Description
After completing a task, Claude Code gets stuck in a phantom "Generating..." state. The UI shows it's working but consumes 0 tokens indefinitely.
Reproduction
Evidence from Session
The "↓ 0 tokens" indicates nothing is actually being generated despite the UI claiming it is.
Expected Behavior
After completing a task and outputting a summary, Claude Code should:
It should NOT hang in a "Generating..." state indefinitely with 0 token consumption.
Environment
Impact