Repository navigation
Open How it works's plain-text prompts on their exact text - #6504
Merged
Merged
Conversation
The line fork, summary fork, working fork, resume and thread-title prompts are plain text holding JSON and tags, so their Markdown preview ran the JSON into one paragraph and the exact text showed only under Source. Their boxes now open on that text, numbered and laid out as Leaf sends it. The turn-end check is written in Markdown and keeps its preview. Max picked this on the forks review page on 2026-11-18, after comparing stills of the line fork's box both ways.
leaf-agent
approved these changes
Nov 19, 2026
max-sixty
added a commit
that referenced
this pull request
Nov 19, 2026
Main's #6504 opened the line, working and resumed forks' prompt boxes on their exact text. This branch moved those boxes into Anatomy of a fork journey, so the merge keeps the move and drops the Markdown preview there too.
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.
How it works quotes each prompt Leaf sends a model (#6459), and every box opened on a Markdown preview. Only the turn-end check is written in Markdown. The line fork, summary fork, working fork, resume and thread-title prompts are plain text holding JSON and tags, which the preview ran into one paragraph, so their exact text showed only under Source. This drops
preview="markdown"from those six boxes, so they open on the numbered text as Leaf sends it; the turn-end check keeps its preview.Max chose this after comparing stills of the line fork's box both ways.
dev/tests/model/test_product_page.pypasses.