Repository navigation
Say each option's result once, on its card, in a message that carries a choice - #6536
Merged
Merged
Conversation
… a choice A thread message or turn-end ask that carries `lf-options` now keeps what is true of one option, such as what choosing it does and costs, on that option's card. Its text holds the question, the facts true of every option and the advice. Before, the text usually went through the options too, as a list or a sentence each, and the cards then said the same. - threads.md, narrow-card paragraph: drops "such as the options a question weighs", which told the agent, and the turn-end fork that reads the paragraph, to give each option a paragraph or item even when cards carry them. - threads.md, "Ask for a pick": the user reads the text and the cards together, so the text holds what is true of every option and the reason, each card holds what is true of its option alone, and neither repeats the other. - turn-end-check.md, the `text` field: says the same at the field. The fork follows field text over the guidance excerpts it reads. With the threads.md change alone, ask-permission still restated 3/3. - evals: the turn-end `items` rubric fails words that go through the options beside cards. thread-choice-takes-a-press gains `said-once` on its choice variants. Its `markup-accepted` no longer calls `value` or `recommended` undeclared, since lf-option declares both (#6289). Scores, Claude Code, items-right passes. Base is 1c2b341 (this branch before the change). Head is the first wording of the field sentence: - ask-choice: base 0/3, head 3/3 (text restated the cards 3/3 vs 0/3) - ask-permission: base 0/3, head 3/3 (3/3 vs 0/3 walking through both options; 2/3 head runs still name the merge's effect once) - ask-question: base 0/3, head 0/3 (both restated 3/3) - ask-step: 3/3, 3/3 - guards ask-follow-up, ask-step-done, ask-on-me, ask-answered: 2/2 each on both arms - thread-choice-takes-a-press: default 0/3 and 0/3, permission 3/3 and 1/3, open-question 3/3 and 3/3. Its agent reads no reference, so the arms get the same input and their difference is noise. The shipped field sentence names facts true of every option versus one option alone. Scored head-only on it: ask-question 3/3 and ask-permission 3/3, with no text restating the cards. > _This was written by Claude Code on behalf of max-sixty_
leaf-agent
reviewed
Nov 19, 2026
leaf-agent
left a comment
Collaborator
There was a problem hiding this comment.
I'm holding the approval only because the description says this change waits on your decision on open item #29 of the fork-messages page. I found nothing else in the diff that needs a change.
max-sixty
added a commit
that referenced
this pull request
Nov 19, 2026
"Ask for a pick" in `threads.md` goes from 58 words to 42, and the turn-end check's `text` field from 43 to 40, with the same rule as #6536: the text holds the question, what is true of every option and the reason, and each card holds what is true of its option alone. On the turn-end check's ask cases the final wording passed 12/12 (`ask-permission` 6/6, `ask-choice` 3/3, `ask-question` 3/3), and both no-ask guards passed. Two shorter drafts failed. Without "such as what choosing it does" in the field, 3 of 9 asks said what merging does beside the Merge card. With "with the facts … around it", 2 of 6 `ask-permission` asks put the question in a paragraph with the facts, against 0 of 3 on `main`. The runs cost $4.90. From open item #29 on the fork-messages page, where Max picked scoring and shipping the shorter wording. Tests: `test_clerk.py`, `test_product_page.py`. > _This was written by Claude Code on behalf of max-sixty_
max-sixty
pushed a commit
that referenced
this pull request
Nov 27, 2026
…l registry (#6730) Seven eval cases scored delivery text no agent receives any more. Their embedded envelopes carried `$events.answering` clauses from before the reply clause gained its "Ask for a pick" route, its "narrow card or panel" wording and its quoting sentence, and from before the markup clause named `lf-options` in place of "a choice group". This regenerates each envelope's `handling` through `delivery.handled` against the kernel registry and records the commit, 43fed2e, with each case's result in its header. Each event selects the same clauses under the same `hN` ids as before, and every other fact of each case is unchanged. Each case's default context ran with `uv run leaf-dev eval run <case> --harness claude-code --repeat 3`. Six passed 3 of 3. `thread-choice-takes-a-press` failed `said-once` 3 of 3 and passed its other three metrics, and main's earlier envelopes failed `said-once` 3 of 3 in a paired run, so the re-freeze moved no result. Its reply lists each option's facts above cards that hold only titles: the delivered handling names `lf-options` but leaves what the text and each card hold to threads.md, "Ask for a pick", which the case's agent doesn't reread. #6536 added the metric knowing it would catch that. Every other case that embeds a delivery matches the registry, apart from four that hold their handling on purpose: `user-rewrite-answered` and `user-rewrite-retitles-its-thread` paste each wording into the prompt, and `first-command-says-what-comes` and `claude-hook-delivery-needs-no-ack` read it from each arm's registry. max-sixty asked for the local runs and the landing. `dev/tests/test_evals.py` passes. > _This was written by Claude Code on behalf of max-sixty_
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.
A message that carries
lf-optionsnow says what is true of one option, such as what choosing it does and costs, only on that option's card. Its text holds the question, the facts true of every option and the advice. Before, the text usually walked through the options too, and the cards said it again: onmain, turn-end asks restated the cards in 6 of 12ask-choiceruns, 12 of 12ask-permissionand 6 of 6ask-question.threads.mddrops "such as the options a question weighs", which asked for a paragraph per option even beside cards, and "Ask for a pick" says the text and the cards are read together. The turn-end check'stextfield says the same, replacing the sentence #6502 put there; the fork follows the field over its guidance excerpts, and withthreads.mdaloneask-permissionstill restated 3/3. With the field sentence, restating fell to 0/3 onask-choice,ask-permissionandask-question, and the ask guards held 2/2.To weigh: no eval scores the
threads.mdchange for the agent's own messages:thread-choice-takes-a-pressreads no reference, so its arms get the same input. Its newsaid-oncecriterion catches the repetition there, which its frozen prompt drives. Itsmarkup-acceptedrubric no longer callsvalueandrecommendedundeclared, sincelf-optiondeclares both.From open item #29 on the fork-messages page, after Max asked whether an ask repeats its option cards; he picked merging it there. Runs cost $21. Tests:
test_clerk.py, the layer-contract, interact-layer, thread-reading and hooks tests.