Skip to content

Say each option's result once, on its card, in a message that carries a choice - #6536

Merged
max-sixty merged 1 commit into
mainfrom
asks-say-options-once
Nov 19, 2026
Merged

max-sixty merged 1 commit into
mainfrom
asks-say-options-once

Conversation

@max-sixty

@max-sixty max-sixty commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

A message that carries lf-options now 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: on main, turn-end asks restated the cards in 6 of 12 ask-choice runs, 12 of 12 ask-permission and 6 of 6 ask-question.

threads.md drops "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's text field says the same, replacing the sentence #6502 put there; the fork follows the field over its guidance excerpts, and with threads.md alone ask-permission still restated 3/3. With the field sentence, restating fell to 0/3 on ask-choice, ask-permission and ask-question, and the ask guards held 2/2.

To weigh: no eval scores the threads.md change for the agent's own messages: thread-choice-takes-a-press reads no reference, so its arms get the same input. Its new said-once criterion catches the repetition there, which its frozen prompt drives. Its markup-accepted rubric no longer calls value and recommended undeclared, since lf-option declares 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.

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

… 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 leaf-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
max-sixty merged commit 365a7b8 into main Nov 19, 2026
5 checks passed
@max-sixty
max-sixty deleted the asks-say-options-once branch November 19, 2026 22:23
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_
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