Skip to content

Keep at Skim whatever the author marks for a quick pass, pictures included - #6578

Merged
max-sixty merged 7 commits into
mainfrom
skim
Nov 20, 2026
Merged

max-sixty merged 7 commits into
mainfrom
skim

Conversation

@max-sixty

@max-sixty max-sixty commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

The detail dial's Skim now shows the lede, each block the author marks .gist, of any kind, and the headings above them. #6543 kept every picture by a list of tags (visualTags: svg, img, figure and widgets that draw one), whether or not a skimmer needed it, so a video or a canvas folded unless marked and a picture that only illustrated stayed; the list had already grown exceptions for decoration and widget icons. This deletes the list and its exceptions. The detail package's author instructions and registry text now say a gist is whatever a reader needs to understand the page at a high level, often a picture, and that a picture showing the argument is a gist while one that only illustrates is not. A figure holding a gist stays whole at Skim, so a chart marked inside one keeps its caption. The incident report marks its latency chart.

Max asked for this on the Skim decision page: "skim should be goal-orientated, it shouldn't have some list of stuff it has to keep. It should optimize cut what isn't needed to understand things at a high level. Very often we'll want to keep video & canvas etc!"

To weigh: a picture the author doesn't mark now folds at Skim, so what Skim shows rests on the author's judgment. The postmortem eval skim-carries-the-argument now offers a decline chart a skimmer needs and a pool diagram she doesn't, and a new rubric checks that every picture of the failure shows at Skim and none of skipped material does. Against main on Claude Code (6 head and 5 base pages), every head author marked the decline chart, head's Skim folded every timeline widget, which main's tag list kept on 4 of 5 pages, and the two existing metrics didn't move. Authors also marked the diagram of the failing host and filled its caption with pool background, which Skim shows. A last instruction sentence, that a gist picture's caption says what the picture shows, took that from 3 of 5 gist captions to 0 of 5 in a second comparison of 6 pages each, and the folds-what-it-skips rubric from 3/6 to 5/6.

Tests: test_skim_keeps_what_the_author_marks_whatever_it_is (tests/browser/widgets/test_dial.py) keeps a marked figure, chart, video, canvas and tab figure at Skim, keeps a figure's caption with a picture marked inside it, and folds unmarked pictures; it fails on main's dial. pnpm run check:framework passes.

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

…luded

Skim kept every picture by a list of tags (`visualTags`: `svg`, `img`, `figure` and
widgets declaring `visual`), whether or not a skimmer needed it, so a video or a canvas
folded unless marked and a picture that only illustrated stayed. The list had already
grown exceptions for decoration and for the icons a widget draws. On 2026-11-19 Max
asked for Skim to be goal-oriented: "it shouldn't have some list of stuff it has to
keep. It should optimize cut what isn't needed to understand things at a high level.
Very often we'll want to keep video & canvas etc!"

Behavior change: Skim shows the lede, each block marked `.gist`, of any kind, and the
headings above them. A picture the author didn't mark folds with the words around it.
The detail package's author instructions and registry text now say a gist may be any
block, often a picture, and that one showing the argument is a gist. The incident
report marks its latency chart.

`visualTags` leaves the widget API, since the dial was its only caller there; the
comment controls keep reading it from its module.
skim-carries-the-argument's postmortem now gives the EU decline rate per 5 minutes
and the gateway pool's layout, inviting a chart a skimming lead needs and a diagram
she doesn't. A new rubric, skim-keeps-the-failure-picture, passes a page only if
every picture of the failure's course or size shows at Skim and no picture of
skipped material does.

Scored on Claude Code, the goal-oriented instructions (head) against main's (base),
two rounds of 3 + 3; one base sample lost its grades to a scratch-cleanup error
(Errno 66 in arms.scratch), leaving 6 head and 5 base pages:

- skim-reads-coherently: head 5/6, base 4/5
- skim-folds-what-it-skips: head 3/6, base 3/5
- skim-keeps-the-failure-picture: head 6/6, base 0/5

Base fails the new metric by construction, since its authors mark no picture; its
Skim still kept the decline chart by the tag list, and also the lf-timeline on 4 of
5 pages. Every head author marked the decline chart, and head folded every
timeline. Re-grading round 1 after a rubric clarification changed none of 15
verdicts. Between rounds the Impact paragraph was reworded so 7.2% is the height
from 09:30 to 09:55, after one author flagged it contradicting the series.
leaf-agent
leaf-agent previously approved these changes Nov 20, 2026
A chart or image the author marked inside a `figure` lost its caption at Skim: the
dial entered the figure, kept the marked picture and folded the `figcaption`, with
its ⋯ between them. The tag list from #6543 had kept every figure whole, so the
goal-oriented rule regressed this. A figure's caption labels all it holds, so the
dial keeps a figure whole, as it does a table and a disclosure.

A heading inside a closed `details` no longer makes the dial enter its section.
`#holds` skipped a gist there but not a heading, so a section whose only gist sat
under a heading in a closed disclosure stayed as an empty box holding a ⋯ rather than
folding whole.

The extending page's Detail card no longer says Skim keeps pictures, and the eval's
picture rubric counts a picture as shown at Skim by the author's marks rather than
claiming an unmarked picture never shows, which a gist sharing its tab, table or
figure disproves.

Found by a cold review of #6578.
A picture the author marks shows at Skim with its caption, and authors captioned the
gateway pool diagram in skim-carries-the-argument with background (64 connections,
pool reuse, fraud rules), which Skim then showed. The detail package's author
instructions now say a gist picture's caption says what the picture shows and leaves
background to the text Skim folds.

Scored on Claude Code, two rounds of 3 + 3 against the previous commit's
instructions:

- gist pool-figure captions carrying background: 0/5 against 3/5 (one-sided Fisher
  p about 0.08; 0/5 against 8/10 pooling the earlier pages written under the same
  instructions, p about 0.007)
- skim-folds-what-it-skips: 5/6 against 3/6
- skim-reads-coherently and skim-keeps-the-failure-picture: 6/6 each

Authors marked as many pictures and kept every caption; the background moved into
unmarked paragraphs, a closed details or a Background section.
leaf-agent
leaf-agent previously approved these changes Nov 20, 2026
An unmarked figure holding headings stayed whole at Skim when a gist followed it: its
last heading's walk left the figure, found the section's gist, and counted as
something Skim shows inside the figure, so both pictures, both headings and the
caption showed. The extending page has figures of this shape. A heading inside a
figure, table, disclosure or Leaf element can't stand without the block around it,
so the dial keeps such a block only for the dial, a lede or a gist inside it, and
counts headings only when deciding whether to descend into plain structure. An open
`details` holding a heading but no gist now folds the same way.

Found by the review of the previous commit.
leaf-agent
leaf-agent previously approved these changes Nov 20, 2026
@max-sixty
max-sixty merged commit 16783d8 into main Nov 20, 2026
6 checks passed
@max-sixty
max-sixty deleted the skim branch November 20, 2026 07:10
max-sixty added a commit that referenced this pull request Nov 20, 2026
…mes pictures itself

main (#6578) removed the dial's picture-tag list and `visualTags` from the widget
API. The size prototype's Skim sizes now follow main's rule (`#kept`); it still times
each picture at 12 seconds, with its own selector for what draws rather than says.
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