Skip to content

Skim: state the goal for what it shows, instead of one gist per section #5539

Closed

Description

@max-sixty

What happens

The detail package's author instructions say "Open each section with its gist", and the lf-dial registry entry says "mark each section's conclusion .gist". Skim also keeps every heading. Together they make Skim a fixed cut: every heading, each followed by its section's first paragraph.

On a long report, a reader who skims gets one paragraph per section whether or not that section matters to them. A section with nothing for a skimmer, such as the method or an appendix-like section, still shows its heading and a paragraph. Leaving that section's gist out doesn't help, because its heading stays at Skim on its own.

What I expected

Skim should give the reader what they want from a quick pass: the page's argument and anything they must act on, reading coherently from top to bottom. Which passages carry that is a judgment the author, usually a capable model, can make once it knows the goal. Often those passages lean toward the early sections, but they won't always be each section's first paragraph, and some sections contribute nothing.

Proposal

  • Rewrite the detail author instructions and the lf-dial x-instructions to state that goal and the considerations that bear on it, in place of the one-gist-per-section rule. Considerations worth naming: who reads the page and what they come for; the passages kept at Skim must read as a coherent whole, each standing on its own; early material often carries more weight; a decision the reader owes must not be missed; a section can contribute nothing.
  • Let Skim fold a section that has no gist, heading included, so that an author's choice to leave a section out takes effect. An open question is whether a folded section should still show somewhere for navigation, such as in its run's ⋯ marker.

Repro

  1. Write a page with an lf-dial and five sections, following the author instructions.
  2. Switch to Skim: every heading shows, each with one paragraph.
  3. Remove the .gist from one section and switch to Skim again: that section's heading still shows, now with nothing under it.

Seen on leaf 53337b5, installed 2026-11-05T11:27:44-08:00.

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

Activity

  1. added
    enhancement
    on Nov 5, 2026
  2. leaf-agent commented on Nov 6, 2026

    @leaf-agent
    Collaborator

    I opened #5588 to implement the proposal. A heading now stays at Skim only when a lede or gist follows it before the next heading of its rank or above, so a section with no gist folds away whole, heading included. The detail author instructions and the lf-dial / .gist registry text now say what Skim is for and what an author weighs, in place of the one-gist-per-section rule.

    A new browser test covers sectioned and flat markup. It failed on the base and passes on the branch. CI is still running, and because the PR changes shipped agent instructions, I've left the merge for you to approve. On the open question: a folded section is currently reachable only through its run's ⋯ marker, find-in-page, fragments and travel. The marker doesn't name the sections it holds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions