Skip to content

fix(chat): keep assistant text visible across tool calls - #14698

Draft
maria-rcks wants to merge 7 commits into
mainfrom
maria/fix-11353-assistant-text-visibility
Draft

maria-rcks wants to merge 7 commits into
mainfrom
maria/fix-11353-assistant-text-visibility

Conversation

@maria-rcks

@maria-rcks maria-rcks commented Oct 2, 2026 •

Copy link
Copy Markdown
Collaborator

Assistant text written before a tool call is stored correctly since #2829, but the settled-turn "Worked for" fold still hides every assistant message except the last one, so the real answer disappears behind a short closing line (#11353 reports this on 0.0.43 and 0.0.44).

Settled-turn folds on web/desktop (MessagesTimeline.logic.ts) and mobile (threadActivity.ts) now skip assistant messages. Work and reasoning fold exactly as before. Thread find still opens folds for folded work.

Verification: MessagesTimeline.logic.test.ts, MessagesTimeline.test.tsx (240 tests) and mobile threadActivity.test.ts (87 tests) pass, web and mobile typechecks and targeted lint pass.

Evidence

before: settled text, tool, text turn on main hides the opening sentence behind Worked for 15s

after: same turn keeps "I will count the files in the repo root." visible below Worked for 15s

Written by claude-opus-5-5 via Claude Code in T3 Code

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Oct 2, 2026
@juliusmarminge juliusmarminge added the macroscope-review Opt PRs made by unvouched contributors in for Macroscope review. Vouched contributors auto-reviews label Oct 2, 2026
@github-actions

github-actions Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅
Codex Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Codex Live turn WebSocket wire 1.2 KiB 1.2 KiB 0 B (0.0%) 2.0 KiB ✅
Codex Live turn WebSocket decoded 20.9 KiB 20.9 KiB 0 B (0.0%) 29.3 KiB ✅
Codex Live turn messages 2 2 0 (0.0%) 8 ✅
Claude Total thread wire 5.0 KiB 5.0 KiB +24 B (+0.5%) 6.8 KiB ✅
Claude Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Claude Live turn WebSocket wire 1.2 KiB 1.2 KiB +24 B (+2.0%) 2.0 KiB ✅
Claude Live turn WebSocket decoded 21.2 KiB 21.2 KiB +41 B (+0.2%) 29.3 KiB ✅
Claude Live turn messages 1 2 +1 (+100.0%) 8 ✅

Baseline: 51347ac · PR result: 39de4b9 · Source CI: success

Scenario and decoded snapshot size

10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

  • Codex decoded thread snapshot: 108.5 KiB
  • Claude decoded thread snapshot: 108.8 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

This branch has not been deployed

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

Labels

macroscope-review Opt PRs made by unvouched contributors in for Macroscope review. Vouched contributors auto-reviews size:S 10-29 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants