Task tool causing infinite scroll in version 2.0.24
Bug Report
Version: Claude Code 2.0.24
Issue: Task tool and subagents are causing infinite scroll behavior
Description
When invoking the Task tool (with any subagent_type), the output creates infinite scrolling in the interface. This prevents normal interaction and makes subagents unusable.
Steps to Reproduce
-
Use Task tool with any subagent:
Task( subagent_type="general-purpose", description="Test task", prompt="Simple test prompt" ) -
Observe infinite scrolling output
Expected Behavior
Task tool should:
- Execute subagent
- Return results in bounded output
- Allow normal conversation flow to continue
Actual Behavior
- Interface enters infinite scroll state
- Output continuously scrolls
- Makes further interaction difficult/impossible
Impact
- Subagents are currently unusable
- Task tool cannot be used reliably
- Blocks workflows that depend on multi-step agent coordination
Additional Context
- This issue was NOT present in earlier versions
- Version was recently upgraded from previous stable version
- Issue affects ALL subagent types (general-purpose, Explore, code-refactorer, etc.)
Environment
- OS: Linux (WSL2)
- Claude Code Version: 2.0.24
- Platform: CLI
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/10002
- https://github.com/anthropics/claude-code/issues/2118
- https://github.com/anthropics/claude-code/issues/8618
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with Claude Code
https://github.com/user-attachments/assets/32c81e2d-8c88-42b2-a8e1-5b8b2cb32040
It happens for the terminal version of claude code too. If I restart claude-code, it works for a few interactions, but eventually it tends to start scrolling infinitely again.
https://github.com/user-attachments/assets/39433585-1c6a-4083-837a-6ab30fb4c0f2
same issue here on macOS tahoe, claude code version 2.0.61
I have found that increasing the vertical size of the terminal window can stop it.