Skip to content

Let a thread card cover the box that scrolls its row, and close it there in the placement sweep - #6143

Merged
max-sixty merged 2 commits into
mainfrom
agent-aa72ed628d5099d5e
Nov 16, 2026
Merged

max-sixty merged 2 commits into
mainfrom
agent-aa72ed628d5099d5e

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

A thread card under a row in a log can cover every visible part of that log. This happens in a workspace pane about as wide as the card, once the row scrolls past the log's top, and then the wheel can't reach the log. Max chose to accept that state rather than narrow the card. The reader closes the card to scroll the log and opens it again. A new rule, scroll-covers in placement-rules.json, records this. The runtime's placement doesn't change.

The placement sweep failed in that state with "no spot takes the wheel for wlog-6" (test_every_card_keeps_the_placement_rules[workspace-1000]), and that case now passes as the rule's regression case. When the card covers the box the sweep would wheel, the sweep closes the card as the reader does, wheels, and opens the card again for the next state. It skips the rest of a run of wheel steps that the covered log interrupts. It still fails when something other than the card covers the box. The same state also occurs in two-pane windows of about 1280px, which the sweep doesn't run.

Tests: the six sweep cases pass by node id with --run-nightly. column-1440 also fails at teardown on the unchanged style write on the card that #6139 tracks, and it does the same with main's copy of the test.

Closes #6047

This was written by Claude Code on behalf of max-sixty

…ere in the placement sweep

A card under a row of a log, in a workspace pane about as wide as the
card, covers every visible part of the log once the row scrolls past the
log's top, so the wheel no longer reaches the log. Max chose to accept
that state rather than narrow the card: the reader closes the card to
scroll the log, and opens it again. `scroll-covers` in
placement-rules.json records the rule. The runtime's placement is
unchanged.

The placement sweep failed in that state with "no spot takes the wheel
for wlog-6" (`workspace-1000`). Where the card covers the box the sweep
would wheel, the sweep now closes the card as the reader does, wheels,
and opens the card again for the next state. It still fails where
something other than the card covers the box. Changed test behaviour: a
covered scroller is no longer a failure, and the rest of a run of wheel
steps that the covered scroller interrupts is skipped.

Tests: the six sweep cases pass by node id with --run-nightly.
column-1440 also reports, at teardown, the unchanged style write on the
card that #6139 tracks; main's copy of the test reports it too.

Closes #6047

> _This was written by Claude Code on behalf of max-sixty_
@max-sixty
max-sixty merged commit 6f499e6 into main Nov 16, 2026
4 of 5 checks passed
@max-sixty
max-sixty deleted the agent-aa72ed628d5099d5e branch November 16, 2026 08:37
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.

test_every_card_keeps_the_placement_rules[workspace-1000]: the full-measure card covers the whole log pane it is about

2 participants