claude-code - 💡(How to fix) Fix Focus mode hides substantive assistant messages, not just tool output [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#50894Fetched 2026-04-20 12:10:09
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Author
Participants
Timeline (top)
labeled ×2

Root Cause

Severity is high because of the invisible case — the user can't report what they didn't see, and important context is lost without any signal.

RAW_BUFFERClick to expand / collapse

Focus mode hides all assistant text emitted between tool calls. Per the v2.1.97 release notes, the intent is to hide verbose tool logs and intermediate reasoning. The problem: the model doesn't distinguish "status update between tool calls" from "direct answer to the user," so substantive content gets suppressed the same way.

This happens frequently, not rarely. You can sometimes catch it in the grayed-out text that briefly appears and then disappears while Claude works in the background — messages you were meant to read, gone in a flash. There is no way to recover them short of toggling focus off mid-session.

Two failure modes

Visible: I ask a question. Claude answers between tool calls while doing follow-up work. The answer is hidden. I ask a related follow-up. Claude replies "I already answered that above." I never saw the answer.

Invisible (worse): Claude relays a warning, caveat, or finding between tool calls. It gets hidden. I have no idea it was ever said. Silent information loss with no way to know what I missed.

Severity is high because of the invisible case — the user can't report what they didn't see, and important context is lost without any signal.

Suggested fixes, ranked

  1. Don't hide assistant text at all in focus mode. Only hide tool calls and tool results. This matches what focus mode is described as doing.
  2. If hiding stays, show a persistent "N hidden messages" indicator the user can expand. The current brief gray flash is not discoverable.
  3. Strengthen the system prompt so the model never emits substantive content between tool calls, only in the final message. Less reliable than a UI fix.

Environment

Claude Code v2.1.97+, focus view enabled.

extent analysis

TL;DR

The most likely fix is to modify the focus mode behavior to only hide tool calls and tool results, rather than all assistant text emitted between tool calls.

Guidance

  • Review the current implementation of focus mode in Claude Code v2.1.97+ to understand how it distinguishes between tool calls and substantive content.
  • Consider adding a persistent indicator to show the number of hidden messages, allowing users to expand and view the content.
  • Evaluate the feasibility of strengthening the system prompt to prevent the model from emitting substantive content between tool calls.
  • Test the suggested fixes to ensure they address both visible and invisible failure modes.

Example

No code snippet is provided as the issue does not contain specific code references.

Notes

The suggested fixes may have varying degrees of reliability and effectiveness, with UI fixes potentially being more robust than relying on system prompt modifications.

Recommendation

Apply workaround: Modify the focus mode behavior to only hide tool calls and tool results, as this directly addresses the root cause of the issue and is the top-ranked suggested fix.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Focus mode hides substantive assistant messages, not just tool output [1 participants]