Repository navigation
Measure how agents revise pages across the Layouts, and what each workspace pane holds - #3913
Merged
Merged
Conversation
…on that adds a document build a page of parts
TODO.md's "Test the Layouts on agents" asked whether pages hold when an agent revises them into another shape, and whether a workspace works as a screen. This adds the cases and the workspace measurement, records what 25 judged samples showed in `notes/agent-usability-evals.md` ("Layouts under revision, 2026-10-24"), and fixes the defect they exposed most often.
## Cases
- `document/live-status`, `dashboard/write-up` and `queue/hand-off` run their task's author, width preference, passage comment and browser decision, then send one revision that changes what the page is for: the review becomes the page the team follows during the rollout, the dashboard gains the incident write-up, the worked queue gains a hand-off. Each rubric checks the new use, the earlier record and the comment thread. `arrangement_eval` gains two optional scenario inputs for this: `revision`, sent as a fifth phase, and `request`, the task whose request a scenario starts from.
- `dashboard/cold` asks a fresh author for "a dashboard" from mixed material, graded by an over-tiling rubric and `page_defects.py`.
## Pane readings
`dev/leaf_dev/pane_readings.py` reads, at each judged viewport and before the live judge explores, every region Leaf scrolls inside a workspace shown on arrival (the runtime's reading-region inventory): its box, how many of its own heights it holds, the share of its box that no content comes near at its top and end, and the Tab press that first reaches it. `judge_pages` puts the readings in the judge's task and in the judgment's metadata, so every live judge (arrangement, `page_defects`, `eval-pairs`, `eval-discover`) gets them.
## What the runs showed
On main (`f00911ed1`), only 1 of 7 judged authors who added a write-up to the dashboard or a hand-off to the queue built a page of parts, though `page-authoring.md` says parts that each want their own Layout are one. The rest put the document in a tab of the queue's list, a tab inside a workspace pane, a 2×2 grid of prose sections, or root page tabs each carrying a Layout, where `layouts.css` arranges nothing and the workspace silently flowed with the page; judges found those documents read in 475px panes or 618×484 panes holding 4.5 screens. A scan of 517 saved pages found that last placement only once, so it gets no check. The cold dashboards did not over-tile (4 of 4). The width preference turned three of four dashboards into three-pane workspaces, each judged cramped at 900×600; TODO.md now carries that as the next item. Tab reached every workspace pane whose content ran past its box.
## The fix
One sentence on the parts bullet in `page-authoring.md`, "Composing a page": a revision that adds a part wanting its own Layout composes the same way, so a write-up added to a dashboard or a hand-off added to a queue becomes a column part beside the existing Layout's. It goes there rather than `authoring-revisions.md` because no author on main opened that reference during the revision turn.
| Arm | Harness | Revisions built as parts | Judge passes |
| --------- | ----------- | ------------------------ | ------------ |
| main | Claude Code | 1 of 4 | 1 of 4 |
| this PR | Claude Code | 4 of 4 | 2 of 4 |
| main | Codex | 0 of 3 | 1 of 3 |
| this PR | Codex | 4 of 4 | 3 of 4 |
The remaining defects were not about composition. Part of the pass difference is variance in the earlier width-preference turn, which the sentence does not touch. On Claude Code the sentence also turned both `document/live-status` revisions into pages of parts (main 1 of 2), whose judged defects were content. `parts-take-their-own-layouts`, `page-arrangement-uses-layouts` and `surface-page-takes-the-window` passed 12 of 12 on both arms. Two samples a cell show direction, not a rate. The main arm is the run on main's commit, not a `--base` arm run beside the candidate.
## Harness fix
The browser user's passage selection could land on the contents outline's copy of a heading, which Leaf generates and offers no comment route for; one sample failed that way. `eval_user.py` now skips generated words (`.lf-ui, [data-lf-gen]`).
## Checks
`uv run pytest dev/tests/test_evals.py dev/tests/model/test_eval_discover.py -q -n0`, the pre-commit hooks, and the eval runs listed in the note (about $50 of Claude Code spend; Codex reports none).
Not verified: one Codex queue sample finished all phases but scratch cleanup failed ("Directory not empty") and it was never judged; pane readings cover only a workspace shown on arrival, so a queue moved into a later part goes unmeasured.
Calls Max may reverse: the revision rubrics name what the result must keep, and the queue rubric says the hand-off should not be confined to a tab beside the queue, which one judge then counted against a tab in the list; the sentence's placement in `page-authoring.md`.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…eaf pages only, and drop the revision guidance Review of the first commit: - The browser user's passage selection skipped every generated word, which dropped tab labels, board column headings and option labels a comment can anchor to. It now selects words in the page's own reading (`pageText`), the canonical rule. - Pane readings reach a judge only when every page it judges is a Leaf page, so a Leaf/HTML pair judge never sees measured defects on one side alone. - The page-authoring sentence is dropped. Its goal-level rewrite, scored with `--base` paired arms, changed nothing measurable: main built pages of parts 3 of 4 times on Claude Code (rewrite 4 of 4) and 0 of 1 on Codex (rewrite 0 of 2); judge passes 3 of 6 against 4 of 6 on Claude Code. The note records both wordings. - The note no longer claims the candidate dashboards' comments anchored: both Codex ones fell back to whole-page comments. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This was referenced Oct 25, 2026
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]>
max-sixty
added a commit
that referenced
this pull request
Oct 25, 2026
…horing-effort campaign (#3960) The arrangement executor pinned every author's `page check --render` to the fixed 1280×720 window, so authors fought a constraint Leaf doesn't impose in use. This PR stops that, and records the 2026-10-24 authoring-effort campaign in `notes/agent-usability-evals.md`. **Unpinned author render checks.** `arms.environment` pins the render check's window for every child so a judged page's verdict doesn't depend on who last viewed it, and that pin also reached the authors. In the width phase the user states a 1600×1000 window, but the browser user first opens the page in the comment phase, so every render check kept reading 1280×720 ("fixed, pinned by LEAF_RENDER_VIEWPORT"). In 8 of 12 Claude Code Leaf width revisions the author hunted for a way out: it ran `LEAF_RENDER_VIEWPORT=1600x1000 leaf page check` (a ValueError), grepped Leaf's source for the variable, unset it, and took its own screenshots. In use the check reads the window the user's browser last reported, so this cost came from the harness. Leaf authors now run unpinned, and after the first handoff the executor opens the page once at the run's first window, as the user who said "I'll open it" would, until the page records the view. The harness's own checks keep the pin. Configuration workflow, Claude Code (Opus 5.5), 5 samples after the change: render checks after the handoff read 1600×1000, "the user's window"; no call named the variable (0 of 5, against 4 of 6 before); width-phase minutes 2.1, 2.0, 2.2, 2.2, 2.8 against 2.6, 2.8, 1.6, 1.9, 1.9, 4.9; 4 of 4 judged samples passed. One sample's scratch cleanup failed with "Directory not empty" on its state home after the Stop hook was killed (137); the next 3 ran clean. **The notes section** ("Authoring effort, 2026-10-24") records where a Leaf author's first turn spent time an HTML author's didn't, the repair for each sink with its before and after counts (#3952, #3954, #3956, #3959), the full-workflow validation on Claude Code and Codex, the record review's measured cost, and the decision-overclaim observation with the reader split behind #3959's wording change. The per-cycle log and scripts stay in the campaign worktree's `.tmp/overnight/`. Overlap: #3913 also edits `dev/leaf_dev/arrangement_eval.py` (task selection, not the render pin), and #3898, #3901, #3913 and #3923 each add to `notes/agent-usability-evals.md`; whichever lands second takes a textual merge. Checks run: `dev/tests/test_evals.py` and `dev/tests/model/test_eval_discover.py` (3 pass); an import of `leaf_dev.arrangement_eval`; pre-commit over the diff. The executor change itself was exercised by the campaign's 5 post-change workflow samples, not rerun here. > _This was written by Claude Code on behalf of max-sixty_ --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This was referenced Oct 25, 2026
max-sixty
added a commit
that referenced
this pull request
Oct 25, 2026
The backlog is now GitHub issues labelled `backlog`. Every item under Now, Next and Etc in `TODO.md` became one issue, so a pull request that says `Closes #N` links itself to its item, and a session finds untaken work with a query instead of reading a file that has no claim signal. #4000 landed first, so none of the new issues started a triage run (all 82 `tend-triage` runs were skipped). **Query.** ```bash gh issue list --search "label:backlog label:now -label:waits-on-user -linked:pr" ``` then `label:next` and `label:etc`. `-linked:pr` leaves out issues a pull request already links with a closing keyword. **What moved where.** - 82 issues from #4007 to #4089 (#4067 is another session's), one per bullet. Each is labelled `backlog` and its priority: 13 `now`, 29 `next`, 40 `etc`. Now and Next items also carry a theme mapped from their `###` heading: `ux` (User experience; User continuity and mobile access), `agent-experience` (Agent and author experience; The agent's text interface), `layout` (Layout; Layout stability; Queues), `review-tools` (Before/after comparison; Recorded interaction review) and `dev-velocity`. Etc's two headings, Product and harness ideas and Implementation candidates, sort kinds rather than subjects, so those items carry no theme. - 14 items also carry `waits-on-user`, the "Waits on the user" marking from #3891 (`todo-review`), and their bodies take that branch's wording, including its rewrite of the held-news item as "Keep a held-news count whole as it grows" (#3459 landed the "+N" route). `TODO.md` says what the label means, and the query above leaves those items out. - After the migration, #3891's author asked for three more edits from the grind PRs that touch these items: #4039 is retitled "Decide whether Pixels should soften redrawn-shadow fringes" (#3838), #4039 and #4048 (#3840) also carry `waits-on-user`, and #4098, "Keep a window preference from cramping a dashboard into a workspace", is the item #3913 puts in place of #4033. - Each title is the bullet's bold outcome. For the bullets whose bold text is a label ("Multiplayer:", "MCP Apps:"), the title adds the bullet's first clause. - Each body is the bullet's text with its hard wraps joined (GitHub renders a single newline as a line break), relative links made absolute, and `notes/` paths linked. A footer gives the bullet's `TODO.md` permalink, its heading, its position within its priority, the old `TODO #N` id for the six that had one, and the theme section's introduction where there was one. #4014's mention of the reply-widgets item now links #4089. - `TODO.md` keeps "Biggest current challenges" unchanged. Its priority explanation now says the items live in issues, what the labels mean, and how to query them. - `/developing-leaf` gains "Take a backlog item": pick an unclaimed issue that isn't waiting on the user, and open the PR early with `Closes #N`. It points at `TODO.md` for the query, so the rule and the query each have one home. - Every reference to a current `TODO.md` item now names its issue: `AGENTS.md`'s repository map, `/developing-leaf`, the thread snapshot skips, `journey.py`, `thread_snapshots.py`, `llm.py`, `test_tabs.py`, the Worker, two eval comments and five notes. - #3891's two note edits come along (`notes/browser-support.md`'s recheck rule, `notes/user-feedback-responsiveness.md`'s retired tone lever), since #3891 will drop its `TODO.md` changes. **Order.** Each issue's footer records its old position ("item 6 of 13 in Now"). I didn't keep an ordered index in `TODO.md`: it would be a second list of the backlog that every new issue has to be added to by hand, and it would drift from the labels. The priority label is the ordering that stays current. **Duplicates.** None of the 15 open issues duplicated an item, so every item is a new issue. **Mapping.** The old-item-to-issue table, with open PRs whose titles match an item, is below; the same table is at `~/.tmp/leaf.agent-afd0a8c0d63089ed9/backlog-mapping.md`. <details><summary>82 items</summary> | Issue | Priority | Old position | Old id | Title | Possible PRs | |---|---|---|---|---|---| | [#4007](#4007) | now › User experience | 1 (TODO.md line 43) | | Make complete reading journeys feel coherent | #3860, #3865 | | [#4008](#4008) | now › User experience | 2 (TODO.md line 47) | | Keep the Thread hierarchy clear | | | [#4009](#4009) | now › User experience | 3 (TODO.md line 49) | | Keep a long Thread's current status visible | | | [#4010](#4010) | now › User experience | 4 (TODO.md line 53) | | Test annotation placement in context (waits-on-user) | | | [#4011](#4011) | now › User experience | 5 (TODO.md line 57) | | Make the next move and its result apparent | #3879 | | [#4012](#4012) | now › User experience | 6 (TODO.md line 62) | TODO #28 | Finish the floating panel (waits-on-user) | | | [#4013](#4013) | now › User experience | 7 (TODO.md line 69) | | Keep a held-news count whole as it grows (waits-on-user) | | | [#4014](#4014) | now › User experience | 8 (TODO.md line 80) | | Stop moving live content between parents | | | [#4015](#4015) | now › Agent and author experience | 9 (TODO.md line 94) | | Wake idle Codex desktop chats without user messages | | | [#4016](#4016) | now › Agent and author experience | 10 (TODO.md line 99) | | Consider a reminder when revising decided content (waits-on-user) | | | [#4017](#4017) | now › Agent and author experience | 11 (TODO.md line 104) | TODO #20 | Act on the plain HTML comparison | | | [#4018](#4018) | now › Agent and author experience | 12 (TODO.md line 118) | | Keep delegated work in the panel's status on Codex and Pi | #3854 | | [#4019](#4019) | now › Agent and author experience | 13 (TODO.md line 123) | TODO #24 | Measure time to an initial reviewable page and the value of review | | | [#4020](#4020) | next | 1 (TODO.md line 149) | | Add a host-owned widget LLM allowance (waits-on-user) | | | [#4021](#4021) | next › User continuity and mobile access | 2 (TODO.md line 159) | | Bring back a rewrite Escape discarded | #3862 | | [#4022](#4022) | next › User continuity and mobile access | 3 (TODO.md line 163) | | Decide when a page merits a separate phone composition (waits-on-user) | | | [#4023](#4023) | next › User continuity and mobile access | 4 (TODO.md line 169) | | Improve maintained examples through a phone-quality queue | #3869, #3899, #3902 | | [#4024](#4024) | next › User continuity and mobile access | 5 (TODO.md line 175) | | Decide whether Back may restore a leaf.page page whole (waits-on-user) | | | [#4025](#4025) | next › User continuity and mobile access | 6 (TODO.md line 182) | | Consider automatic Leaf recovery on resume | | | [#4026](#4026) | next › User continuity and mobile access | 7 (TODO.md line 185) | | Verify the native phone reading journey | | | [#4027](#4027) | next › User continuity and mobile access | 8 (TODO.md line 189) | | Finish what a phone user still cannot reach | #3856, #3868, #3874, #3875 | | [#4028](#4028) | next › User continuity and mobile access | 9 (TODO.md line 199) | | Reconsider thread navigation (waits-on-user) | | | [#4029](#4029) | next › Layout | 10 (TODO.md line 224) | | Show returning threads without moving the current reading | #3883 | | [#4030](#4030) | next › Layout | 11 (TODO.md line 229) | | Let a page restyle Leaf's chrome on purpose (waits-on-user) | | | [#4031](#4031) | next › Layout | 12 (TODO.md line 235) | | Let a block be a workspace | | | [#4032](#4032) | next › Layout | 13 (TODO.md line 245) | | Show each floating surface across the content it can hold | | | [#4033](#4033) | next › Layout | 14 (TODO.md line 275) | | Test the Layouts on agents | #3913 | | [#4098](#4098) | next › Layout | 14, added by #3913 in #4033's place | | Keep a window preference from cramping a dashboard into a workspace | | | [#4034](#4034) | next › Layout | 15 (TODO.md line 285) | | Layout values that wait for a task: list-detail on a phone, canvas regions, slides | | | [#4035](#4035) | next › Layout | 16 (TODO.md line 288) | | Decide whether a too-narrow table fails a page at the fixed widths (waits-on-user) | | | [#4036](#4036) | next › Layout stability | 17 (TODO.md line 298) | | Keep what a live revision adds above the reader from moving it | | | [#4037](#4037) | next › Layout stability | 18 (TODO.md line 304) | | Keep the merge film's controls still as it steps | | | [#4038](#4038) | next › Queues | 19 (TODO.md line 314) | | Keep the open item's group named on a phone | #3853 | | [#4039](#4039) | next › Before/after comparison | 20 (TODO.md line 323) | TODO #29 | Decide whether Pixels should soften redrawn-shadow fringes (waits-on-user; was "Explain the faint amber halo in Pixels") | #3838 | | [#4040](#4040) | next › Recorded interaction review | 21 (TODO.md line 333) | | Explore DOM selection in the imported timeline | | | [#4041](#4041) | next › The agent's text interface | 22 (TODO.md line 343) | | Decide the Leaf-owned defects the bad-pages eval left open (waits-on-user) | | | [#4042](#4042) | next › The agent's text interface | 23 (TODO.md line 350) | | Read the full render gate after handover | #3888 | | [#4043](#4043) | next › The agent's text interface | 24 (TODO.md line 366) | | Consider loading a page once per render check (waits-on-user) | | | [#4044](#4044) | next › The agent's text interface | 25 (TODO.md line 372) | | Derive the waiting status from the page's open obligation | | | [#4045](#4045) | next › Development velocity | 26 (TODO.md line 380) | | Require `test` on `main` again (waits-on-user) | | | [#4046](#4046) | next › Development velocity | 27 (TODO.md line 386) | | Resume the thread appearance gate (waits-on-user) | | | [#4047](#4047) | next › Development velocity | 28 (TODO.md line 394) | | Guard thread appearance on CI again | #3896 | | [#4048](#4048) | next › Development velocity | 29 (TODO.md line 404) | | Keep the agent journey's samples (waits-on-user) | #3840 | | [#4049](#4049) | etc › Product and harness ideas | 1 (TODO.md line 420) | | Consider Redo and a Changes panel | | | [#4050](#4050) | etc › Product and harness ideas | 2 (TODO.md line 433) | | Link filenames to their repository context | | | [#4051](#4051) | etc › Product and harness ideas | 3 (TODO.md line 438) | | Revisit the Claude desktop app opening a page's file over the live page | | | [#4052](#4052) | etc › Product and harness ideas | 4 (TODO.md line 448) | | Decide the site's structure before release | | | [#4053](#4053) | etc › Product and harness ideas | 5 (TODO.md line 451) | | Assess whether automatic measurement freshness is useful | | | [#4054](#4054) | etc › Product and harness ideas | 6 (TODO.md line 457) | | Revisit where an abandoned comment's words come back | | | [#4055](#4055) | etc › Product and harness ideas | 7 (TODO.md line 462) | | Revisit a pin's icons if they read unclearly | | | [#4056](#4056) | etc › Product and harness ideas | 8 (TODO.md line 466) | | Revisit the reaction tokens' meanings or glyphs if they confuse | | | [#4057](#4057) | etc › Product and harness ideas | 9 (TODO.md line 471) | TODO #30 | Try a feed of ready-to-approve actions | | | [#4058](#4058) | etc › Product and harness ideas | 10 (TODO.md line 477) | | Explore independent jobs | | | [#4059](#4059) | etc › Product and harness ideas | 11 (TODO.md line 480) | | Tell the agent when to ask before ending its own to-do | | | [#4060](#4060) | etc › Product and harness ideas | 12 (TODO.md line 485) | | Let the user edit items in the On view | | | [#4061](#4061) | etc › Product and harness ideas | 13 (TODO.md line 489) | | Multiplayer: let several users share a page, each recorded as themselves | | | [#4062](#4062) | etc › Product and harness ideas | 14 (TODO.md line 495) | | Show which pane has focus, and move between panes by key | | | [#4063](#4063) | etc › Product and harness ideas | 15 (TODO.md line 508) | | Expand everything waiting with a keypress | | | [#4064](#4064) | etc › Product and harness ideas | 16 (TODO.md line 514) | | Let a user add, remove and edit table rows | | | [#4065](#4065) | etc › Product and harness ideas | 17 (TODO.md line 519) | TODO #16 | Named widget interfaces: let a typed reference name the interface its target implements | | | [#4066](#4066) | etc › Product and harness ideas | 18 (TODO.md line 523) | | Visual review beside Leaf: coordinate a real browser target through the harness | | | [#4068](#4068) | etc › Product and harness ideas | 19 (TODO.md line 526) | | Other harnesses: add a blocking `leaf wait` route when another harness needs it | | | [#4069](#4069) | etc › Product and harness ideas | 20 (TODO.md line 528) | | Consider Leaf running the agent session | | | [#4070](#4070) | etc › Product and harness ideas | 21 (TODO.md line 533) | | Decide whether an exported page carries its threads | | | [#4071](#4071) | etc › Product and harness ideas | 22 (TODO.md line 540) | | Character bindings: let users disable them | | | [#4072](#4072) | etc › Product and harness ideas | 23 (TODO.md line 541) | | Replacement diffs and visual masks for repeated reviews | | | [#4073](#4073) | etc › Product and harness ideas | 24 (TODO.md line 543) | | Motion evidence: define video, caption and transcript handling | | | [#4074](#4074) | etc › Product and harness ideas | 25 (TODO.md line 545) | | Revisit long-thread folding after using summaries | | | [#4075](#4075) | etc › Implementation candidates | 26 (TODO.md line 551) | | Remove the early-key hold once startup is fast on slower machines too | | | [#4076](#4076) | etc › Implementation candidates | 27 (TODO.md line 578) | | Draw the margin's annotations once per thread pass | #3864 | | [#4077](#4077) | etc › Implementation candidates | 28 (TODO.md line 587) | | Read moves exactly where the before/after pair is a browser's capture | | | [#4078](#4078) | etc › Implementation candidates | 29 (TODO.md line 597) | | Reduce plugin-update downloads by cleaning Git history | | | [#4079](#4079) | etc › Implementation candidates | 30 (TODO.md line 605) | | Set interaction-trace privacy before sharing pages | | | [#4080](#4080) | etc › Implementation candidates | 31 (TODO.md line 610) | | Make a leaf.page dispatch survive its container | | | [#4081](#4081) | etc › Implementation candidates | 32 (TODO.md line 616) | | Start each release's containers on its own image | | | [#4082](#4082) | etc › Implementation candidates | 33 (TODO.md line 629) | | Push page updates instead of polling | | | [#4083](#4083) | etc › Implementation candidates | 34 (TODO.md line 670) | | Claude Code tool observation: a cheap hook for sessions holding pages | | | [#4084](#4084) | etc › Implementation candidates | 35 (TODO.md line 672) | | Measure Leaf's hook cost for sessions holding pages | #3876 | | [#4085](#4085) | etc › Implementation candidates | 36 (TODO.md line 677) | | Invoker commands: test `command` and `commandfor` once Leaf's Chromium floor allows | | | [#4086](#4086) | etc › Implementation candidates | 37 (TODO.md line 681) | | MCP Apps: rebuild inline hosting as a direct resource | | | [#4087](#4087) | etc › Implementation candidates | 38 (TODO.md line 692) | | Release labels: prefer an exact tag when Leaf adopts named releases | | | [#4088](#4088) | etc › Implementation candidates | 39 (TODO.md line 693) | | Diff controls: author-configurable wrapping and per-file review tracking | | | [#4089](#4089) | etc › Implementation candidates | 40 (TODO.md line 695) | | Show a reply's widgets in every view of it | | </details> **Not migrated cleanly.** - Each section introduction (Layout, Layout stability, Queues, Recorded interaction review) is copied into every issue of its section, since a label can't carry it. - Eval fixtures that quote a past session mentioning `TODO.md` (`assessment-surfaces-pending-decisions`, `record-asks-hold-their-premise`, `options-*`) are recorded inputs and stay as they were. Two eval provenance comments and one line of `notes/agent-usability-evals.md` name items that left `TODO.md` before this change, so they have no issue to point at. - The fold-button entry #3891 corrected is in neither `TODO.md`, and #3928 fixed it, so it has no issue. > _This was written by Claude Code on behalf of max-sixty_ --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Takes main's TODO.md, whose backlog moved to GitHub issues in #4090. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Main's #4269 filtered the eval user's selectable words by restating the pageWords boundary inline; this branch reads the same set from pageText, the runtime's canonical page reading, so the merge keeps pageText. Co-Authored-By: Claude Opus 5.5 <[email protected]>
max-sixty
marked this pull request as ready for review
October 27, 2026 05:14
leaf-agent
approved these changes
Oct 27, 2026
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.
Closes #4033. The backlog item "Test the Layouts on agents" asked whether pages hold when an agent revises them into another shape, and whether a workspace works as a screen. This adds the cases and a workspace measurement for live judges, and records what the runs showed in
notes/agent-usability-evals.md("Layouts under revision, 2026-10-24"). It changes no shipped guidance: the two wordings scored for the most common failure did not hold up against a paired main arm.Cases
document/live-status,dashboard/write-upandqueue/hand-offrun their task's author, width preference, passage comment and browser decision, then send one revision that changes what the page is for: the review becomes the page the team follows during the rollout, the dashboard gains the incident write-up, the worked queue gains a hand-off. Each rubric checks the new use, the earlier record and the comment thread.arrangement_evalgains two optional scenario inputs for this:revision, sent as a fifth phase, andrequest, the task whose request a scenario starts from.dashboard/coldasks a fresh author for "a dashboard" from mixed material, graded by an over-tiling rubric andpage_defects.py.Pane readings
dev/leaf_dev/pane_readings.pyreads, at each judged viewport and before the live judge explores, every region Leaf scrolls inside a workspace shown on arrival (the runtime's reading-region inventory): its box, how many of its own heights it holds, the share of its box that no content comes near at its top and end, and the Tab press that first reaches it.judge_pagesadds them to the judge's task and the judgment's metadata only when every page judged is a Leaf page, so a Leaf/HTML pair judge never sees measured defects on one side alone. A screen an author builds from its own grid CSS has no reading regions and goes unmeasured. The render check'sreadViewChecksmeasures overflow only for the panes a page writes and the Layout's body, not a widget's own regions such as a queue's list and ticket, which are most of what a workspace's reader scrolls, so it doesn't cover this reading.What the runs showed
layouts.cssarranges nothing and the workspace silently flowed with the page. A scan of 517 saved pages found that last placement only once, so it gets no check.Guidance scored and dropped
A first sentence on the parts bullet in
page-authoring.mdnamed the write-up and hand-off cases. Against the first run on main it built parts 4 of 4 on Claude Code (main 1 of 4) and 4 of 4 on Codex (main 0 of 3), but it restated the parts bullet for the evals' two cases and also turned both Claude Code live-status revisions into pages of parts, where a sidebar page fits. A goal-level rewrite for the whole list (choose the arrangement from what the page holds now, on each revision as on the first version) was scored with--basepaired arms:Main on Claude Code built parts 3 of 4 times in the paired run, so the first wording's Claude Code gain was mostly sampling, and the goal wording changed nothing measurable on either harness. The guardrail
exhibit-playground-stays-in-the-columnpassed 2 of 2 on both arms. Neither wording ships. Only the first wording moved Codex, which the note records as a lead.Harness fix
The browser user's passage selection could land on the contents outline's copy of a heading, which Leaf echoes and offers no comment route for; one sample failed that way.
eval_user.pynow selects only words in the page's own reading (pageTextfromcheck-api.js), the words a comment can anchor to. This replaces the inline copy of the pageWords boundary that #4269 added to the same selector. On alert-review, dynamic-widgets, triage-board and release-notes that keeps 32, 6, 8 and 2 tab labels, board column headings and option labels that a skip of every generated word would drop, and leaves out chrome such as "To answer" and drag handles; replaying the failed sample now opens the selection comment route.Checks
uv run pytest dev/tests/test_evals.py dev/tests/model/test_eval_discover.py -q -n0, the pre-commit hooks,leaf-dev probeof the selection rule on four examples, and the eval runs in the note (about $100 of Claude Code spend; Codex reports none).Not verified: two Codex queue samples on main failed in scratch cleanup ("Directory not empty") and were never judged; pane readings cover only a workspace shown on arrival; Codex's paired arms are one sample each.
Calls Max may reverse: the revision rubrics name what the result must keep, and the queue rubric says the hand-off should not be confined to a tab beside the queue; dropping the guidance rather than shipping the first wording, which did move Codex.