Repository navigation
Let a thread card cover the box that scrolls its row, and close it there in the placement sweep - #6143
Merged
Conversation
…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_
leaf-agent
approved these changes
Nov 16, 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.
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-coversinplacement-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-1440also 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