Skip to content

fix(next): let transcript reading surfaces follow chat text size - #26875

Merged
teamleaderleo merged 10 commits into
feat-cmux-nextfrom
nx-transcript-type-residual-1028
Oct 29, 2026
Merged

teamleaderleo merged 10 commits into
feat-cmux-nextfrom
nx-transcript-type-residual-1028

Conversation

@teamleaderleo

@teamleaderleo teamleaderleo commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

The Agent Chat font-size setting now reaches transcript code headers, command output, footnotes, sign-in actions, diagram labels and media titles. Headers grow with their text, long shell and credential controls wrap, and output previews retain eight rendered lines. The 14px default keeps its existing header dimensions.

This is the focused transcript follow-up to closed, unmerged #26577 (handoff). Landed #26523 / 35e4e8eb9c3a9963ce9619db984799356ae7ea1c already supplies composer, New Tab, queued prompt, heading and table sizing; this PR preserves that work. #26628 owns font-size shortcuts and the font store separately.

The fixture renders the real transcript components. Browser coverage changes the Agent Chat setting to 10, 14 and 28px, checks text and header containment at 760px and a 390px viewport with 125% zoom, and exercises image titles and credential actions in Chromium and WebKit, light and dark. Claude desktop transcript at 14px, see private ref. The captures below contain only the public fixture.

Verification

  • Red regression: 40695525681, source 5b3c1ee7a25c84cfaa845cead386d250161830ee: both themes fail because the code header stays 14px when the setting is 10px.
  • Type-scale and design-token ratchets, scoped formatting, and git diff --check pass locally.
  • Green browser regression: 40697890018, exact published head a79611c418093c29a892627be44f42f20876f6a2, 2 tests passed across Chromium and WebKit in both themes (37.37s); 48 captures retained.
  • Remote ratchets, browser-lane/fixed-wait guards, scoped formatting/lint, and project type check pass in 40696954897 at dc567af89a3c7b6860a9b92510142a980b3625c0. The final commit corrects the default border-box test expectation from 33px to 32px and removes two formatting-only CSS changes; the final browser run verifies that correction.
  • scripts/verify-local.py passes its other ten executed checks; localization parity fails in untouched base catalogs. No native build or test was requested or run.

Captures

14px and 28px, dark and light, from the exact published head:

Dark transcript at 14px and 28px

Light transcript at 14px and 28px

WebKit image header at 28px, 390px viewport and 125% zoom:

Narrow image header in both themes

Changelog

Fixed: Agent Chat text size applies to transcript reading surfaces without clipping their headers or output previews.

Agent session: agent session

@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

cmux status (one comment, edited in place; each line is updated by the job that owns it)

Review 3ae6f12: HQ feed card · gallery before/after runs · checks

App of this head (app.zip, kept 1 day)

gh workflow run reload-build.yml -R manaflow-ai/cmux --ref feat-cmux-next -f tag=pr26875 -f ref=nx-transcript-type-residual-1028 -f platform=macos -f backend_mode=local

Unclear: web / react-apps-base-check (1) failed: no known signature; failed step: Run base reds and compare.

CI failed on 3ae6f122b0 (run 40912110888 attempt 1): 1 code, 2 unknown.

Job Verdict Why
web / react-apps-base-check (1) unknown no known signature; failed step: Run base reds and compare
web / react-apps-base-check (2) code a web test failed
web / react-apps-check unknown no known signature; failed step: Check webview test shards

Failures:

  • seen on other PRs MarkdownMath.test.tsx keeps shell command dollar signs as plain text without dropping content: failed (job)
  • seen on other PRs queuedMessages.test.ts each agent message is a received-card row, in the queue's order, with its promptId: failed (job)
  • seen on other PRs chiefLook.test.tsx search renders Bubble Style in the Look card: failed (job)
  • seen on other PRs rowSummary.test.tsx no description line on any Settings page is over 60 characters, in any language: failed (job)
  • seen on other PRs rowSummary.test.tsx every schema summary fits 60 characters in every language: failed (job)
  • seen on other PRs themePane.test.tsx the Theme page draws each theme key once, in one card, with no second App Theme group: failed (job)
  • seen on other PRs agent-pane-pending-steer.test.tsx Send now on a waiting steer asks queue_edit send_now for its promptId, and goes once it is read: failed (job)
  • seen on other PRs bare-ref-repo.test.tsx an agent's message: its own address names the repository of its bare #N: failed (job)
Matched log lines
web / react-apps-base-check (2): (fail) keeps shell command dollar signs as plain text without dropping content [5.29ms]

Not re-run automatically: web / react-apps-base-check (1), web / react-apps-base-check (2), web / react-apps-check are not machine failures.

Written by scripts/ci/classify_failures.py (ci-failure-attribution.yml); signatures are its SIGNATURES table. A machine verdict is the runner's fault, not this PR's; yours means the failing file is one this PR changes, also red on main that main's latest full suite fails the same way, seen on other PRs that it failed on another pull request's run lately.

red: cmux-next checks (god files, concurrency, crash safety, l10n); no finished base run on b43bd42 to compare; do not merge until green; see lane-rules
red: web / Web status; base red: the same failure on the base b43bd42; does not block
red: web / react-apps-base-check (1); no finished base run on b43bd42 to compare; do not merge until green; see lane-rules
red: web / react-apps-base-check (2); no finished base run on b43bd42 to compare; do not merge until green; see lane-rules
red: web / react-apps-check; base red: the same failure on the base b43bd42; does not block

Gallery before/after for 3ae6f12: 16 states rendered, 0 images differ, 2277 more touched states not rendered. Images are in the run's artifact, not on this public PR.

gh run download 40911345248 -R manaflow-ai/cmux -n gallery-advisory-26875-3ae6f122b0d9795b3eb7d6705e747467278134a2 (then read gallery-review.json)

States
State Theme Status Diff Picked by
agent-pane.chat-find-bar/empty Apple System Colors Light unchanged 0% own conversation.css
agent-pane.chat-find-bar/empty Apple System Colors unchanged 0% own conversation.css
agent-pane.chat-find-bar/matches Apple System Colors Light unchanged 0% own conversation.css
agent-pane.chat-find-bar/matches Apple System Colors unchanged 0% own conversation.css
agent-pane.chat-find-bar/next-match Apple System Colors Light unchanged 0% own conversation.css
agent-pane.chat-find-bar/next-match Apple System Colors unchanged 0% own conversation.css
agent-pane.chat-find-bar/no-results Apple System Colors Light unchanged 0% own conversation.css
agent-pane.chat-find-bar/no-results Apple System Colors unchanged 0% own conversation.css
agent-pane.coderouter-offer/claude-key Apple System Colors Light unchanged 0% own conversation.css
agent-pane.coderouter-offer/claude-key Apple System Colors unchanged 0% own conversation.css
agent-pane.coderouter-offer/deepseek-key Apple System Colors Light unchanged 0% own conversation.css
agent-pane.coderouter-offer/deepseek-key Apple System Colors unchanged 0% own conversation.css
agent-pane.coderouter-offer/sign-in Apple System Colors Light unchanged 0% own conversation.css
agent-pane.coderouter-offer/sign-in Apple System Colors unchanged 0% own conversation.css
agent-pane.coderouter-offer/rate-limited Apple System Colors Light unchanged 0% own conversation.css
agent-pane.coderouter-offer/rate-limited Apple System Colors unchanged 0% own conversation.css
agent-pane.coderouter-offer/on-coderouter Apple System Colors Light unchanged 0% own conversation.css
agent-pane.coderouter-offer/on-coderouter Apple System Colors unchanged 0% own conversation.css
agent-pane.coderouter-offer/moving Apple System Colors Light unchanged 0% own conversation.css
agent-pane.coderouter-offer/moving Apple System Colors unchanged 0% own conversation.css
agent-pane.computer-use-preview/running Apple System Colors Light unchanged 0% own conversation.css
agent-pane.computer-use-preview/running Apple System Colors unchanged 0% own conversation.css
agent-pane.computer-use-preview/done Apple System Colors Light unchanged 0% own conversation.css
agent-pane.computer-use-preview/done Apple System Colors unchanged 0% own conversation.css
agent-pane.computer-use-preview/done-no-icon Apple System Colors Light unchanged 0% own conversation.css
agent-pane.computer-use-preview/done-no-icon Apple System Colors unchanged 0% own conversation.css
agent-pane.computer-use-preview/beside-chat Apple System Colors Light unchanged 0% own conversation.css
agent-pane.computer-use-preview/beside-chat Apple System Colors unchanged 0% own conversation.css
agent-pane.computer-use-preview/beside-inspector Apple System Colors Light unchanged 0% own conversation.css
agent-pane.computer-use-preview/beside-inspector Apple System Colors unchanged 0% own conversation.css
agent-pane.computer-use-preview/under-pushed-inspector Apple System Colors Light unchanged 0% own conversation.css
agent-pane.computer-use-preview/under-pushed-inspector Apple System Colors unchanged 0% own conversation.css

Pick other states with a Gallery: entry.id, entry.id/variant line in the PR body.

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Bead cx-kyq1i7 created for this PR by the cmux coordinator.

@github-actions github-actions Bot added the risk:normal Risk tier (docs/ci/risk-tiers.md) label Oct 28, 2026
@blacksmith-sh

blacksmith-sh Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Found 34 test failures on Blacksmith runners:

Failures

Test View Logs
/tmp/tmpac7t_9yw/summary-fail.json (live):/summary-fail.json (live): View Logs
/tmp/tmpzz1xgodu/summary-missing.json (live):/summary-missing.json (live): View Logs
[new_workspaces] debug.new_workspace timed 0 of 50 new workspace rows/
[new_workspaces] debug.new_workspace timed 0 of 50 new workspace rows
View Logs
[new_workspaces] the window draws no frames/[new_workspaces] the window draws no frames View Logs
[tabs] debug.tab_switch timed 0 of 40 switches/
[tabs] debug.tab_switch timed 0 of 40 switches
View Logs
[tabs] the window draws no frames/[tabs] the window draws no frames View Logs
src/agent-session/acpmux/conversation/MarkdownMath.test.tsx/MarkdownMath.test.tsx View Logs
src/agent-session/acpmux/conversation/MarkdownMath.test.tsx/MarkdownMath.test.tsx View Logs
src/agent-session/acpmux/conversation/queuedMessages.test.ts/queuedMessages.test View Logs
src/agent-session/acpmux/conversation/queuedMessages.test.ts/queuedMessages.test View Logs

...and 24 more test failures. View all on Blacksmith

Fix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Independent Codex gpt-6-astra xhigh: SHIP at a79611c418093c29a892627be44f42f20876f6a2 (review session gcp-codex-lane-2/nx-review-26875-a796; agent session 01a182bc-ce39-7de3-b7cb-2900c7e5bd34). The boxed material records merge-base 0c37fbe9c8a53a526a0fe02483b6ff6d03e5c911 and the complete five-file diff. No actionable findings; source-only review, no native/browser execution by the reviewer.

Primary inspection also confirms transcript CSS, fixture/test and ratchet-baseline scope, with no composer, chatDisplay or store edits. Supplied final-head browser run 40697890018 passed 2 tests; all four PR-head web shards passed. The named gallery red is agent-pane.narrow#model-menu, also seen before this change; final check/base-comparison reconciliation remains separate from this review receipt.

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Landing is BLOCKED at a79611c418093c29a892627be44f42f20876f6a2 pending the PR's own font-shorthand guard repair and a fresh exact-head review. The Astra SHIP above is a static source verdict, not a green-check receipt.

Although the four head web jobs report SUCCESS, their raw test steps can fail and defer the decision to the separate base-comparison jobs. In shard 1 comparison, font-shorthand.test.ts passes on base and is explicitly listed as a new head red. The head raw log identifies ten new font: calc(var(--cv-font-size) ...) declarations in conversation.css; the current shorthand guard does not recognize those size expressions. Preserve the working font sizing using longhand font declarations, then run that guard and the focused transcript browser regression at one new frozen head. The original 14/28px containment receipt remains valid for this old head only.

The other named comparison failures still need classification; they have not been waived as base reds. The currently uploaded 14/28px captures both show the final head, so an actual base-before/head-after pair at the same font/window is also requested from the transcript owner. No source or PR head was changed during this review.

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Review (codex gpt-6-astra high, next-review): SHIP at 9876b3a

No blocking findings.

Reviewed the supplied diff and file copies. Tests were not run; additional repository reads were unavailable.

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Orphaned: no activity for 13 h, and no lane holds a lease on it. Adopted by the orphan sweep: merged feat-cmux-next in at e8e51ef. A later pass queues it for the merge hub if it is reviewed, small and red only on base reds.

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Review (codex gpt-6-astra high, next-review): SHIP at e8e51ef

No blocking findings.

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Noting this for awareness from a transcript polish audit at feat-cmux-next 66f4014. This PR fixes size, line-height and min-height for the reading surfaces, but one parity case is still open: PlainCode ignores the code font family, while HighlightedCode honors it.

  • conversation.css:2934-2945: plain (unhighlighted) code keeps a fixed font-family.
  • HighlightedCode.tsx:28-30: highlighted code reads --cv-mono.

So a code block's font changes with whether it got syntax highlighting. If this PR is the right home, the fix is to use var(--cv-mono) for the PlainCode font-family. Otherwise it can be a follow-up.

@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Owned by an agent session · took over from an earlier session · session

Resolved webviews/scripts/design-tokens-baseline.jsonl by taking base's rows
and regenerating with check-design-tokens.ts --update-baseline: this PR
replaces the fixed 45.5px and 44px heights with font-scaled min-heights, so
those two baseline rows shrink.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agent-Session: https://cmux.com/deeplink/agent?id=aid-ab1f035a409b977caceb
@teamleaderleo

Copy link
Copy Markdown
Collaborator Author

Review (codex-review-box/gpt-6-astra high, lane-place): SHIP at 3ae6f12

SHIP

No blocking findings. Type-scale validation passed. Browser tests and macOS compilation could not run because the snapshot lacks installed dependencies and Swift tooling.

@teamleaderleo teamleaderleo removed the risk:normal Risk tier (docs/ci/risk-tiers.md) label Oct 29, 2026
@github-actions github-actions Bot added the risk:normal Risk tier (docs/ci/risk-tiers.md) label Oct 29, 2026
@teamleaderleo
teamleaderleo merged commit 52b0452 into feat-cmux-next Oct 29, 2026
231 of 239 checks passed
@teamleaderleo
teamleaderleo deleted the nx-transcript-type-residual-1028 branch October 29, 2026 18:33
@github-actions

Copy link
Copy Markdown
Contributor

The feat-cmux-next push run https://github.com/manaflow-ai/cmux/actions/runs/40932085190 at 4efc389 failed: cmux-next checks (god files, concurrency, crash safety, l10n).
Those jobs last passed at 2289f95. This pull request is one of 5 merged since: #27052, #27207, #27484, #26875, #27007.
If the failure is in your change, fix forward on feat-cmux-next. Pull requests run only the tiers their paths reach (docs/ci/cmux-next-tiers.md); label a batch PR full-ci to run them all before merging.

@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

The feat-cmux-next push run https://github.com/manaflow-ai/cmux/actions/runs/40931922742 at 52b0452 failed: cmux-next checks (god files, concurrency, crash safety, l10n).
Those jobs last passed at 2289f95. This pull request is one of 4 merged since: #27052, #27207, #27484, #26875.
If the failure is in your change, fix forward on feat-cmux-next. Pull requests run only the tiers their paths reach (docs/ci/cmux-next-tiers.md); label a batch PR full-ci to run them all before merging.

This branch was previously deployed

1 inactive deployment
ci-routing-agent — 3ae6f122 Deployed Oct 29, 2026 by teamleaderleo via wait for same-key tree publisher #77431
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk:normal Risk tier (docs/ci/risk-tiers.md)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant