Skip to content

Describe the turn-end fork under the harness section, with what it checks for - #4850

Merged
max-sixty merged 3 commits into
mainfrom
how-it-works-fork-checks
Oct 31, 2026
Merged

max-sixty merged 3 commits into
mainfrom
how-it-works-fork-checks

Conversation

@max-sixty

@max-sixty max-sixty commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

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:

  • 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 with the same title as a to-do on the user;
  • what Leaf writes (the agent's own to-do, with nothing marking the fork) 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.

leaf page check passes on the docs page, as does tests/model/test_product_page.py. A fresh reviewer read the rendered block and checked each sentence against src/leaf/clerk.py and hooks/claude-code.ts, and found no contradiction.

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

…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
leaf-agent previously approved these changes Oct 31, 2026
@max-sixty
max-sixty merged commit f70e039 into main Oct 31, 2026
4 checks passed
@max-sixty
max-sixty deleted the how-it-works-fork-checks branch October 31, 2026 20:53
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