[BUG] Repeated output more than 50 times

Resolved 💬 3 comments Opened Apr 11, 2026 by projectconvoy Closed Apr 15, 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?

Prompt (exact):

▎ "Review the complete project codebase and tell me what is pending on the frontend work."

Output (high-level):
A structured frontend audit grouped by feature area — covering "coming soon" stubs, partially built features missing backend wiring, incomplete data flows,
and hardcoded mock data. The content quality was good.

Bug:
The response was printed to the terminal more than 50 times consecutively. The user expected a single response, as usual. The content was not streamed or
paginated — it was the same complete response block, duplicated 50+ times.

Technical context:

  • Model: claude-sonnet-4-6
  • Interface: Claude Code CLI (terminal)
  • The response was generated by the main agent, which had delegated research to an Explore subagent. The subagent returned its findings once; the main agent

then summarized them. The repetition occurred in the main agent's final output to the terminal.

  • Platform: macOS (darwin 25.3.0), shell: zsh

What Should Happen?

One output per query

Error Messages/Logs

No

Steps to Reproduce

Unknown

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

v2.1.101

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No hooks that could cause repetition on my end.

View original on GitHub ↗

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