Repository navigation
Count a summary's fold without calling its messages earlier - #7443
Merged
Merged
Conversation
A summary's fold stands where the messages it folds were said, so it
sits below every message said before them. Its press said "› 1 earlier
message" wherever it stood. Under a question whose follow-up reply the
agent had folded away, after editing the question to carry the reply's
news, the card read as if the folded reply came before the question,
and Max asked why an earlier message stood below. The press now says
only the count ("› 1 message", "› 5 messages"), which holds at a
thread's head, middle or foot, open or closed.
This drops a word from the label Max picked in #6379; the
transcript.ts header records the change and its reason. The summary
and card tests assert the new name, and how-it-works.html quotes it.
> _This was written by Claude Code on behalf of max-sixty_
leaf-agent
approved these changes
Nov 27, 2026
max-sixty
added a commit
that referenced
this pull request
Nov 27, 2026
… whole (#7456) `leaf-dev stills` sometimes reported a change on `summary-card` with identical arms: one arm's still showed the margin card's lower half unpainted, all but the caret. The ring reading stills runs just before each still confirmed covers against a screenshot clipped to its samples, and in Chromium a clipped capture can leave part of the page unpainted in the tab's next capture. The ring reading now reads its samples out of a whole-window capture (`browser.screenshot`), whose docstring states the rule. On one tab at the state, 40 captures each against a settled reference: a clipped shot before each capture left the card's lower tile row blank or re-rastered in 24–29 of 40; with the fix, 0 of 40. `uv run leaf-dev stills --base HEAD --state summary-card` reports it unchanged in 5 of 5 runs. Every state captures through this path, so the fix covers each one that draws a focus ring. Dispatched by Max from the fold-label work (#7443). Tests: the ring cover-confirmation journey test, a thread ring test and `dev/tests/model/test_stills.py` pass. > _This was written by Claude Code on behalf of max-sixty_
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 summary's fold stands where the messages it folds were said, so it
sits below every message said before them. Its press said "› 1 earlier
message" wherever it stood. Under a question whose follow-up reply the
agent had folded away, after editing the question to carry the reply's
news, the card read as if the folded reply came before the question,
and Max asked why an earlier message stood below. The press now says
only the count ("› 1 message", "› 5 messages"), which holds at a
thread's head, middle or foot, open or closed.
This drops a word from the label Max picked in #6379; the
transcript.ts header records the change and its reason. The summary
and card tests assert the new name, and how-it-works.html quotes it.