Repository navigation
Extend the agent-usability baseline to the live loop, mixed batches, elided threads, packages and shared sources - #1332
Merged
Merged
Conversation
# Conflicts: # evals/README.md
leaf-agent
reviewed
Sep 27, 2026
leaf-agent
left a comment
Collaborator
There was a problem hiding this comment.
The lint job is red because Prettier rewrites two new fixture lines. The inline suggestions use its exact output; both formatting changes are needed for the check to pass.
leaf-agent
approved these changes
Sep 27, 2026
max-sixty
added a commit
that referenced
this pull request
Sep 28, 2026
…ng-leaf (#1371) `evals/README.md` held the suite's method and a Record table of every A/B. The table grew to two thirds of the file in three days and repeated each fix's commit message. Nothing said when a case measured during a fix should stay, so cases that passed on both arms stayed too: 6 of the 15 have never told two wordings apart. This change sets the rule for new cases and records where each old one stands; removing the six is a separate decision. - **Method** moves to `/developing-leaf`, "Score a guidance change", where the repo keeps its workflows, trimmed to what an agent running or adding a case needs. It runs A/Bs through `leaf-dev guidance-ab` (#1366), which no longer prints a Record row. - **Rule for adding a case:** it pins a clause no case pins, and it separated two arms, with the base failing most runs and the change passing every run, or a blunter draft failing a guardrail the change passes. That is usually one case per problem, rarely more than two. A case both arms passed goes in the commit message instead. - **History:** each case's Record history is now a comment at the top of its `case.yaml`: where it came from, and base against change at named commits. The rows for A/Bs that kept no case live in their commit messages (#1311, #1332). `tags` stay the suite's categories. - `AGENTS.md`, `dev/AGENTS.md` and `leaf_dev/harness.py` point at the new section. #1363's rows are in its three cases' comments. Two unopened branches that add rows will conflict on the deleted file; their rows move the same way. > _This was written by Claude Code on behalf of max-sixty_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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.
Adds the five cases the agent-usability baseline left uncovered and records what they found. Three are live: the child serves the page from its own session, and the harness plays the user by posting moves through the served page between turns.
handoffcovers the first handoff's status and the delivery-receipt loop across two rounds.mixedsends a comment, an Ask's pick, a reaction, a card move and its undo, and a page error in one delivery.elidedasks a question whose premise is in the middle of a closed 24-message thread, the part the delivery leaves out. Two are headless:packageasks for a widget that only the page's own package supplies, andshared-sourcecovers twolf-worktreewidgets on one source that also holds a look-alike record.Results, three scored runs per case at 64186bc ($5.71 scored, $8.76 with pilots): no run gave a wrong answer, wrote to the wrong place or lost user state. Three process checks failed. One mixed-batch run claimed its work page-wide instead of on the comment's thread. On
shared-source, reading agents opened the renderer to confirm the id join. Onpackage, agents read the widget source to describe what it draws. A paired A/B ($7.11) tried aconversation-loop.mdclause and a sharperlf-worktreedescription. Neither changed the result, so both were reverted and no shipped guidance or interface changes.notes/agent-usability-evals.md, "Second slice", has the detail. The elided condition never bound: every agent picking the page up read the thread first. TheTODO.mdbullet now leaves the plain-HTML comparison and #20.Owner: the eval tooling's live-session mechanism now lives in one place. Before,
eval_claude_delivery.pyheld the only copy of the page client, the stream readers and the held-openclaude -plifecycle, and the new cases needed all three.scripts/eval_harness.pynow owns them asLiveChild(child, deadline, stdin close, cleanup),PageClient.post(event),waits_started(now also matches a launcher held in a variable),hook_delivered,tool_callsandcommands.eval_claude_delivery.pyis cut over, and its copies of the page client, URL pattern, stream readers and Popen/deadline/kill code are deleted. The two drivers keep their own read loops, because they schedule posts differently (mid-turn with sampling, against once per ended turn). In the usability harness,admitandacknowledgeshare onearm_pythonrunner, and fixture builders dispatch through one table.Checks: ruff over the changed scripts;
eval_claude_delivery.pyimports cleanly after the cut-over, but its paid run was not repeated. A smoke run ofhandoffexercisedLiveChildafter the refactor.🤖 Generated with Claude Code