Skip to content

Restore Draw-mode capture and screen-space control stability checks - #2341

Merged
max-sixty merged 5 commits into
mainfrom
codex/restore-draw-and-control-stability
Oct 11, 2026
Merged

max-sixty merged 5 commits into
mainfrom
codex/restore-draw-and-control-stability

Conversation

@max-sixty

@max-sixty max-sixty commented Oct 11, 2026 •

Copy link
Copy Markdown
Owner

Draw mode once again captures gestures over page-widget controls, so drawing over a choice cannot select it. Leaf’s existing surface boundary keeps its own controls usable; draft editing tools and the native editor identify themselves at their producer and remain usable in Draw and Design modes. The gallery describes the restored behavior.

The neighboring-control stability check now measures viewport rectangles instead of subtracting the moving group’s origin. A negative control detects a whole row moving both within and beyond the viewport. Click journeys settle automatic scrolling before taking their baseline. Browser health collection releases frames whose native lifetime ends during judgement, while propagating errors from live frames; deterministic detachment and sensor-failure controls cover that validation race.

Validation: the restored Draw regression and movement negative control failed before the fixes. The 18 original focused browser tests passed. After integrating main, all 323 runtime tests, four focused browser cases and deterministic health-judgement regressions, and changed-file pre-commit checks passed. Claude independently reviewed the design and final diff; its findings were addressed. Independent browser review covered mouse, keyboard, Escape, draft saving, and mobile touch. A served before/after journey confirmed choice activation becomes drawing capture with no additional startup requests (253 on each version of the current-main comparison).

This was written by Codex on behalf of max-sixty

leaf-agent
leaf-agent previously approved these changes Oct 11, 2026
@max-sixty
max-sixty merged commit 6349f75 into main Oct 11, 2026
6 checks passed
@max-sixty
max-sixty deleted the codex/restore-draw-and-control-stability branch October 11, 2026 05:09
max-sixty added a commit that referenced this pull request Oct 12, 2026
…a red test (#2607)

Bot CI repairs have reversed deliberate behavior twice. After #1781 let
thread cards cover the margin rail to keep message width, #1810 changed
the code back to satisfy an old test, and #1838 rewrote the remaining
test to match; #2330 restored it. Then #2102 landed after "Reading a red
suite" already asked Tend to preserve intended behavior. It let every
widget-offered control keep its pointer gestures in Draw mode, so
clicking a choice selected it, and it rewrote the capture test on the
bot reviewer's request; #2341 repaired it.

"Reading a red suite" now names what a repair weighs: the intent of the
change that turned the test red, and the interface users and callers
rely on. A repair keeps both where it can. Where no repair can,
reverting the change, or the part at fault, is allowed. A revert, any
intent given up, or an interface moved beyond the change needs an issue
addressed to the change's author, so the fix can return deliberately.
For a bot's change, that is the person who requested or merged it, or
the maintainer. The rule covers changes still in a pull request, and the
review threshold holds any fix for a red test to it.

Validation: a scratch A/B with each arm's running-tend pasted into the
prompt (Opus 5.5; 2–3 runs per scenario per arm). Both arms reverted an
unsafe change and filed an issue; the new text's issues carry the
intent, the conflict and what was given up. Both arms updated only the
test, with no issue, for a pure rename and for a test the change
deliberately made stale. Both refused to merge the #2102 shape. These
cases establish conformance, not a measured improvement: the failures
happened deep in long CI sessions, which a cold scenario does not
reproduce. Codex reviewed the text, and its two findings (scope to open
pull requests, an addressee when no person touched a bot change) are
applied.

> _This was written by Claude Code on behalf of max-sixty_

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants