Repository navigation
Score whether a reviewer catches three missed thread defects; check controls by reaching them; probe with normal motion - #4623
Merged
Conversation
…ck controls by reaching them The per-message Copy work shipped three defects the user found by hand: a later message's controls mid-card, painted over by its head row's cell after a merge, and left lit after a press when the pointer moved on. `evals/ui-review-detection` now holds each as a defect/control pair differing only in the CSS rule behind it, and its browser arm gains a `hover` operation, without which a reviewer can't reveal a hover-shown control. The suite had stopped preparing since #3593 rewrote the stepping case's pinned dependency path; that path is restored. Calibration (README): with frames supplied, Opus caught the covered and lit controls 3/3 each and no control was flagged; driving the browser from arrival, no reviewer reached the lit controls, because each pressed Copy and then clicked elsewhere rather than resting the pointer on another message. `developing-leaf` told authors to check the reader's controls by their computed geometry, which is what the Copy layout test asserted while a cell painted over the button. It now asks that the user can see and reach each control, reached the user's way with a Playwright hover or click, whose actionability check refuses a covered one. > _This was written by Claude Code on behalf of max-sixty_
`leaf-dev probe` used reduced motion unless it was recording, so every plain probe skipped the page's animations. In the send-arrow work no probe ever played the reply box's growth on a newline, and the user found the jump in it. Probes now default to normal motion; `--motion reduce` remains for a reading that wants transitions settled at once. The probe still waits for the page to settle before a reading: after a `t` step on `review-a-plan`, no animation was running under either preference. > _This was written by Claude Code on behalf of max-sixty_
leaf-agent
approved these changes
Oct 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two UI sessions (per-message Copy, the reply box's send arrow) kept handing over defects you found within seconds. This branch adds what the diagnosis showed was missing: an eval of whether a fresh reviewer catches those defects, a corrected instruction about how to check controls, and a probe default that matches what you see.
Eval: three thread defects in
evals/ui-review-detection. Each defect is reconstructed in a fixture and paired with a fixed control.message-copy-placement: Copy stands one track in from the card's edge.later-message-controls: a head-row cell paints over a later message's controls.controls-after-a-press: controls stay lit after a press, while the pointer rests on another message.The browser provider gains a
hoveroperation, since a reviewer couldn't reveal hover-only controls without it. The capture step checks each fixture against its rubric target. Results from the 2026-10-28 calibration with Opus and Sol:The README records the details. The branch also restores the stepping fixture's dependency path. #3593 had rewritten it, and
--prepare-onlyfailed until it was fixed.developing-leaf, "Prove and hand off a visible change". The skill told the author to check controls by "their computed geometry before and after the input", and the Copy test did exactly that. It passed while a cell painted over the button. The sentence now asks the author to check that the user can see and reach each control, and to reach it with a Playwright hover or click. Playwright's actionability check refuses a covered control.leaf-dev probedefaults to normal motion. The reduced-motion default hid the reply box's newline animation in every probe of the send-arrow session.--motion reduceremains for a reading that wants transitions settled at once. After the probe's settle step, no animation was still running under either setting.uv run leaf-dev eval-ui-review --prepare-onlypasses on the merged tree.