Repository navigation
Run a thread card's reply box to the card's edges, and stand every thread's words one inset in - #6773
Conversation
…read's words one inset in A thread card's reply box, beside a passage and seated in a widget, now runs over the card's padding to its sides and foot, as the floating panel's field runs to the panel's edges. A box that meets its frame's edge takes the frame's rounding at the corners they share and is square at the others: the panel field's corners beside the leaf, and its top-left under an open thread, are square, and so is a card reply box's top. browser/AGENTS.md states the rule under "Visual treatment carries meaning". Max picked both on the reply-box-edges decision page, the square corners as a trial he may revise after living with it. Max also asked to use the change to reduce padding canonically. A thread card's padding is now 6px inside its border (`--lf-comment-inset`, was 12px), and the thread text inset is 8px everywhere (was 13px outside the panel), so a thread's words stand 15px inside the visible edge of the panel, a margin card and a seated card alike, where a card stood them 26px in. The panel's own `--lf-fp-inset` folds into `--lf-thread-text-inset`. The comment box's field stands at the card padding with its words 8px in, as a rewrite's do, so Send still moves no word. What follows from the box running to the card's edges: - The card is carried by the comment box's grip band, 6px outside its edge and 1px inside (12px out under a finger), since the reply box covers the padding band it was carried by. - A seated card's reply box spans its row and Send stands at the row's end; its words still wrap where a margin card's would at the measure. - At rest the box draws only a rule over its words, inset as far as they are, as the panel's row does under an open thread; with the caret it takes the card's ground and the ring one band inside its edge. - Send and the field's corner stand in from the box's end by `--lf-compose-action-end`. Under a mouse Send ends the line as the card's own symbols do, its glyph where the words end; under a finger it keeps the room every message keeps for it, so a reply keeps its line breaks once sent. - The box's pictures stand on its words' edge, so their removal's reach stays inside the card rather than under the card's grip. - The card transcript's room at its sides and top is what the card's padding and border leave inside the card's own ring (`--lf-transcript-edge-room`), so its sticky paper no longer covers that ring; below the turns it keeps a region's gap. The panel's leaf stood 8px from the field and 6px from the panel's edge; it now stands the row's padding from each, centred in the room the field leaves (Max saw it off centre). Tests changed with the behaviour: a rewrite in a card now stands at the card's padding inside the reply box rather than matching its width; the card reply's focus ring is read one band inside the box; the card's frame test expects the box at the card's edge and the words 15px in; the attachment test reads whether the field wears a ring rather than how far it reaches out. Two fixtures move off layouts the wider column reflowed: the stuck-head test's later turns are longer, and the latest-message landing test opens at 880px tall, where the scroll limit stands a head on the top row.
leaf-agent
left a comment
There was a problem hiding this comment.
The mouse case of test_response_and_message_reading_keep_their_face_across_shadow_seating in tests/journeys/test_render_diff_controls.py still expects the old inset: text_end = f"{44 + 2 * 16 + 1}px" if touch else "13px". Under a mouse, --lf-comment-text-end is var(--lf-thread-text-inset) (response.css), which this PR lowers from 13px to 8px. So the floating field's padding-right (--lf-comment-text-end - 1px on leaf-text.lf-fab-input) and the sent message's .lf-msg-text end both become 8px. The False-light case will fail. Journeys run only in the nightly, so this PR's checks won't catch it. The fix is "8px" in place of "13px" there. The touch case is unaffected because --lf-compose-send-end doesn't change for the comment box. Since the line is outside the diff, I can push that one-line change if you'd like.
…der a mouse The diff-controls journey still expected the 13px inset this branch lowered; a mouse lets a comment box's words and a sent message's run to the thread text inset, now 8px.
… while it moves (#6794) Five browser tests have failed on `main` since #6773 ran a thread card's reply box to the card's edges. One caught a real defect, fixed here; the other four asserted layouts #6773 deliberately replaced and now assert the new ones. **The defect.** #6773 squared the floating panel field's corners where the field doesn't meet the panel's edge, but `browser/runtime/box-motion.js` drew a moving part's ring, fill and clip with the top-left radius at every corner. So when the field gives up a line, its square right corners turn round for the length of the tween and snap back square at rest. The motion now reads each corner's radius and grows only the rounded ones, as the browser draws an outline. `test_a_line_the_field_gives_up_rides_the_box_s_top_edge` compares the tween's first frame with the panel at rest: 352 px differed on main against its tolerance of 300, and 234 with this change (235 at #6773's parent), so the tolerance stays as it is.  **Tests updated to #6773's design** (its description and the `response.css` and `annotation-chrome.css` rules it added state each one): - `test_inline_thread_surface_has_room_without_focus_reflow`: the seated card's reply row now meets the card's hairline (1px in), so the 3px clearance check covers the thread's controls and messages and a separate assertion pins the reply row to the card's sides and foot. - `test_a_diff_conversation_s_reply_rests_as_the_margin_card_s_field`: #6773 made a card's reply box, in the margin or seated in a widget, draw a rule over its words at rest rather than a frame ("The user chose this over the box at the card's padding in a field's frame"). The test now expects the rule and no frame, as a margin card's reply shows. - `test_the_response_field_grows_across_its_bar`: a sent message ends at the card's padding while the reply box runs over it, so the message's right edge stands one `--lf-comment-inset` inside the reply's. - `test_drawing_preview_contains_page_content_and_freezes_it[dark-True]`: at 390px the comment box now stands 6px nearer the window's edge, so the 44px touch probe's left points fell at x = −2, off-screen, where `elementFromPoint` returns nothing. Every on-screen probe point still hit the button. The probe is now clamped to the window, since no finger presses past its edge. All five pass by node id, along with 62 more tween, ring and motion tests in the floating panel, card reply and Send placement files, `pnpm run test:runtime` and `pnpm run check:browser`. Closes #6792 — automated triage Co-authored-by: leaf-agent <[email protected]>
…ide the panel field's ring A thread card's reply box draws its focus ring one band inside its edge (#6773), and an error about the box covers its words to that edge at z-index 1, so the ring's top, sides and rounded foot corners went under the error, as the panel field's did (previous commit). The ring now draws on the box's ::after, laid over the error, at the field's border box where its outline stood. The thread-panel-overflow branch had planned to move that error inside a border band; its review found the band took presses and painted solid black in forced colours, so it handed this case back on 2026-11-22. The same review found that the panel field, holding the caret, runs to the panel's edges with its slot's padding inside the ring but outside the words' box, and a press in that band took the focus to the panel, in Chromium and Firefox alike. The slot now keeps the words' focus on a press of its own. A stills state, plan-card-reply-error, reaches the card case, and the panel test raises its error through the widget API, as the suite's other error tests do. test_a_card_reply_s_ring_stands_over_an_error_about_it and test_a_press_inside_the_field_s_ring_keeps_its_words_focused fail on main.
…focus on a press inside the panel field's ring (#6800) Two comment boxes draw their focus ring one band inside their edge: the floating panel's field (#5963) and a thread card's reply box (#6773). Things the box holds paint the field's paper to that edge: Send's box once the words run under Send's corner and the pointer rests on it (#4714), and an error about the box. Both are positioned at z-index 1, and a box's outline paints beneath its positioned children, so the ring broke: for Send's height on the panel field's right edge, or around the whole box under an error. Same in Chromium and Firefox, light and dark. Each ring now draws on the box's `::after`, laid over what the box holds, as surfaces.css says a focused box whose band something would cover does. Its place and corners don't change: the other panel and card states' stills differ from main only in antialiasing at the ring's corners. The panel field, holding the caret, runs to the panel's edges, so a 6px band of its slot's padding lies inside the ring but outside the words' box, and a press there took the focus to the panel in both engines. The slot now keeps the words' focus on a press of its own. Where to look: no stills state reached these cases, which is how they shipped. `plan-page-comment-send-shown`, `plan-page-comment-error` and `plan-card-reply-error` now do. The card's `::after` stands at `inset: -1px`, over the field's 1px border, where its outline stood; the thread-panel-overflow branch reworks that box's padding, so whichever lands second rebases. Max reported the broken ring from a Leaf page. Tests: `test_the_field_s_ring_stands_over_what_covers_its_words`, `test_a_card_reply_s_ring_stands_over_an_error_about_it` and `test_a_press_inside_the_field_s_ring_keeps_its_words_focused` each fail on main. > _This was written by Claude Code on behalf of max-sixty_ --------- Co-authored-by: Claude <[email protected]>
…no thread scrolls sideways and every box written in is one height (#6803) A thread card holding a summary scrolled sideways by a pixel, and the summary's tint stood 10px inside the card on one side and 1px on the other, its words 5px in (Max's report, in Firefox). #6773 cut the card's padding and the thread's text inset, but the tint kept its own offsets, and its end ran past the room the card's scrolling transcript keeps. The tint and its open fold now stand at the frame's padding, as a rewrite's frame does: 7px inside a card, a seated card or the panel on both sides, with the words 15px in. The same pass makes the panel's messages and working steps end their words 15px in (they ended 19px and 27px in), holds a seated card's summary and step words to its messages' width (they ran 902px against 562px), keeps only the gap above each transcript item (a closed summary stood 48px over the next message in the panel and seated cards, 24px in a card), and anchors Resolve to the head's logical end, which in a right-to-left page stood it over the head's words. Max also asked that every box written in be one size. A card's reply box now takes in the card's padding around its field, as the panel's field does while it holds the caret, and the alt+click comment box is now the frame of the card it becomes, cut to a reply box round its words: as wide as that card, and 44px inside its edge (48px under a finger) like the card's reply box and the panel's field. Words, Send and a press anywhere in each box are unchanged, the comment box reserves the same room so it opens where it did, and the card Send opens grows out of it with no word moving. Its focus ring stands inside its edge, drawn over an error as #6800 draws the card's. Every thread frame now reads one padding token, `--lf-thread-pad`, and `--lf-thread-frame` adds the frame's one-pixel edge. It takes in `--lf-fp-row-pad`, the panel's padding since #6801, which is 7px under a finger, so under a finger a card's padding grows to 7px and words stand 16px in everywhere. Under a mouse the panel, cards and summaries draw as before, except that Send and Dictate in a card's reply box now stand centred, their insets taken inside the box's own border. To weigh: under a finger, cards gain a pixel of padding to match the panel. `browser/AGENTS.md` now says a field running to its frame's edges adds the frame's padding to `--lf-line`, as the card's reply box, the comment box and the panel's focused field do. Tests: the focused browser tests for summaries, card replies, rewrites, thread layout, Send placement, the comment box at rest and open, pictures on a comment, the panel's thread, field and row, and rings over errors pass, as does `pnpm run check`. New tests hold a comment box to its card's width and reply box height, and its ring over an error; new stills states show a summary in the panel and an error over the comment box. > _This was written by Claude Code on behalf of max-sixty_
#6773 stated a rule in `browser/AGENTS.md`: a box inside a frame either meets its edge, taking the frame's rounding at the corners they share, or stands clear of it. A survey of every box Leaf draws inside a frame found 57 that meet or nearly meet an edge with the wrong corners. This fixes 49 of them, and the defects of the same kind two fresh reviews found; #6803 fixed two more. - Leaf's word and symbol presses and its reactions draw their focus ring inside their edge, set once per role, so a frame's edge no longer cuts it; the panel's leaf keeps its ring on its edge, where its badges would otherwise cover it. A code block's lone Copy, which takes the focus on its own toolbar, rings inside that toolbar's edge rather than 3px outside it, where the ring ran onto the block's edge. - A holder whose presses join into one control declares `data-lf-joined`, as a block's toolbar and a question's Done cell do: each press is square at the seams and takes the holder's rounding at its corners. The press-face guard allows only a declared variant, and a clip would cut a finger's reach past the toolbar, so the corners are per-corner radii from a holder token. - In a question's joined options, every cell standing in one of the group's corners takes its rounding there, in a stack and laid across, so a pick's ring and the keyboard's stay whole round the corner instead of thinning where the group's clip cut their square corners. Done joins as a cell: no edge of its own, where it drew a second one inside the group's, and its cell wears its ring, as a row wears its mark's. Done's digit and Add's stand in the column every card's digit shares. - `--lf-clear` (4px at every density) is the least room that reads as standing clear, and the toolbars, a board card's grip, Add, a suggestion's contents and a diff filter's fold-all stand that far from their frame. `--lf-r-in`, a frame's rounding inside its hairline, replaces five copies of that length. A pane clips to its rounding, and a comment box's key badge stands centred on its line, clear of the box's foot. - In the panel, the search's scope chip and its steps stand `--lf-clear` inside the field, the steps' faces a line tall less that room above and below, and the match count `--lf-clear` before the first step. On Me's Reply no longer hangs its word into the card's margin, where its face crossed the ring a walked card wears; controls.css now says a seat hangs a press only into a margin that leaves `--lf-clear` at the frame's edge. Worth a look in use: a bordered button's focus ring now lies over its border (Max may revise this; the square-corner rule itself is on trial). On Me's Reply now lines up its face with the card's text edge, where its word used to stand, so the word sits 13px further in. A lone titled option laid `across` now counts as stacked, since it shares its row with no sibling; its chips no longer float beside its state mark. The other six findings are measurement artifacts, an example page's own button, and the diff gutter's +, left 2px inside its line. Max asked for the survey and the fixes; the before/after pairs are on the decision page. Part of #4125: rings on Leaf's presses keep inside a scroller's clip; rings on other boxes, and scrollers that keep no room, remain. Model tests for faces, rings and tokens pass, apart from the skill-file size check, which main fails too (`module-input.md`, from #6816), as do focused browser tests for Done, drafts, code Copy, boards, Add, diff controls, panes, the file tree, rings, workspaces and reactions. > _This was written by Claude Code on behalf of max-sixty_ --------- Co-authored-by: Claude <[email protected]>
…nside the card (#6839) Closes #6139. `tests/journeys/margin/test_card_placement.py::test_the_shipped_long_thread_keeps_the_margin_and_its_height` has failed in the nightly run since #5991, first on `assert 320 >= 379`: it still expected the card at the measure's width. #5991's rule keeps a thread card at its least width until a message it shows stands taller than it is wide (`standsTall`, `comment-placement.js`). The tallest message in the shipped long thread, the agent's checklist, stands 249px tall in a 290px text box, so the slim card is right and the test was stale, as six of its siblings were before #6146. Past that first assertion the test held two more expectations that later changes had made stale, which the nightly run never reached: - At 1436×1000 it expected the card to reach the window's edge. The slim card now ends 14px short of it, so the test expects the least width, inside the window. - At 1280×600 it waited for the reply's editor and Send to stand inside the card's thread box. Since #6773 a card's reply box runs over the card's padding to its sides and foot: 2px inside the card's edge and 5px past the thread box. The test now waits for them inside the card. Both card-width checks read the least width from the runtime's `cardMinimum()`, as `test_render_send_placement.py` does, rather than hard-coding 320. Both also check that the card crosses its controls (`cardLeft < controlsRight`), which the docstring promises and nothing checked. The test fails on `main` and passes with this change, run by node id: `uv run pytest "tests/journeys/margin/test_card_placement.py::test_the_shipped_long_thread_keeps_the_margin_and_its_height" -n0`. > _This was written by Claude Code on behalf of max-sixty_
…t a gap under the cards above (#6831) Closes #6714. #6773 answered #6714's question: a seated thread card's reply box runs to the card's sides, and its words still wrap where they will once sent. The comment box a seat opens (a diff line's or file's Comment, a visual-review case, a command hub row) didn't follow that rule. It keeps the row's width, as the card its comment becomes will, but its words wrapped at the row's width: 827.5px under a diff line and 683px in the command hub, where the seat's messages and reply box wrap at 562px. Any comment long enough to wrap rewrapped at Send. This applies #6773's stated rule to that box (the first commit), stands the box a gap under the cards above it (the second), and makes a card's reply box keep the rule under a finger too (the third). **Words.** The box's words now end where the message they become will, `--lf-comment-text-end` inside the seat's column: 562px wide under a mouse and 517px under a finger, the same as the sent message in both (827.5px and 782.5px before, under a diff line). Widening #6773's selector to cover this box would have left its words 10px past the column, at 572px: the box's field stands at the card's padding rather than running to the card's sides, so the reply box's formula doesn't fit its geometry. Its own rule keeps, past its end inset, the room by which its field is wider than the seat's column, so it holds with or without the command hub's Send & pause beside the field. **Gap.** The box stood flush under the card above it in a diff and a visual case, so that card's reply box and the comment box read as one conversation's two fields. Only the command hub's theme kept a gap there (`examples/command-hub.page/theme.css`), for that reason, which holds for every seat. Core now keeps the gap beside the one between a seat's cards, and the hub's copy goes. It's the cards' gap, `--lf-sp-2`, not the hub's `--lf-sp-3`: the card a comment becomes lands that far under the card above it, so the box now stands where its card will. On the diff gallery's long line conversation and the hub's goal row, the box's top and the sent card's top are the same pixel. The hub's gap narrows from 10px to 6px, and the diff's opens from 0 to 8px. **A reply under a finger.** Under a finger a card's reply box keeps Send's room at the end of every line (`--lf-field-end-room`, `text-field.js`), and it reckoned that room from where Send stands. Since #6803 stood Send centred inside the box's own border, that room has been a pixel short of the one a message keeps, so a reply's words ran 1px past the message they become: 976.27 against 975.27 in a seated card, and 1358 against 1357 in a margin card. A word ending in that pixel moved to the next line at Send. The room now comes from `--lf-comment-text-end`, the same statement of where a message's words end that the comment box's rule reads, so both boxes in a seat, and the margin card's reply, end their words where their message will under either pointer. Under a mouse nothing changes. A diff line's comment box under the conversation the line holds (`diff-line-comment`, a new state), before and after:   The same, under a finger (`--touch`):   The command hub's goal row (`hub-seat-comment`), before and after:   Crops from `uv run leaf-dev stills --authored`, with and without `--touch`, against `main` at 49007d7. The reply states draw the same pixels under both pointers (`plan-card-reply-large`, `diff-file-reply`, `hub-seat-held-news`): the reply's pixel sits inside the field's closed shadow root, which stills don't read, and moves no line of those drafts. The test below measures it. Also unchanged under a mouse: the margin card's floating comment box (`triage-composer-long`), and two empty seat boxes with no card above them (`walkthrough-diff-comment`, `diff-file-comment`), where the room kept for Other responses still sets the end padding until the first word. `hub-seat-comment` now types a draft long enough to wrap, and the new `diff-line-comment` state opens a line's comment box under the conversation that line holds. The new browser test, `test_a_seat_s_boxes_break_their_lines_where_their_messages_will`, covers the seat's comment box and its card's reply box, each under a mouse and under a finger: it sends a wrapping draft and checks both where the words may run to and the lines they break into. Against `main`, the comment box fails under both pointers and the reply box under a finger. Tests run by node id, all passing: the four cases of the new test; `test_the_user_s_words_end_where_the_agent_s_do[panel]` and `[seat]`; every case of `test_a_rewrite_is_the_reply_box_where_the_words_stood`; `test_a_rewrite_under_a_finger_keeps_its_message_head`; `test_a_rewrite_keeps_its_pair_while_its_head_sticks_beside_the_actions`; `test_contextual_messages_share_text_spacing_through_send_and_reopen[desktop]` and `[touch]`; `test_a_finger_opens_a_card_on_its_thread`; `test_command_goal_can_pause_after_an_ordinary_thread_started`; `test_atlas_send_and_pause_is_one_thread_fold`; `test_a_seat_send_at_the_window_foot_shows_the_thread_it_started`; `test_a_seat_box_grown_by_a_paste_keeps_its_send_above_the_panel`; `test_a_narrow_box_keeps_its_label_whole_and_drops_its_new_line_key`; `test_a_file_s_comment_opens_inline_where_the_file_ends_below_the_window`; and `test_a_widget_seats_the_thread_about_itself_and_none_inside_it`. > _This was written by Claude Code on behalf of max-sixty_
…r of the card's edge (#7138) An unread reply's dot in a margin card hung a fixed 8px before the name. Since #6773 cut the card's padding and the thread's text inset, that put it flush against the card's border, its first pixel clipped by the transcript. It now stands centred across the gutter between the border and the words: 4px from the border and 4px from the name (4.5px each under a finger, where the card's padding is 7px), in the stuck head too. The reach derives from `--lf-thread-pad` and `--lf-thread-text-inset`, so a later padding change keeps it centred. Checked in Chromium and Firefox, mouse and touch; the panel's dot, which stands beside the time, is unaffected. Also: the two `ship-card-next-unread` stills states opened the card before the agent's reply reached the page, so in about 3 of 8 arms the card stood at the transcript's foot and the before/after pair differed across the whole card. They now wait for the page to take in the reply, as other states do after an agent write; six arms in a row then differed only by the dot. Max asked for the move. `test_a_card_opens_on_its_first_unread_reply` now asserts the dot stands centred between the card's edge and the name, before and after its head sticks; it fails on the old rule (dot 0px from the border). > _This was written by Claude Code on behalf of max-sixty_
…7366) `leaf-dev stills` now reads two kinds of geometry fault on both versions of each state it compares, and lists each fault the change adds. Faults both versions share stay out of the report. Max asked for this after a thread card's unread dot came back touching the card's edge: `browser/AGENTS.md` already forbids that, but until now nothing checked it, and each break was found by eye. - **Edges** (`dev/leaf_dev/geometry.js`), in any engine: a box Leaf draws that nearly touches its frame's edge, crosses it, or is cut by it, and a round mark closer to the edge than `--lf-clear` (4px). The floating panel and the margin card draw their outline and rounded corners on a separate layer behind them (`.lf-box-ground`), so the reading takes their edge from that layer. A box's corner is read against every clip around it, the frame and any box between, so a rounded clip nearer than the frame rounds it too. It reads three cases from what the page itself declares, with no rule written for any one widget, and leaves them out: - parts of a Web Awesome component, which keep the library's look; - thumbs: anything inside a `slider` or `scrollbar` role, or moved by a scroll timeline; - marks inside a drawing (`--lf-drawing`). - **Rings** (`dev/leaf_dev/rings.py`), in Chromium only: a focus ring that a clip cuts or another box covers. This is the reading the ring tests already use. It moves out of `tests/render_cases_layout.py` and `tests/page_scripts/` into `leaf_dev`, so the tests and stills call one implementation. In Firefox, its pixel check reported 4 rings on main as unpainted along one edge, and a Firefox screenshot of one of them shows that edge painted. So stills reads rings in Chromium only. **Caught at the commit before each fix, gone at the fix:** - **#7138, the unread dot.** At the commit before #7138, the edge reading flags the dot touching the card's border (`round left 0px`) and cut 1px by the transcript (`cut left -1px`), in Chromium and Firefox. Diffing the commits before and at #6773, which caused it, gives exactly those two findings. Putting #6773's dot placement back on this branch makes stills print exactly those two lines. - **#7256, the deck card's ring.** The ring reading finds it cut 8px on each side and covered at the top and bottom. - **#6395, the file tree search field's ring.** With the field focused, the ring's top edge is 4px outside the tree. No catalogue state focused the field at the time. The edge reading also flags the field itself standing 1px below the tree's top edge. **Not caught:** #6672 (an alignment pass), and a reading of Leaf's boxes overlapping each other, which I built, measured and left out: - On main it found 11 overlaps in Chromium (11 in Firefox), all deliberate and none a defect. Examples: a picture's remove button on its corner, Copy over its code block, a timeline's marks over its gridlines, a margin pin over a board card. - At the commits before the fixes: - #6336: it caught the count badge covering the folded leaf's error dot, but only on a page built the way #6336's test builds it. - #6830: in the catalogue's state, the fold mark crossed the picture by 1px, the same as a seam between two boxes, so it missed. - #6615: list markers have no box to measure, so it can't catch them. **Findings on main, all 334 states:** - **Edges:** 13 findings from 4 causes, the same in Chromium and Firefox. Chromium adds 2 more from a 5th cause, in a state that holds the runtime back, which Firefox can't open. All are real breaks of the rule; there were no false alarms. - **Rings:** 2 findings in Chromium, both false. In each, an overlay scrollbar covers the ring's edge; the stills browser keeps scrollbars visible on purpose. - Since stills reports only faults a change adds, none of these show in an ordinary run. - **Cost:** the reading adds a median of 0.1 s per side of each state (0.3 s at p90, 1.3 s at most), next to about 5 s to open that side. **The live edge breaches, and whether Max chose them** (from `git log -S`/`-L`; this PR fixes none of them): - **The folded leaf's count badge and news dot**, 1px and 3px from its edge: an accident. #3650 shrank the leaf and kept the badges' offsets. - **The unread dot on the corner of a margin pin and a margin entry**, touching the face's border: Max chose the top-left corner (#6627, and a test pins it) and the dot's size (#6340). The touch came from #3796, which listed the dot sitting on the corner as a point for reviewers to look at; nothing records Max choosing it. - **The 1px strip in the screenshot comparison**, between the frame's border and the picture: an accident of #3704's transparent frame border. - **The option list's rounded corners before the runtime loads:** an accident. #6812's `:last-child` rule can't see the `::after` placeholder that holds the Add/Done row's room until the runtime draws it. - **The comparison's divider, cut at the end of its track:** Web Awesome's own drawing, which the reading now leaves alone. **Guidance:** - `browser/AGENTS.md` now says a round mark stands clear by `--lf-clear` and never touches an edge. The old wording said a dot keeps its corners "wherever it stands". Scored with Opus, 3 runs per arm: the old wording called a dot touching the edge a break 0 of 3 times, the new wording 3 of 3. A thumb, and a field meeting its frame's edge, scored the same under both. - `/developing-leaf` now says stills lists the faults a change adds, and that a change hands over none it can fix. Both versions led the model to fix the dot before handing over, 3 of 3. Without the sentence it misread the fault lines as style changes. **Catalogue states:** a separate commit repairs 11 states that failed on main, most after a 2-minute timeout, which cost every stills run that time. `plan-panel-dictating` and `table-scrolled-sideways` now fail in Firefox within 5 s and say why, because Firefox has no surface for them. **Size:** - tooling: +922 / −7, about 280 of it moved from the tests - tests: +48 / −354 - catalogue states: +80 / −39 - docs: +8 / −4 - lint config: +11 / −5 **Tests:** these ring-helper tests pass, run by node id: - `test_panes::test_a_pane_bodys_ring_is_drawn_whole_against_the_workspace_edges` - `test_rings::test_the_focus_sweep_distinguishes_stops_inside_a_live_frame` - `test_threads::test_the_thread_walk_stops_at_each_unsent_comment` - `test_card_reply::test_next_on_me_rings_the_options_a_card_message_asks_with_whole` - `test_focus::test_the_keys_into_and_out_of_a_panel_thread_land_where_keys_act` All 5,721 browser and journey tests collect. ruff, ty, eslint, oxfmt, vulture, typos and knip pass. > _This was written by Claude Code on behalf of max-sixty_
A thread card's reply box, beside a passage and seated in a widget, now runs to the card's sides and foot, as the floating panel's field already runs to the panel's edges. A box that meets its frame's edge takes the frame's rounding at the corners they share and is square at the others, in the panel and the cards alike;
browser/AGENTS.mdstates the rule under "Visual treatment carries meaning". The padding comes down with it: a card's padding is 6px inside its border and the thread text inset 8px everywhere, so a thread's words stand 15px inside the visible edge of the panel, a margin card and a seated card, where a card stood them 26px in. The panel's leaf is also centred between its field and the panel's edge.Max picked both designs on a Leaf decision page and asked for the padding cut; the square corners are a trial he may revise after using them. Worth a look in use: the card is now carried by the comment box's 6px-outside grip band, and the comment box's field stands 7px inside the card-to-be with its words 8px in, which brings it about 6px closer to a diagram shape's label above it.
Focused browser tests for the card, seat, panel, rewrite and Send placement pass (339). Tests changed with the behaviour: a rewrite in a card stands at the card's padding inside the reply box rather than matching its width; the card reply's focus ring is read one band inside the box; the card's frame test expects the box at the card's edge and the words 15px in; the attachment test reads whether the field wears a ring rather than how far it reaches out; the render-diff journey expects the comment box's words to end 8px in. Two fixtures move off layouts the wider column reflowed: the stuck-head test's later turns are longer, and the latest-message landing test opens at 880px tall.