Repository navigation
Description
Four browser tests have failed on main since #6682 (59f78d2a5, "Seat thread cards in their widget's box and ground, as the margin card"):
| Test | Deciding assertion |
|---|---|
tests/browser/navigation/test_threads.py::test_forced_colors_keep_inline_thread_focus_visible |
focus outline width 1px, offset 0px; test expects 2px, -2px |
tests/browser/navigation/test_threads.py::test_inline_thread_surface_has_room_without_focus_reflow |
"the gap between inline threads lost its separator": {'content': 'none', 'borderTop': '0px'}, expected '""', 1px |
tests/browser/threads/test_layout.py::test_the_user_s_words_end_where_the_agent_s_do[seat] |
the user's words' inset is 0; expected 13 ± 0.5, the agent's |
tests/browser/threads/test_rewrites.py::test_a_rewrite_is_the_reply_box_where_the_words_stood[seat] |
the rewrite box is 566px wide where the reply box is 694px |
First failing ci run on main: run 44969990227 on 2ca1362b0, the first push run after #6682 that wasn't cancelled. The fifth failure in that run, test_a_message_reaction_trigger_meets_its_header_and_covers_no_words[360-True], has a separate cause, and #6698 already fixed it.
Diagnosis so far. The failure is deterministic. Locally, all four tests pass on 59f78d2a5~1 and fail on 59f78d2a5 and on current main (866f73be9).
#6682 meant to give every seated thread the margin card's frame, inset, reply field and message width, standing on its widget's declared --lf-ground. It explicitly deleted "core's quiet focus ground and the rules between seated threads". So the first two failures may be stale assertions of a design #6682 replaced, but that isn't settled:
- the forced-colors test guards a visible focus indicator in forced colors;
- the separator test guards a rule that Seat thread cards in their widget's box and ground, as the margin card #6682 deleted on purpose.
The last two [seat] failures look like layout the card didn't carry through. In a seated card, the user's sent words no longer share the agent's inset, and a rewrite no longer takes the reply box's width. Those failures would be regressions against #6682's own aim of "the margin card's … message width", not stale tests. Reading browser/styles/components/surfaces.css and response.css in #6682's diff against the margin card's rules should show which.
Per .claude/skills/running-tend/SKILL.md, Reading a red suite: if a repair gives up any of #6682's intent, open an issue for the maintainer, who wrote #6682.
Cause of a failure tracked in #6708.
Activity
leaf-agent commentedon Nov 22, 2026
#6713 repairs all four tests. Each fails on current main and passes on the branch.
[seat]failures were one regression. Seat thread cards in their widget's box and ground, as the margin card #6682 gave seated cards the margin card's message width but left the reply field spanning the whole row. A rewrite takes its message's width, so it stood 128px narrower than the reply box, and a reply typed across the row would rewrap once sent. Keep a seated card's reply box at the margin card's width, and test the seated card #6682 drew #6713 ends the reply field where the messages end, as the margin card does. With that change, the rewrite test passes unchanged.Narrowing the reply field is a visible choice #6682 didn't explicitly make. #6714 asks @max-sixty to confirm it or choose the full-row alternative, with before and after pictures.