Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: The "Worked for …" fold eats every assistant message except the last one #7529

Closedrubywwwilde(GitHub profile, opens in a new tab) opened this issue 0 comments

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

  1. Ask an agent (I verified with Claude and Codex) to do anything multi-step.
  2. Mid-turn, between tool calls, the agent writes you something. Like a warning, a finding, any info it wants you to read.
  3. It runs a few more tools, then closes with a short final message that builds on what it said earlier.
  4. As the turn ends, all the responses get hidden except the latest one.

Expected behavior

Only the tool activity folds behind "Worked for …". Everything the agent said stays on screen, in order.

The fold was implemented* because tool calls often are irrelevant. So expected behaviour is:

  • Tool calls are hidden
  • Agent response is shown

This is important because agent could ask relevant questions at the start of the response, and then it get's hidden under the chevron. Agent expects that everything it writes as text is seen by you.

Actual behavior

When the turn settles, every assistant message except the last one collapses behind the "Worked for …" row, together with the tool activity. Anything the agent wrote between tool calls is hidden until you expand a row whose label only promises tool timing.

Verified with Claude and Codex; the more the provider narrates between tool calls, the more content disappears. The mobile app behaves the same way.

The attached screenshots show a staged repro:

[screenshot 1: settled timeline — final message pointing at a warning that isn't visible]

Image

[screenshot 2: same turn expanded — the warning was inside the fold]

Image

Impact

Major degradation or frequent failure

Version or commit

v0.0.33

Environment

macOS Tahoe 26.5.2

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

I don't have a workaround, but here is some more info on this.

Some history, because it shows nobody decided this behavior.

#2451 (the original UI polish PR) introduced a completion divider ("Worked for 3m 11s" as a separator) plus showAssistantMeta, which limits the timestamp/copy chrome to a turn's terminal message. Cosmetics only; nothing was hidden. The one piece of design intent on record is t3dotgg's review comment: tool calls should be "not eye grabbing in general".

#3022 ported the messages-timeline part of #2451 (commit 1916ac6d5). Somewhere in the port, the divider became a fold, and the terminal-message exemption, built to gate metadata, got repurposed to gate visibility. deriveTurnFolds in apps/web/src/components/chat/MessagesTimeline.logic.ts hides every entry of a settled turn except the terminal assistant message (and, later, agent-spawn CTA rows). The fold-introducing PRs (#3022, #3101) received no human review comments at all; the only human discussion is on #2451, which predates the fold.

#3101 then copied the logic into apps/mobile/src/lib/threadActivity.ts (689a88204), bug included. It has survived every touch of the file since.

Fix direction (PR incoming hopefully soon): fold only work entries, anchor the fold row at the first hidden entry so it sits where the work actually was, and let every assistant message stay visible in place.

This is my first issue here. Please give me some feedback if anything is off with it.

Sign in to join this conversation.