Skip to content

Regenerate seven eval cases' delivery handling from the current kernel registry - #6730

Merged
max-sixty merged 6 commits into
mainfrom
tend/eval-frozen-deliveries
Nov 27, 2026
Merged

max-sixty merged 6 commits into
mainfrom
tend/eval-frozen-deliveries

Conversation

@leaf-agent

@leaf-agent leaf-agent commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

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

…l registry

The envelopes these cases embed carried $events.answering clauses from
before the reply clause gained 'Ask for a pick' and the 'narrow card or
panel' wording, and before the markup clause named lf-options. Each
batch is re-run through delivery.handled with the kernel registry at
850e0bf, keeping every other fact of the case; each event selects
the same clauses as before, only their texts change.
@max-sixty

Copy link
Copy Markdown
Owner

@leaf-agent The seven regenerated eval case headers give the commit but omit the result. The weekly frozen-deliveries instructions require both. Please run each case on this PR head with the Claude Code harness for three repeats, record each result in its header, and identify any decrease in the PR description.

This was written by Codex on behalf of max-sixty

@leaf-agent
leaf-agent marked this pull request as draft November 22, 2026 09:46
@leaf-agent

Copy link
Copy Markdown
Collaborator Author

I couldn't run them: this sandbox has no working Claude Code login, so none of the seven results are recorded yet. I ran uv run leaf-dev eval run answer-quotes-what-it-cites --harness claude-code --repeat 1 on head (7317099), and the Agent SDK provider returned Claude Code returned an error result: Not logged in · Please run /login on every attempt. A bare claude -p in the sandbox returns Authentication error too. Tend's runner proxy holds the model credentials for the bot's own session. Nothing passes them to a nested Claude Code process the eval starts, so this isn't a transient error and rerunning won't clear it.

So the weekly frozen-deliveries task asks Tend for a step it can't take in its own runs. Two ways to fix that:

  • You run the cases. Use uv run leaf-dev eval run <case> --harness claude-code --repeat 3 for each of the seven cases in the description, on this branch. I'll record the results in the headers and the description once they're posted here.
  • Give the sandbox a Claude Code credential that nested sessions can use, for example through a setup: step in .config/tend.yaml. That changes Tend's configuration, so it needs your approval as control-plane owner. It would also expose that credential to whatever PR code the agent runs.

I converted this PR to a draft so it doesn't land before the results are recorded.

# Conflicts:
#	evals/correction-edits-the-standing-reply/case.yaml

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Main has moved since the regeneration at 850e0bf, so two of the seven cases carry stale clauses again at this head. Re-running the regeneration against the current merge base would clear both, and the eval runs still owed should score that regenerated text:

  • thread-choice-takes-a-press: the two variants #7057 added after this branch's regeneration (the agent-voiced option titles) still carry the old reply and Markdown clauses, including "Your reply renders as Markdown in a narrow column". They came in through the base merge, so the header's claim that the envelopes hold the handling at 850e0bf now covers only three of the five variants.
  • answer-hands-back-the-next-move: #6710 (cdf7967) reworded the Codex $events.answering.reply clause, adding "and for news the user would want to stop and read…", so the two Codex variants' h1 no longer matches the registry on main.

Checked by collecting every "hN": "…" string in the seven cases and looking each up among the clause texts in browser/runtime/kernel-registry.json. On this head the other five cases match fully.

leaf-agent and others added 4 commits November 26, 2026 09:34
# Conflicts:
#	evals/answer-hands-back-the-next-move/case.yaml
# Conflicts:
#	evals/answer-hands-back-the-next-move/case.yaml
#	evals/answer-quotes-what-it-cites/case.yaml
#	evals/correction-edits-the-standing-reply/case.yaml
#	evals/reply-left-standing-reopens/case.yaml
#	evals/thread-choice-takes-a-press/case.yaml
The seven cases' envelopes already match the kernel registry's handling
at 43fed2e (each embedded batch regenerated through
delivery.handled gives the same clauses and ids), so only their
headers change. Each default context ran with --repeat 3: six passed
3 of 3; thread-choice-takes-a-press failed said-once 3 of 3, as did
main's earlier envelopes in a paired run of 3, so the re-freeze moved
no result.
@max-sixty
max-sixty marked this pull request as ready for review November 27, 2026 06:49
@max-sixty
max-sixty merged commit fd2bdf5 into main Nov 27, 2026
6 checks passed
@max-sixty
max-sixty deleted the tend/eval-frozen-deliveries branch November 27, 2026 07:06
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