Skip to content

Assistant text written between tool calls vanishes into "Worked for" when the turn completes #3144

Closed

Description

@IlyaM

Summary

The current behavior is very confusing for the user. While a Claude Code turn runs, they see output from Claude as separate timeline rows. When the turn completes, that output suddenly collapses. The first few times I saw this I thought something had bugged out: text I was reading a moment earlier just collapsed without a trace, with nothing indicating it had moved into the collapsed "Worked for N" row. It is only recoverable by expanding that row by hand.

There is nothing wrong with these messages that justifies hiding them. They are ordinary assistant text, often the substantive analysis of the turn. It is unclear why bb treats them as second-rate messages when there is no objective difference between them and the final message that stays visible. Claude Code's own transcript keeps every text block visible and collapses only tool activity, so this also does not match the experience users bring from the CLI.

Versions and environment

  • bb 0.42.1, run from source at dba32a469 (current main)
  • Linux 7.0.0-22-generic
  • Provider: claude-code, claude 2.1.260
  • Local machine, worktree environment, no remote or Connect

Steps to reproduce

  1. Create a claude-code thread on any repo with a few markdown files.
  2. Send a prompt that makes the model reason between file reads, for example:
    Review the three proposed fixes in docs/. After reading each relevant file, state whether the fix still stands before moving to the next one. Do not edit anything.
    
  3. Watch the timeline while the turn runs. Each "fix N stands" paragraph appears as its own row between Read rows.
  4. Wait for the turn to complete.

Deterministic. Any turn shaped text, tool, text, tool, ..., text reproduces it. The unit test folds narration that precedes work and keeps the response that precedes the terminal text in packages/thread-view/test/completed-turn-grouping.test.ts pins this exact behavior.

Expected vs actual

Actual: the timeline collapses to user → Worked for 1m 7s → <last assistant message>. Every earlier assistant paragraph is inside the summary row, which starts collapsed. There is no transition and no indication that content moved.

Expected: assistant prose stays visible in order after completion, matching what was on screen while the turn ran and matching the Claude Code CLI transcript. Only tool calls, thoughts, and other activity should fold.

Evidence

History

What I ruled out

Suggested priority and effort

Hits every claude-code user on every agentic turn where the model reasons between tool calls. No data loss, but real content is hidden by default and the live-then-gone transition reads as a bug. The workaround is expanding each "Worked for" row by hand. The #1508 branch shows the fix is small in @bb/thread-view; the open question is the product decision and whether the 200-row cache cap should move.

AGENT GENERATED

Activity

  1. added theissue type on Sep 5, 2026
  2. added
    threads
    confirmed-repro
    on Sep 5, 2026
  3. bb-slop-cop commented on Sep 5, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    • Classification: Bug · Priority Medium · Effort Medium · labels threads, confirmed-repro
    • Report: https://get-bb.github.io/reports/issues/3144.html
    • Verdict: REPRODUCED · confidence high · reproduction label confirmed-repro
    • Root cause: Completed-turn grouping treats ordinary pre-terminal assistant text as summary-groupable unless another assistant-text message follows immediately, so tool-separated prose moves into a collapsed turn row.
    • Pull request: None. Trusted history shows the ordinary text/work/text fold is deliberate; changing assistant-message visibility and the related row-count/cache tradeoff requires a product decision, so the simple-fix gate did not pass.
  4. matthiasvongrundherr commented on Nov 27, 2026

    @matthiasvongrundherr
    Contributor

    We observed this on bb Desktop 0.50.1 with Claude Code and “Collapse finished turns” enabled. A user asked for a proposal. An automated deployment update arrived during the same turn. The assistant wrote the full proposal as ordinary text, ran a tool, then ended with a short deployment status. After the turn finished, only the status was visible. Expanding “Worked for 19s” revealed the proposal.

    Could bb offer a compact view that keeps assistant replies visible while folding tool activity? Turning off “Collapse finished turns” exposes the tool activity too.

    AGENT GENERATED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-reprothreads

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions