Repository navigation
Say what refusals expect instead, the ground an opaque box paints, and that a recorded choice isn't yet carried out - #3959
Merged
Conversation
Page authors guessed the theme's custom properties: tonight 9 of 37 Leaf pages read a `var()` the theme doesn't define, `var(--bg)` seven times without a fallback, so a sticky totals bar inside a playground's preview went transparent, and others hedged with literal fallbacks such as `#fff` that ignore the dark scheme. The rule that an opaque box paints `var(--lf-ground)`, which a card or a playground's preview sets for what it holds, was only in package-themes.md. page-authoring.md, which every author reads, now names a few tokens and that rule. Configuration first turn, Claude Code (Opus 5.5), base 51624ea6a against this change, 3 each: pages reading an undefined token 3 of 3 against 1 of 3; pages painting their sticky bar with `--lf-ground` 1 of 3 against 3 of 3. Effort didn't move: minutes 3.5, 4.5, 4.0 against 3.1, 5.3, 3.2, and theme.css greps 1, 1, 4 against 0, 3, 2, the candidate's now listing the token names it saw named. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
32f81de41 named four theme tokens beside the `--lf-ground` rule. A second round couldn't tell the names from noise and the rule did the work: configuration first turn, Claude Code (Opus 5.5), the full sentence (77f90772f) against the rule alone, 3 each: sticky bars painted with `--lf-ground` 2 of 3 against 3 of 3, pages reading an undefined token 2 of 3 against 2 of 3 (`--sp-5` both times), theme.css greps 0, 1, 5 against 0, 3, 0, minutes 4.3, 4.7, 5.3 against 4.1, 3.5, 5.7. Across both rounds the token names prompted authors to list the theme's tokens (h4 documents 0, 1, 2 and dashboards 2, 1, 2 greps against main's 0–1), so the names go and the rule stays. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
`leaf page stamp --completes W` refused with only "no open to-do on 'W'". On the configuration task's decision phase, all 4 Codex (Sol 6.1) authors, after starting the user's submitted playground choice with `leaf task start`, stamped the final record with `--completes <playground-id>` to finish it, were refused, read `page state` or `page stamp --help`, and stamped again without the flag. The refusal now lists the agent's open to-dos with where they stand (or says none is open), says --completes ends only the agent's own to-dos on a widget, and that a user's answer on a widget needs none: the version that records it takes it in. No Claude Code author hit it tonight. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
conversation-loop.md said a to-do's start ends with `leaf task end` or a stamp's `--completes`, and that any item, the user's widget action included, is started with `leaf task start`, but not how a start on the user's update ends. Codex authors who started the user's submitted playground choice then stamped the final record with `--completes <playground>` and were refused. The reference now says a start on the user's update ends with the answer, and that the stamped version recording a widget answer takes it in without `--completes`. Codex (Sol 6.1) configuration workflow, decision phase, base 5b39487f6 against this change, 3 each: stamps with `--completes` on the playground 2 of 2 completed base samples (4 of 4 in the first validation run, before 1696e4877's message) against 0 of 3; decision-phase minutes 2.8, 2.9 against 2.4, 1.9, 3.1. All five completed judgments passed; one base sample errored in the harness's comment journey. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
`leaf page instructions --use layout-tiles` (or `.layout-column`, `.layout-tiles`) refused with only "unknown instructions vocabulary entry", so the author lost every instruction it had asked for and ran the command again without the name. In 12 of tonight's samples, on both harnesses, the name was a Layout class: page-authoring.md composes pages from them, but they are the page CSS's classes, described in page-layout.md, and no registry entry. The refusal now says the registry's keys list the vocabulary and where Layout classes are described. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Before the user has opened a page, `page check --render` reads the fixed 1280×720 window and says only "fixed, since no browser has shown the page in a day". Authors who knew the user's 1600×1000 window from their stated preference read that as a setting to change: in the dashboard workflow after ca736ac63, one author grepped `render_gate/command.py` for the words, read `desktop_viewport`, and queried `page state`'s user views (5 calls) before the next check showed the user's window. The words now say the check reads the user's window once they open the page. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
authoring-revisions.md asked the author of a decision record to "say beside it what came of the choice". On the campaign's dashboard workflow the user's last message is "Apply them: update the page so it records them as final", which the author reads as having acted, so "what came of it" became the outcome the choice is meant to bring: the headline "eu-west paused, needs your call" turned into "eu-west is rolling back to 4.11" while nothing had run. The record now says what the author did about the choice, and anything the choice sets in motion that hasn't happened reads as decided. Across the night's 21 Claude Code (Opus 5.5) Leaf dashboard workflow samples, 3 read authoring-revisions.md, all on the branch, and the judge failed all 3 for that overclaim; it failed 3 of the 18 that didn't read it (3 of 12 on the branch, 0 of 6 on main). Not scored after this change. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Oct 25, 2026
max-sixty
added a commit
that referenced
this pull request
Oct 25, 2026
…horing-effort campaign (#3960) The arrangement executor pinned every author's `page check --render` to the fixed 1280×720 window, so authors fought a constraint Leaf doesn't impose in use. This PR stops that, and records the 2026-10-24 authoring-effort campaign in `notes/agent-usability-evals.md`. **Unpinned author render checks.** `arms.environment` pins the render check's window for every child so a judged page's verdict doesn't depend on who last viewed it, and that pin also reached the authors. In the width phase the user states a 1600×1000 window, but the browser user first opens the page in the comment phase, so every render check kept reading 1280×720 ("fixed, pinned by LEAF_RENDER_VIEWPORT"). In 8 of 12 Claude Code Leaf width revisions the author hunted for a way out: it ran `LEAF_RENDER_VIEWPORT=1600x1000 leaf page check` (a ValueError), grepped Leaf's source for the variable, unset it, and took its own screenshots. In use the check reads the window the user's browser last reported, so this cost came from the harness. Leaf authors now run unpinned, and after the first handoff the executor opens the page once at the run's first window, as the user who said "I'll open it" would, until the page records the view. The harness's own checks keep the pin. Configuration workflow, Claude Code (Opus 5.5), 5 samples after the change: render checks after the handoff read 1600×1000, "the user's window"; no call named the variable (0 of 5, against 4 of 6 before); width-phase minutes 2.1, 2.0, 2.2, 2.2, 2.8 against 2.6, 2.8, 1.6, 1.9, 1.9, 4.9; 4 of 4 judged samples passed. One sample's scratch cleanup failed with "Directory not empty" on its state home after the Stop hook was killed (137); the next 3 ran clean. **The notes section** ("Authoring effort, 2026-10-24") records where a Leaf author's first turn spent time an HTML author's didn't, the repair for each sink with its before and after counts (#3952, #3954, #3956, #3959), the full-workflow validation on Claude Code and Codex, the record review's measured cost, and the decision-overclaim observation with the reader split behind #3959's wording change. The per-cycle log and scripts stay in the campaign worktree's `.tmp/overnight/`. Overlap: #3913 also edits `dev/leaf_dev/arrangement_eval.py` (task selection, not the render pin), and #3898, #3901, #3913 and #3923 each add to `notes/agent-usability-evals.md`; whichever lands second takes a textual merge. Checks run: `dev/tests/test_evals.py` and `dev/tests/model/test_eval_discover.py` (3 pass); an import of `leaf_dev.arrangement_eval`; pre-commit over the diff. The executor change itself was exercised by the campaign's 5 post-change workflow samples, not rerun here. > _This was written by Claude Code on behalf of max-sixty_ --------- 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.
Six places where an author either guessed, hit a refusal that didn't say what to do instead, or claimed an outcome that hadn't happened.
var()the theme doesn't define,var(--bg)seven times without a fallback, so a sticky totals bar inside a playground's preview went transparent. The rule that an opaque box paintsvar(--lf-ground)was only in package-themes.md; page-authoring.md, which every author reads, now states it. Configuration first turn, Claude Code (Opus 5.5), 3 per arm: sticky bars painted with--lf-ground1 of 3 on the base against 3 of 3. A first version also named four tokens; a second round (3 + 3) couldn't tell the names from noise (undefined tokens 2 of 3 both ways) and they prompted authors to list the theme's tokens, so only the rule stays.--completesrefusal says what it is for.leaf page stamp --completes Wrefused with only "no open to-do on 'W'". All 4 Codex (Sol 6.1) authors on the configuration task's decision phase stamped the final record with--completes <playground-id>after starting the user's submitted choice, were refused, and stamped again without it. The refusal now lists the agent's open to-dos (or says none is open), and says a user's answer on a widget needs no--completes.--completes. Codex (Sol 6.1) configuration workflow, decision phase, 3 per arm: stamps with--completeson the playground 2 of 2 completed base samples (4 of 4 before the refusal message above) against 0 of 3.page instructionsrefusal.leaf page instructions --use layout-tilesrefused with "unknown instructions vocabulary entry", and the author lost every instruction it had asked for. In 12 samples on both harnesses the name was a Layout class, which is page CSS described in page-layout.md, not a registry entry. The refusal now says so.page check --rendersaid only "fixed, since no browser has shown the page in a day"; one dashboard author read that as a setting and spent 5 calls inrender_gate/command.pyandpage state. The words now say the check reads the user's window once they open the page.--completesrefusal only shows when a stamp is refused.Checks run: the dashboard workflow score above;
uv run pytest tests/model/test_todos.py tests/model/test_interact_layer.py tests/model/test_interact_anchors.py tests/model/test_render_gate.py(316 pass); pre-commit over the diff. No runtime or browser code changes.