Skip to content

Write a correction straight rather than offering it as a choice - #28

Merged
max-sixty merged 1 commit into
mainfrom
fix/issue-27
Aug 22, 2026
Merged

max-sixty merged 1 commit into
mainfrom
fix/issue-27

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

Problem

references/page-authoring.md's revision rule keys on who owns the words and whether the reader has already seen them, with no test for whether there is anything to decide. Following it, a page that reported a latency in the wrong unit ships the corrected sentence in an lf-suggestion. The reader gets a check and a cross over a fact whose only other answer restores the error, and until the press lands the page counts it among what the banner and the n/p walk say it is waiting on them for. Reported in #27.

Solution

One paragraph beside the rule it narrows, in the same section an author reads before writing the revision: a correction has no live alternative, so it goes straight into the next version and is named in the version note. lf-suggestion keeps the case it was built for — wording the reader could reasonably prefer as it stands.

No code changes. restatement_errors already permits this: it refuses a silent rewrite only where a standing action rests on the subject, so prose nobody decided on can be corrected straight without restated.

Testing

test_a_correction_is_written_straight_rather_than_offered_as_a_choice reads the "Revisions and reader-owned words" section and pins both halves — the suggestion rule and the carve-out — so satisfying one by dropping the other fails. It failed on the assertion for the carve-out before the doc change and passes after. tests/test_interact.py and tests/test_product_page.py are green (469 passed, 6 skipped).


Closes #27 — automated triage

The revision rule asked who owns the words and whether the reader had seen
them, never whether there was anything to decide, so a corrected measurement
shipped as an lf-suggestion. Rejecting that restores the error, and until the
reader presses it the page counts the fix among what it is waiting on them for.

Closes #27
@max-sixty
max-sixty merged commit 4b6e391 into main Aug 22, 2026
4 checks passed
@max-sixty
max-sixty deleted the fix/issue-27 branch August 22, 2026 21:34
max-sixty added a commit that referenced this pull request Sep 18, 2026
Four passages still described the carry this branch deleted. The docstring of
test_taking_the_panels_strip_leaves_the_reader_on_the_same_words said the runtime
carries the reading place itself, which is now the opposite of what happens, and the
covering test's comment said moveContentFrame did. `panel_settled` waited out an
animation on `main` that no longer exists — nothing else animates `main` — so that
wait goes; `edge_settled` keeps the region's own arrival slide, which is still real,
and drops `main` from what it finishes.

The theme comment gains the one fact the next person needs before touching the
column. `main`'s `left` and `width` do change when the strip is taken, and both are
on Chromium's scroll-anchoring suppression list. They escape it only because they are
container-driven: the container-query recalc that moves them runs inside layout, after
`ScrollAnchor::NotifyBeforeLayout` has already walked the anchor's ancestors. A shift
set any other way would switch anchoring off again.

TODO gains #28, the grid-track placement that would remove that dependency. The
larger grid discussed alongside it is not on the list: it moved the panel's strip onto
`main`'s ledger and let both margin residents keep their strips beside it, which
narrows the prose at every laptop width and reverses the floor
`test_the_sidebar_and_note_floor_is_their_sum` pins. The sideways jump it would have
removed is half the strip plus the sidebar handing back its claim, which is a posture
change the reader sees anyway.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
max-sixty added a commit that referenced this pull request Sep 18, 2026
…its strip (#801)

Opening the Threads panel moved the document a long way: on a page with
a sidebar and a sidenote, at a 1728px window, the reader's paragraph
travelled 382px left and 149px down in one gesture. The sideways move is
the design — `body` yields the panel's strip and the page re-lays out as
it would for a narrower window, which is what `theme.css` says it should
do. The drop was a bug, and it was worse the narrower the window: 202px
at 1560, 590px at 1024, and 1409px at 900, where the reading column
itself gives up width and the document grows by 2277px.

The cause is one property. `body { margin-right }` was how the page
yielded the strip, and `margin` is a scroll-anchoring suppression
trigger — in the spec's list and in Chromium's — on the path from every
anchor to the scroller. So the page switched off the one mechanism that
was going to carry the reader across the reflow it was itself causing.
Isolated on a live page: 200px of growth above the reader anchors
normally; the same growth with `body`'s margin changing in the same
frame does not.

`border-width` is in neither list. `body` is already `border-box`, so a
transparent border leaves the `lf-shell` container the same inline size
it had — measured 1308 at a 1728px window, both spellings — every
container query below reads what it read before, and the fixed panel
paints over the strip the border reserves.

The column's 180ms glide was the second suppressor: it animated `main`'s
`left`, which Chrome flags, on every frame it ran, and it is what
dropped the reader when the panel *closed*. Removing it means the column
jumps sideways and keeps its words, which is the better half of that
trade and what an editor with a side panel does.

## What the hold rests on

The anchoring hold is real but it rests on an ordering, not a guarantee.
`main`'s `left` (through `--lf-shift`) and its `width` still change when
the strip is taken, and both are on Chromium's suppression list. They
escape it only because they are container-driven: the container-query
recalc that moves them runs inside layout, after
`ScrollAnchor::NotifyBeforeLayout` has already walked the anchor's
ancestors. A shift set any other way would switch anchoring off again.
The theme comment at the body strip says so, and TODO #28 records how to
remove the dependency.

## What this deletes

`--lf-shell-motion-x` — its registered property, the `left` expression
in `theme.css`, the `motion()` call, `shellMotion`, and
`margin-layout.js`'s `columnMoving` branch.

The deferred repaint goes with them. `moveContentFrame` scheduled
`pageShifted()` and `layoutMarginRows()` a frame later only because the
column was in flight; with the column arriving in the layout pass that
moves it, there is nothing to wait for, so `scheduleShellRepaint`,
`repaintShell` and `shellFrame` are gone and the margin rows and page
marks are placed in the gesture itself. `moveContentFrame` is now
`change(); pageShifted(); layoutMarginRows();`. That also removes the
frame a test could read across: `panel_settled` needs no wait beyond the
panel's class, because there is no longer a pending frame behind it.

`setPanel` returned the animation and three modules passed it along;
that plumbing goes too, with the gallery's `?.finish()` and
`setThreads`'s return.

One thing arrives: `shellRight()` in `geometry.js`, because three
callers read body's right edge to place margin rows and the response
surface, and that edge is now the content box rather than the box body
draws. The render gate's `misplacedBoxes` took body's padding off the
room but not its border, which would have put the room's right edge at
the window and let a widget standing in the strip go unreported; it
takes both now. That reading was correct only because the gate renders
at one viewport with no panel standing, which is a condition to rely on
rather than a reading to keep. Across the runtime and theme the change
is 109 insertions and 117 deletions against main; most of the insertions
are the theme comment explaining why the strip has to be a border.

## Measured

The reader's paragraph holds at 1920, 1800, 1728, 1650, 1560, 1496,
1440, 1366, 1280, 1152, 1024, 900 and 840 — Threads and the Asks tray,
opening and closing, from the pointer and from the keyboard, with an
exact round trip — and no JavaScript doing it.

This branch first added a hand-written carry that did the same job in 69
lines of JS, then deleted it once the border swap let the browser do it
better. Its test,
`test_taking_the_panels_strip_leaves_the_reader_on_the_same_words`, is
kept. Passing with no runtime behind it is what makes it the right
guard: it goes red the moment a property on the anchor's chain regresses
to a trigger. A planted-fault control confirms it catches the regression
— before the border swap and without the carry, the reader landed three
paragraphs down.

## The suite

The browser cases that read the old shell are reworked rather than
patched. Two were built around the column's carry: they held the
runtime's motion, asserted exactly one animation existed, and seeked it
to check the column travelled monotonically without crossing a
responsive posture mid-flight. The behaviour they protect is that the
page never visits an intermediate posture, which now holds structurally,
there being no motion left to inspect; so they assert the shell at its
final width, the resident in its final float, nothing moving, and the
strip taken as a border. Every reading of where the page ends now takes
body's content box rather than the box it draws, which reaches the
window, and `SHELL_BOX` and `page_right` beside `panel_settled` are the
suite's one spelling of it. One of those readings had the bug the rest
were being fixed for: `ROOM_GEOMETRY` subtracted body's padding but not
its border, so with a panel open its right edge was the window, and
test_render_pages' "the board does not pass the page" was holding with
420px of slack — it measures 1308 now rather than 1728.

Four waits read `body.marginLeft` as the Asks tray's room tell: two
timed out, and two would have passed on any page, so they read
`borderLeftWidth`. Seven waits on `main`'s animations returned at once
and did nothing, and are removed.
`test_suggestion_controls_stay_out_of_the_column` no longer waits, under
full motion, for rows to dock through a glide that is gone, and
`test_an_aim_tracks_an_equal_width_workspace_swap_every_frame` sampled
only while `main` animated, so it took one reading; it samples the
swap's own task and four frames after it.
`test_closing_the_panel_lands_the_margin_where_the_column_lands` reads
in the task that closes the panel and walks each closing route — with
the deferred repaint put back it reads the row at 886.5 against a rest
of 1096.5, so it catches the regression. Its Escape arm rides its own
keydown, registered after the dispatcher's boot listener so it lands in
the closing task; a `bounding_box` after `press` is a second round trip
with a frame in it, which is the frame the case refuses, and Escape is
the one route walked with a real key.

## Known and not addressed here

- **TODO #28 — place the reading column with a grid track rather than
`left`.** Make `body` a three-track grid for column placement only,
keeping the border strip so every `lf-shell` floor keeps its meaning,
and give `main` `grid-column: 2; width: 100%` so its inset never
changes. That removes the ordering dependency above and deletes
`--lf-shift`, `--lf-gutter`, `--lf-sidebar-edge` and `left`, with the
same layout at every width and the same sideways jump.
- **A larger grid was considered and decided against.** It moved the
panel's strip onto `main`'s ledger and let both margin residents keep
their strips beside it. That narrows the prose at every laptop width and
reverses the floor `test_the_sidebar_and_note_floor_is_their_sum` pins,
and the sideways jump it would have removed is half the strip plus the
sidebar handing back its claim — a posture change the reader sees
anyway.
- **`COVERING` asks about the panel, not the page.** It is `2 ×
THREAD_PANEL_W`; the page's floor is its reading column (720 + 2×24 =
768), so the panel should cover below a 1188px window rather than 841.
Between those the panel stands beside a page that cannot hold a column:
at 900 the column is 421px wide, `main`'s left gutter is zero, and the
margin markers are pinned against the panel with nothing reserved for
them.
- **The margin projection's 900px floor is a media query while the strip
grants are container queries**, so the panel can withdraw a grant it can
never restore the covering decision for. `.lf-chrome` hangs off `body`,
and body's inline size does not depend on `main`'s claims, so that pair
can be a `lf-shell` container query — leaving exactly one question that
asks the window.

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

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
max-sixty added a commit that referenced this pull request Sep 19, 2026
Conflicts were main's renames crossing this branch's rewrite: `leaf.host`
split into `leaf.machine` and a harness (`claim_harness(...).nudge`,
`wait_is_live(page_dir, claim["id"])`), and the agent author value moved from
`claude` to `agent`. TODO.md kept #28 and dropped #27, which this branch
closes.
max-sixty added a commit that referenced this pull request Sep 23, 2026
Record the reader's picks on the seven layout decisions in
notes/layout-model.md, and define a frame in HTML terms: main, a root tab
panel, lf-workspace, lf-pane, each direct child of lf-grid, and any box
declaring --lf-block-frame.

- Each widget declares whether it sets text, which stops at the reading
  measure, or is a surface, which fills its frame; no frame-wide rule
  guesses at prose.
- Page CSS stays free inside a block; version check warns when it makes a
  box scroll or places a Leaf layout element. Over-tiling is left to
  guidance.
- Threads and Leaves always slide over the page, so the page never loses
  width to a panel. The page grid for chrome reservation is dropped, and
  TODO #28 now deletes the push strip, COVERING and main's panel offset.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty added a commit that referenced this pull request Sep 23, 2026
Threads no longer takes a strip from the page. Above 840px the body used
to yield the panel a transparent right border, so opening Threads
re-centred and narrowed the column, re-wrapped prose, withdrew margin
residents and could flip a bounded workspace to flow. The panel now
stands over the right of the window at every width and the page is laid
out for one width whatever is open.

Behaviour that moved:

- The column, its wrapping, the document height and the scroll position
  are unchanged when Threads opens or closes (new
  test_threads_cover_the_page_and_leave_its_column_where_it_was, at
  900px and 1400px).
- The panel is modal (covering boundary: scrim, inert page, scroll lock)
  only where it leaves less than a usable page (320px) beside it, which
  a phone window gives it by default and a user can draw it to. That
  replaces the 840px COVERING media query: `panelCovers` in
  chrome-layout.js asks the panel's standing width against `innerWidth`.
  Elsewhere the page beside the panel stays live, as it did in the old
  beside posture.
- `panelCovers` reads `innerWidth`, which counts the root's scrollbar,
  rather than the root's client width: the covering lock hides a classic
  scrollbar, so a client-width reading gave a different answer either
  side of its own lock (at 745px it covered and held the lock that made
  its reading wrong). The unlocked root is unchanged.
- The drawn edge is capped at the window rather than half of it, since
  the panel takes nothing from the page.
- At desktop widths under roughly 1700px the open panel stands over the
  right of the column and the margin rail. While it stands over a rail
  row the banner offers the Page Map, as it does where the rail is not
  drawn.
- `panelEdgeOver` (panel-elements.js) is the one reading of where the
  open panel's edge stands over a page node, and each caller decides how
  much of the node under it counts as hidden:
  - pressing a card's quote closes the panel when the passage would land
    mostly (more than half) under it (`panelHides`), and keeps it open
    otherwise;
  - exposure treats the panel as an occluder of the part it stands over,
    so an agent message any part of which is under the open panel earns
    no read receipt until the panel closes or a wider window clears it.
- The response bar withdraws when the open panel leaves it no room, at
  any width, and hands focus to the Threads list; its right bound is the
  panel's own left edge.
- The Asks tray is unchanged: it still takes a left strip beside the
page, and it is now the only surface that does, so the scroll-anchoring
  border, the pre-boot restore attribute (now data-lf-restore-asks,
  written only for that tray) and the shell-reading margin postures
  answer to it alone.

TODO #28 is done and removed; notes/layout-model.md records what now
holds and the margin cost.

Removed: COVERING and panelWouldCover, the body's right border strip and
its pre-boot data-lf-restore-panel twin, the pre-boot thread-panel
width,
the drawn edge's media query (replaced by an `over` reading), and the
layer test that held 840 equal to twice THREAD_PANEL_W.

Tests: assertions that held the strip now hold the Asks tray's strip
(scroll anchoring, sidebar/sidenote postures, wide-widget room, rail
hand-off to the Page Map, margin landing in the closing task); covering
tests read at 400-430px where the panel leaves no usable page; tests
that press page or margin controls on the right with Threads open read
at 1920px, where the panel stands clear of them; new cases hold the
430px phone covering, the rail hand-off with Threads open, quote travel
at 1000px and 1920px, and the covering answer across its own lock with a
classic scrollbar shown (730px covers, 745px does not; a client-width
reading fails the 745px case), and exposure with Threads open over a
diff's thread outlet (no receipt at 900px, a receipt at 1920px; the
majority rule fails the 900px case).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

> _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 12, 2026
)

Adds an opt-in floating panel that replaces the banner and bottom bar
with one card hovering over the bottom of the page. Classic chrome stays
the default; nothing changes for anyone who hasn't opted in. It lands so
work can continue from `main`: the behavior is in place, but the
appearance needs an overhaul before it's offered to anyone (TODO #28,
and the status line at the top of `notes/floating-panel/GOAL.md`).

### Turning it on

`?lf-chrome=floating` (or `classic`) sets the preference, which
`prepaint.js` keeps in the user store as `root.lfChrome` (mode,
Minimal/Moderate display, resting row) and applies before first paint.
An `lf-sample window` takes `chrome="floating|classic"`, else the
viewer's preference.

### Where to look

- `skills/leaf/assets/runtime/floating-panel.js`: the panel. One card
whose height tweens between views (menu, Threads with search and
filters, a thread through the Leaf reader, Questions answered inline,
versions, layout), a resting row holding the comment field (which shows
the agent's status while empty), and folding to the leaf mark.
- `skills/leaf/assets/styles/floating-panel.css`: its styles, imported
by `chrome.css`; `theme.css` zeroes the banner's room and reserves the
row's.
- `banner-toolbar.js`: every `registerBannerControl` now declares a
`row` (label, value, group, press), which both chromes read; page
commands declare a `menu` group. `banner.js`, the version picker,
`mirrors.js` and `application.js` expose the readings and the reply-box
hook the panel needs, so it presents existing controls rather than
re-implementing them.
- `tests/browser/test_render_floating_panel.py`: one test per journey;
the feature gallery's "The floating panel (experimental)" section shows
a window sample in each chrome.

`notes/floating-panel/GOAL.md` holds the spec, the approved prototype
(commit 446de2cb2), and every intended departure from it.

> _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 13, 2026
…2696)

Rebuilds the opt-in floating panel (`?lf-chrome=floating`, from #2647)
to the look the user chose in a design playground. The user's verdict on
#2647's version was that it "doesn't seem elegant generally, nor that
consistent with our aesthetic. The menus are quite bad, very large
spacing. Things like 'layout' should not need to be selectable in a
menu". Classic chrome stays the default; this is the base for the work
in `TODO.md` #28.

### What the panel is now

- **Three sizes, set by what the user does rather than a setting.**
Folded is the leaf in the window's corner, with a badge for what waits
on the user and a dot for threads with news. The row holds the leaf, the
field and marks with counts for Questions and Threads, plus a pen for
Annotations. Opened is a view above the row: Questions, Threads, a
thread, Versions, or a group of the page's controls. The Layout row and
the Minimal/Moderate displays are gone; the `lfChrome` preference keeps
only `rest`.
- **The field holds the status.** The empty field says what the agent is
doing, whose turn a thread is, or what a passing notice says. Notices no
longer stand at the window's head (`--lf-notice-seat: panel`).
- **The leaf's menu is a small list**, one line per row, each with its
shortcut. The toolbar row contract (`banner-toolbar.js`) gains
`shortcut`.
- **Look:** the page's own ground with a hairline ring, 12px corners, a
compact width (540px), 13/12px sans in two inks, and the page's serif
for questions.
- **Motion moves no layout.** The box changes size in one step; a
separate surface layer follows its outline by a clip-path animation, so
the shift watch sees nothing travel.
- **Keyboard:** `.` folds and unfolds (`panel.floating.fold`). Escape
clears a search, then closes the menu, then a view, through a `floating
panel` rung on the page's ladder, wherever focus is.
- Annotations leaves out Select element, which the page starts on
selection or `s`.

### Review guide

`skills/leaf/assets/runtime/floating-panel.js` and
`skills/leaf/assets/styles/floating-panel.css` are rewrites; their
headers state the contract. `chrome.css` is regenerated. The rest is
small: `banner-toolbar.js` (`shortcut`), `keyboard/touch-controls.js`
and `keyboard/shortcut-bar.js` (rows supply it), `keyboard/register.js`
(rung and command), `prepaint.js` (drops `display`), and `icons.js`
(`down`, `search`).

### Testing

`tests/browser/test_render_floating_panel.py` covers sending and
replying, filters, folding, Questions, Versions, modes, routes into a
thread, Send standing in for the counts, and writing from any size. Each
assertion added here fails against the commit before it. Those tests and
the shift watch pass with the CPU slowed tenfold. `pnpm run
test:runtime` passes.

> _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 13, 2026
…he phone (#2773)

Updates the floating panel's plan after the user's review of its next
steps on 13 October.

- `notes/floating-panel/GOAL.md` retires the Codex app as the panel's
reference: the panel is judged by Leaf's own aesthetic and the user's
eye. The phone waits until the desktop design is firm.
- TODO #28's remaining list drops the phone and where a passage thread
opens from Threads (both deferred), and names the Questions count in
place of "waiting marks".
- A new TODO entry records the possible rename of Questions to On me,
keeping Questions as the one category of everything on the user until
it's decided, with Done possibly nesting under each of On me and On
Agent.

> _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 17, 2026
The floating panel's goal still staged it behind a preference with the
banner as the fallback, and TODO #28 waited to remove the banner, bottom
bar and preference that are now gone. The goal now records the removal in
the user's words and drops the preference, the classic-chrome guarantees
and the side-by-side samples; its departures say walk positions join
notices in the empty field, as the user asked on 16 October.

TODO loses the bottom-bar decision, settled by the removal, and the Page
Map item, whose late banner toggle no longer exists; the phone item gains
the missing touch route to Select element. Notes that described the
banner, the bottom bar, the On panel or the shortcut bar as current name
the panel's status, views, menu and Undo row instead, and
chrome-and-covers drops its bottom-bar plan.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty added a commit that referenced this pull request Oct 20, 2026
…s follow-up (#3340)

Removes TODO's "Unconfirmed: scrolling a live sample sometimes sticks"
after running the check it asked for, and brings the floating panel's
goal note and TODO #28 up to date with #3275.

**Live samples.** `leaf-dev probe` measured every framed sample on
feature-gallery, thread-panel-gallery, diff-thread-gallery,
docs/threads.html and docs/event-log.html, in Chromium and Firefox, at
1440x900 and at phone width (Chromium under touch, Firefox at 390x844).
Each block sample's frame is its page's height plus the 2px border
(scrollHeight equals clientHeight inside), and a wheel or touch scroll
over it moves the outer page by the full step. Playwright's Firefox lost
track of the gallery's later frames, which a screenshot shows drawn, so
Firefox covers 13 samples.

A window sample keeps its fixed height by design. One,
`bg-thread-api-sample`, holds a page taller than its window (848px in
673px), so a wheel scrolls it first and then the outer page. Chromium
moved on at the next step. Firefox kept sending the wheel to the frame
for about 1.5 s after the sample's page last scrolled, so a continuous
wheel stops there until the user pauses. It does the same over a plain
`overflow: auto` box with no frame and no sample, so this is Firefox's
own wheel handling rather than anything Leaf does.

**Floating panel.** The note's one follow-up, comments on selected words
going through the anchored comment box rather than the panel's field, is
settled by #3275: where no box opens beside the words, the field quotes
them and a press opens the box on them. TODO #28 now says its list is
empty and that it waits on the user's review of the desktop design.

> _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 21, 2026
#3392 moved the draft-posture rule (Send in the corner while the field
holds words) into floating-panel.js beside `drafted`, the last departure
the note held that the code did not. The one about the line over the
field naming where words go was already reversed by the header's 17
October decision. TODO #28 points at the module header.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty added a commit that referenced this pull request Oct 21, 2026
…side it (#3396)

A survey of `notes/` against the code and history at d91b67b. Where a
note's design has landed, its contract moves beside the code if it
wasn't already there, and the note or section goes; what is still
unresolved stays.

- **Deleted:** `floating-panel/GOAL.md` (every departure is now recorded
in `floating-panel.js` and `styles/floating-panel.css`; #3392 moved the
last one, the draft posture, beside `drafted`, and this adds the
no-key-hints decision to the header), `browser-reactivity.md` (its
design is in module headers; why paints that must land in the turn use
`render` moves to `assets/AGENTS.md`, and the margin's double draw
becomes a TODO implementation candidate) and `chrome-and-covers.md`
(`page-layout.md` holds the workspace decision; the `layouts.css`
Workspace comment now records the rejected main-region-scrolls design).
- **Trimmed:** `agent-usability-evals.md` drops the findings through
2026-10-12, which have landed. `comparisons.md` drops the phone-pin
finding (#2680), the 4 October follow-up proposals and two landed
lessons. `user-feedback-responsiveness.md` narrows delegated work to
Codex and Pi (#3370) and drops "Explicit stdin" (#3375). `threads.md`
drops request buttons (#1327), placement (#2134) and notification
transitions. `shared-decisions.md` points at the recorded owner
contract. `browser-support.md` drops two fixed entries and owners #3100
removed.
- **TODO.md** follows each: #28 points at the module header, #25 asks
for the board's write rather than an owner, the annotation-placement
item loses its landed phone half, and the delegated-work and
reply-budget items lose what #3370 and #3372 settled.
- Smaller corrections in `shift-watch-cost`, `undo-reach` (#3271),
`named-widget-interfaces`, `codex-integration` (`codex_tool.py`), the
long-read eval's provenance comment, and `motion.js`'s fold comment. The
runtime comment edits rebuild `kernel.json` only.

No behavior changes.

> _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
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]>
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.

A factual correction ships as an lf-suggestion, where reject means keep the error

2 participants