Repository navigation
Serve Leaf-development handoff pages through the session's own leaf, reverting #7423 - #7431
Merged
Merged
Conversation
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_
leaf-agent
approved these changes
Nov 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.
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 --userpages 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, whichAGENTS.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 "Runleaf" now says to serve the conversation page through the session's ownleafand 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:browserandcheck:hookspass.