Repository navigation
Describe the turn-end fork under the harness section, with what it checks for - #4850
Merged
Merged
Conversation
…ecks for How it works described the experimental turn-end fork (#4801) only as an appendix to the paragraph on where agent guidance lives, and didn't say what the fork looks for. It now has its own block under "Harness connections and receipt", beside "Claude Code integration": - what the fork is asked to name: a decision, an answer, a permission, or a step the agent left to the user that On me doesn't hold; - what it leaves out, and that Leaf skips an ask whose title a to-do on the user already has; - what Leaf writes (the agent's own to-do, unmarked) and when the agent hears it; - why it costs the turn nothing: it starts after the turn ends, reads the prompt cache, and writes nothing more once another turn opens. The guidance table's row now points at the block instead of restating it. `conversation-loop.md` lists permissions among what the check reads for, matching the fork's prompt.
leaf-agent
previously approved these changes
Oct 31, 2026
leaf-agent
approved these changes
Oct 31, 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.
How it works described the experimental turn-end fork (#4801) only in two sentences appended to the paragraph on where agent guidance lives, and didn't say what the fork looks for. It now has its own block under "Harness connections and receipt", beside "Claude Code integration". The block covers:
The guidance table's row now points at the block instead of restating it.
leaf page checkpasses on the docs page, as doestests/model/test_product_page.py. A fresh reviewer read the rendered block and checked each sentence againstsrc/leaf/clerk.pyandhooks/claude-code.ts, and found no contradiction.