Repository navigation
Report how far an unreserved widget moves, not only its drawn height - #4117
Merged
Merged
Conversation
The `unreserved-height` advice said a widget "draws 359px tall where its first paint reserves no height, so what follows it moves when it is drawn". Agents read that as a 359 px jump. In the #3174 triage the inline `lf-diff` it named first painted its patch's `<pre>` close to the drawn height, and the largest shift measured was 10 px; the misread size helped justify building a second drawing path beside Pierre. The probe already compares each box with its first paint, so the advice now carries that height (`first`) and states the move, for example "first paints 40px tall, reserving 40px, and draws 120px tall, so what follows it moves 80px when it is drawn". Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
At Max's request after the #3174 triage: agents proposed and nearly landed a first-paint drawing of lf-diff's rows beside Pierre's (+850 / -445), reading "writes a mechanism itself only when existing ones can't meet a concrete requirement" as covering a dependency that draws too late. "Fix the underlying issue", which Tend's review applies, now names reproducing a dependency's or module's output ahead of it, even plainly or in part, as a second implementation, and points to making that path earlier or faster or reserving its room, as "Responsiveness" already does for the server's reading. "Use dependencies" says arriving too late isn't a requirement that licenses one. Scored in the personal second-implementations suite with this file in context: recommending against landing the prototype went from 0/4 to 4/4 for Claude (Codex 4/4 before and after); the triage decision from 0/4 to 3/4 for Claude and stayed 0/4 for Codex, which still plans a first-paint row layout before measuring main. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Max judged it too strong and too specific to #3174: the agents misweighed the trade, and discounting speed doesn't fix the weighing. This reverts commit 7f5f994. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Oct 25, 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.
The
unreserved-heightadvice named only the drawn height: "draws 359px tall where its first paint reserves no height, so what follows it moves when it is drawn". Agents read that as a 359 px jump. In the #3174 triage, the inlinelf-diffit named had first-painted its patch's<pre>close to the drawn height, and the move at desktop width was 10 px (up to 213 px at 420 px wide). Reading the full drawn height as the move inflated the benefit side when agents weighed a fix.The probe already compares each box with its first paint, so the advice now carries that height (
first) and states the move, for example: "first paints 40px tall, reserving 40px, and draws 120px tall, so what follows it moves 80px when it is drawn: state data-height="120"".The render-gate browser test and the render-gate model tests assert the new values and message.