Assistant response re-rendered after turn ends without user input (Opus 4.7)
Resolved 💬 4 comments Opened Apr 22, 2026 by tavoletta Closed Jun 17, 2026
Description
After the assistant finishes a turn, its response is re-rendered in the terminal without any user input. The duplicated block includes the status header ([Opus 4.7] <cwd>, ▶▶ accept edits on (shift+tab to cycle)) followed by the full response content repeated below the original. This did not happen before switching to Opus 4.7.
Environment
- Claude Code version: 2.1.117
- Model: Opus 4.7 (via Bedrock)
- Platform: macOS (Darwin 25.4.0)
- Shell: zsh
- Terminal: iTerm2
Relevant settings (sanitized):
{
"model": "us.anthropic.claude-opus-4-7",
"env": {
"CLAUDE_CODE_USE_BEDROCK": "1",
"ANTHROPIC_MODEL": "us.anthropic.claude-opus-4-7"
}
}
Steps to reproduce
- Start a session with Opus 4.7 on Bedrock
- Send any prompt
- Wait for the response to complete
- Observe: the response is re-rendered below itself without pressing any key or submitting input
Expected behavior
Response is rendered once at end of turn; the CLI waits for user input.
Actual behavior
Response appears twice in the scrollback: first as the normal turn output, then repeated below with the status banner above the duplicate.
Notes
- Did not occur on Opus 4.6.
- No custom UserPromptSubmit / Stop / SessionStart hooks are configured.
- Existing PreToolUse / PostToolUse hooks do not print to stdout.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗