Skip to content

Set a queue's item summaries at a readable size - #3955

Merged
max-sixty merged 1 commit into
mainfrom
queue-summaries-readable-size
Oct 25, 2026
Merged

max-sixty merged 1 commit into
mainfrom
queue-summaries-readable-size

Conversation

@max-sixty

@max-sixty max-sixty commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

The reader picks the next item in a side-list queue by its summary, and page-layout.md asks authors to start each summary with what the item is about. Summaries were set at the label size, 10.5px at working density, the same size as "To answer" and a group's small capitals, in a 16rem column. In a fresh Opus 5.5 escalation queue at 1600x1000, 1473 of the first window's characters were 10.5px, nearly all of them summaries. The plain HTML control set its list at 13px in a 330px column, and the pair judge credited HTML with "clearer typography ... more comfortable desktop controls".

Summaries now take --t-working-label, the rung between the name's size and the label size: 12px at working density and 13px at the root, against names of 12.5px and 14px. The list column widens from 16rem to 18rem. A page of parts' list shares the rule.

Row heights don't change, since the summary keeps its stated 17px line. A long summary may wrap one line more, and a phone's row strip still reserves one line. Using the names' own size (--t-5) was tried first and rejected, because it made a part's summary as large as the next part's name in code-comparison's list.

Measured effect: in the overnight campaign's end-state comparison, direct pairs of the campaign branch against main favoured the branch on the queue task in 4 of 4 judgments. Two of those judgments named the larger summaries. That branch also carried the guidance changes in #3957, so this measures the two together.

Evidence (local, in the campaign worktree /Users/maximilian/workspace/leaf.agent-a10f091f355e3a600):

  • .tmp/overnight/c5/queue-list-base.png and .tmp/overnight/c5/queue-list-after.png show the queue list.
  • .tmp/overnight/c5/parts-base.png and .tmp/overnight/c5/parts-after.png show a page of parts.
  • The stills alert-queue, alert-queue-touch, side-tab-focus and alert-queue-tally are in .tmp/stills/run-adlp9r05. They were taken at the rejected --t-5.

Checks, on this branch cherry-picked onto current main:

  • tests/browser/widgets/test_tabs.py, tests/browser/test_render_aim.py and tests/browser/controls/test_rings.py with -k "side or queue or repeated_summary or parts": 28 passed.
  • pnpm run test:runtime: 550 passed.
  • pnpm run check:browser passes, so the generated packages/default/theme.css matches its source.
  • pre-commit passes.

This was a commit on the same campaign branch as #3957. It goes on its own because it is a theme change to a different surface, and the known short-window regression on that branch doesn't involve it. #3853 also edits tabs.css (a phone's queue row) and merges cleanly with this change.

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

A side-list queue's summaries are what the reader picks the next item by,
and page-layout.md asks authors to start each with what the item is about.
They were set at the label size, 10.5px at working density (the size of
"To answer" and a group's small capitals), in a 16rem column. In a fresh Opus
5.5 escalation queue at 1600x1000, 1473 of the first window's characters were
10.5px, nearly all of them summaries; the HTML control set its list at 13px
in a 330px column, and the pair judge credited HTML with "clearer typography
... more comfortable desktop controls" (run 20261024-221912-jq86dmn1).

Summaries now take --t-working-label, the rung between the name and the
label size (12px at working density, 13px at the root, against names of
12.5px and 14px), and the list column grows to 18rem. A page of parts' list
shares the rule. Row heights are unchanged, since the summary keeps its
stated 17px line; a long summary may wrap one line more, and a phone's row
strip still reserves one line. Tried first: the names' own size (--t-5),
which left a part's summary as large as the next part's name in
code-comparison's list.

Evidence: .tmp/overnight/c5/{queue-list,parts}-{base,after}.png; stills
alert-queue, alert-queue-touch, side-tab-focus, alert-queue-tally in
.tmp/stills/run-adlp9r05 (taken at --t-5). tests/browser/widgets/test_tabs.py
-k "side or queue": 8 passed.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@max-sixty
max-sixty merged commit 0035041 into main Oct 25, 2026
4 checks passed
@max-sixty
max-sixty deleted the queue-summaries-readable-size branch October 25, 2026 15:02
max-sixty added a commit that referenced this pull request Oct 25, 2026
…#3957)

Leaf dashboards and tuning pages were written as documents. The test was
a release-rollout request: "I glance at it every few minutes ... the
state has to read at a glance". Fresh Opus 5.5 authors on main followed
`page-layout.md`'s "a release dashboard" to a sidebar page set as a
document. Each page opened with a 46px title and a three-line lede, then
metrics and decision prose. The trend chart, region table and checks
fell below a 1600x1000 window, on pages 2229-2692px tall. The plain HTML
control fitted status, metrics, chart, regions, checks, decision and log
in that one window.

On the same run's dashboards, panel headings came out as long all-caps
sentences, such as a three-line, 129-character cause. And when the
user's final settings were recorded on a configuration page, authors
either left the playground authored at today's values under a "Final"
heading, or folded it into a `<details>`.

This PR makes four changes, one per commit.

- **Window guidance** (`page-authoring.md`, "Composing a page"). The
bullet for a screen the reader works in now also covers settings tuned
against their evidence and a dashboard glanced at between other work. It
states the goal: keep the working state in the reader's window, since a
glance or a tuning pass doesn't scroll. It keeps the title and premise
to a line or two and gives `main` `density-working`. A dashboard is a
sidebar page with its regions side by side. `page-layout.md` says what
`density-working` does on a column or sidebar `main`.
- **Theme** (`browser/styles/theme.css`). On a working-density page, a
sidebar page keeps the working title (22px) instead of the wide-page
46px title, and the page starts 28px from the window's top instead of
72px. Only the column and sidebar Layouts read `--page-pad-start`. Among
the examples, only `examples/developer/playwright-trace-gallery.html` (a
`layout-column density-working` main) changes, by that head room.
- **Panel headings** (`page-authoring.md`, "Reading cost"). A
`section.panel` heading is set in small capitals, which read as a
region's name. So the heading names the region in a few words, and the
panel's first line states the finding.
- **An applied playground** (`authoring-revisions.md`). An applied
playground becomes a record. Each control is authored at the chosen
value, so the preview, Reset and the page's account agree. The
playground stays open beside its evidence.
- **The note.** It adds the campaign's retained and rejected changes,
with their numbers, to `notes/agent-usability-evals.md`.

## Known regression: the dashboard at a short window

At a 900x600 window, the branch lost the dashboard 2 of 2, one sample
per arm. The guidance steers a dashboard to a sidebar page. Main's
author wrote a workspace with a compact header and independently
scrolling columns, and that did better at that height. The other
short-window tasks went to the branch on configuration (2 of 2) and
split on the queue (1 of 2), so the branch took 3 of 6 at 900x600,
against 17 of 24 at 1600x1000. A likely next step is for the dashboard
bullet to prefer a workspace when the reader's window is short. That
hasn't been tried.

## Measured effect

All authors were fresh Opus 5.5 Claude Code sessions at 1600x1000, with
Sol live and pair judges, and base = main.

Window guidance and theme:
- Dashboard first versions were 2667-3390px tall on main (median about
3020, n=6) and 1704-1947px with the change (median about 1790, n=6).
- Across the dashboard runs, all 5 candidate authors put
`density-working` on the page and fitted regions, metrics, chart and
decision in the first window. Of 4 base authors, none fitted them all.
- Pair judgments against main went 7 of 8 for the change. Against HTML,
the change took 4 of 4, where the baseline had lost 2 of 2. HTML's
decision control didn't record a choice, and the judge still credited
HTML's use of space.
- Configuration first versions, before the user stated a window, were
1454 and 1944px with all six alerts or three in the window. On main they
were 3332 and 2124px with one. Both arms reached a fitting page once the
user stated the window, and the later pairs went 1 of 4 for the change,
with the judges preferring base's final-record details.
- A document control kept its reading column and document type. The live
judges passed every candidate sample (9 of 9).

Panel headings:
- 7 of 7 earlier Leaf dashboards with panels had at least one panel
heading over 40 characters, up to 129.
- The 2 authors given the line wrote 9 panel headings, the longest 20
characters, each followed by its finding.

Applied playground:
- Candidate authors authored every control at the chosen value with the
tuner open 2 of 2 times, and base 0 of 2. Across every later
configuration run, authors with the line did so 7 of 8 times, authors on
main 0 of 4.
- Pairs went 4 of 4 for the candidate against base. Against the earlier
HTML controls, the candidate took 1 of 4, up from 0 of 4; HTML still won
on its separate final table and aligned rows.

End state:
- The campaign branch against main won 17 of 24 judgments, with two
samples per task: configuration 4/4, dashboard 4/4, queue 4/4, latency
3/4, document 2/4, patch review 0/4. The patch review losses were on
content: which diff the page showed and how it recorded approval.
- The live judges passed 10 of 12 samples on each arm. The defects were
content.
- Codex authors (Sol 6.1) wrote working-density dashboards on both arms,
so the guidance changes nothing there. Their configuration and queue
pairs went to main 4 of 4, for causes outside these changes: a browser
user's wrong click, and an item the author left open. That is n=1 per
task.

That branch also carried the playground label-choice fix (#3953), the
queue summary size (#3955) and the diff fix (#3951).

Evidence (local, in the campaign worktree
`/Users/maximilian/workspace/leaf.agent-a10f091f355e3a600`):
- Dashboard: `.tmp/overnight/c2/` (base-1, base-2, cand-1, cand-2,
html).
- Dashboard and configuration with the final wording:
`.tmp/overnight/c3/`.
- Page heights: `.tmp/overnight/c3/heights.tsv`.
- Configuration final records:
`.tmp/overnight/c4/config-final-{base,cand}-*.png`.
- Panel-heading counts: `.tmp/overnight/panelheads.py`.
- Cycle log: `.tmp/overnight/page-quality.md`.
- Runs: under `.tmp/eval/`.

## Checks

These ran on this branch cherry-picked onto current main.

- `tests/browser/widgets/test_workspaces_and_bounds.py`,
`tests/browser/test_render_gate.py`, `tests/browser/margin/test_rail.py`
and `tests/browser/widgets/test_tabs.py` with `-k "workspace or sidebar
or wide or release_page or working_prose_density or page_form_decides or
title"`: 43 passed, 1 failed.
- The failure is
`test_a_release_page_is_wide_and_keeps_the_log_on_its_newest_line`
(`lp-steps` right edge 1531, expected 1536). It fails the same way on
main, so this change doesn't cause it.
- `tests/model/test_interact_layer.py` and
`tests/model/test_delivery.py` with `-k "skill or reference"`: 4 passed.
- `pnpm run test:runtime`: 550 passed.
- `pnpm run check:browser` passes (the generated `browser/theme.css`
matches its source).
- pre-commit passes.

No open PR changes the same guidance or theme rules. #3898, #3913 and
#3923 also append sections to `notes/agent-usability-evals.md`, so
whichever lands second resolves that conflict by keeping both sections.

> _This was written by Claude Code on behalf of max-sixty_

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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