Skip to content

Count a summary's fold without calling its messages earlier - #7443

Merged
max-sixty merged 1 commit into
mainfrom
thread-fold-label
Nov 27, 2026
Merged

max-sixty merged 1 commit into
mainfrom
thread-fold-label

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

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

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_
@max-sixty
max-sixty merged commit c21e060 into main Nov 27, 2026
6 checks passed
@max-sixty
max-sixty deleted the thread-fold-label branch November 27, 2026 21:15
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_
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