Skip to content

Serve Leaf-development handoff pages through the session's own leaf, reverting #7423 - #7431

Merged
max-sixty merged 3 commits into
mainfrom
mod-line-missing
Nov 27, 2026
Merged

max-sixty merged 3 commits into
mainfrom
mod-line-missing

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Reverts #7423 and routes the pages a Leaf-development session hands the user through the session's own leaf, as a session in any other project would. Then those pages are claimed like any other, and the band lists them without new code.

#7423 taught the Claude Code band to list a checkout's leaf-dev preview --user pages by naming the starting session in the server's row (started_in), with a hidden server flag, a second kind of session page in the follower, a hook-gate branch and a row-shape bump. All of that existed only because Leaf-development sessions talked to the user on checkout previews, which AGENTS.md ("preview a Leaf page whose source is a file in .tmp/") steered them to. Max wants Leaf pages served during Leaf development exactly as outside it, with minimum machinery, so this removes the machinery and fixes the guidance instead: /developing-leaf's "Run leaf" now says to serve the conversation page through the session's own leaf and to link a checkout preview from it for trying a runtime change. The row shape returns to its pre-#7423 form.

To weigh: a page that needs the branch's runtime now reaches the user as stills on the session's page plus a preview link, not as the page they comment on. Max asked for this direction. Tests: the hooks, gate, Claude Code module, server lifetime and preview tests pass; check:browser and check:hooks pass.

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

Max wants Leaf pages served during Leaf development exactly as outside it,
with minimum machinery, so the page a session talks to the user on goes
through the session's own leaf, and a checkout preview is a link from it.

> _This was written by Claude Code on behalf of max-sixty_
@max-sixty
max-sixty merged commit 3dfc236 into main Nov 27, 2026
6 checks passed
@max-sixty
max-sixty deleted the mod-line-missing branch November 27, 2026 19:55
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