Repository navigation
Move the weighing rules Tend applies from developing-leaf into AGENTS.md - #6003
Merged
Merged
Conversation
Tend's reviews apply "Weigh what a change adds", its nightly survey "Regular maintenance" and its weekly sweep "What it repeats", all from /developing-leaf, but Tend's sessions almost never load that skill. Between 2026-11-04 and 2026-11-14, 3 of 43 reviews loaded it, though running-tend says "Load `/developing-leaf`" since #5291; every one had AGENTS.md in context. The replays that validated #5291 (16 of 16) had a prompt that itself told the reviewer to load what the overlay points to. Replays of four of those reviews, resumed before their first skill load, show why a load step in running-tend can't fix this: the agent usually issues the preflight call in the same turn it loads running-tend (32 of 43 in production), and has moved on to the review skill's own steps by the time it reads the overlay. A "load first" section at running-tend's top loaded the skill in 8 of 8 runs that read running-tend alone, and 0 of 8 that batched it. So the two sections move verbatim into the root AGENTS.md, which every Tend and maintainer session reads, and their callers point there. Maintainer sessions read the same text as before; Tend sessions gain about 3,700 characters.
leaf-agent
previously approved these changes
Nov 15, 2026
leaf-agent
left a comment
Collaborator
There was a problem hiding this comment.
Two open PRs overlap with this one:
- #5823 (Tend's) tries to fix the same thing by rewording running-tend's Review threshold so the review loads
/developing-leaffirst. It edits the sentence this PR rewrites, so it will conflict. Your replays suggest a load step can't get there, so it looks like a candidate to close once this merges. - #5970 adds a pointer to
`/developing-leaf`, "Regular maintenance"in its newleaf-dev usageprose. Once this merges, that pointer should name the rootAGENTS.mdinstead.
leaf-agent
approved these changes
Nov 15, 2026
max-sixty
added a commit
that referenced
this pull request
Nov 15, 2026
…ings do main grouped leaf-dev's commands by subject (#5965), and `logs` holds the commands that read real pages' logs, which is what this one does. It is now `leaf-dev logs usage`, and the sentence that names it moved with "Regular maintenance" from the developing-leaf skill to the root AGENTS.md (#6003). `--since` took a naive ISO time and then failed with a traceback comparing it to the log's timezone-aware stamps. It now reads the time through `interaction_time`, as `logs timeline` and `logs response-times` do, and refuses one without an offset by name.
leaf-agent
added a commit
that referenced
this pull request
Nov 15, 2026
… the Tend overlay #6003 moved the weighing rules out of /developing-leaf and showed that a load step in running-tend usually runs too late, so the overlay paragraph is dropped. Root AGENTS.md is in every session's context.
max-sixty
added a commit
that referenced
this pull request
Nov 16, 2026
…laces (#6093) "Where instructions live" sorted instructions by kind and never asked who reads each file, which is how "Weigh what a change adds" ended up in a skill Tend loaded in 3 of 43 reviews (#6003). The root `AGENTS.md` reaches every session, subagent and Tend run; `/developing-leaf` reached 45 of 52 interactive sessions and about half the subagents sampled. This replaces the rule with one that places text by who must act on it and what missing it costs: an `AGENTS.md` holds what a change could break by missing (goals, invariants, the criteria a change or review is judged by, gates), the skill holds how to do a kind of task, and `running-tend` only what Tend's jobs alone do. It then moves what that rule misplaces. Into root `AGENTS.md`: the glossary rule, the picture each UI option carries, the UI-review and `/ui-sweep` gate, the agent-journey gate for harness changes, when to score an instruction change, and the shipped-prose defects from `running-tend`. Into `tests/AGENTS.md`, "Failing tests": choosing a repair for a red test by the change's intent and the interface, from `running-tend`. Into the skill: the browser-startup comparison steps and measuring a removal. Second copies of rules owned by `browser/AGENTS.md`, `tests/AGENTS.md`, `states.py` and "Where instructions live" are deleted. "Read an area's `AGENTS.md` before changing it" gains "or reviewing it", the one line #5823 had left. What to weigh: root `AGENTS.md` grows by about 2,000 characters for every session in the repository, and `tests/AGENTS.md` by 1,000; `running-tend` and the skill shrink by 2,500 together. `running-tend` changes need the control-plane owner's approval. Asked for by Max. Codex reviewed it twice and Tend's review once; their eight findings are folded in, the last giving the scoring criteria one home in root `AGENTS.md`. Pre-commit passes; nothing here is code. > _This was written by Claude Code on behalf of max-sixty_
max-sixty
added a commit
that referenced
this pull request
Nov 23, 2026
… a review of the site's pages report story headings (#6705) Adds `evals/root-guidance/`, an experiment that gives a fresh agent only the root `AGENTS.md` and `SOUL.md` and asks what it does in situations Max has already called. `pnpm run eval:root-guidance --repeat 3` scores the working tree's text beside the merge base's, so a change to the root shows which calls it gains or loses. It also makes the experiment's first change to the root: a sentence under "Where instructions live" on reviewing the site's pages. **Why.** Nothing reported what a change to the root did to those calls. #6003, which moved "Regular maintenance" into the root, turned one of them from 3 of 3 answers to 0 of 3, and a scratch run of these situations found it a week later. **The sentence.** The root's list of prose defects covers shipped text and agent instructions, and a fresh agent reviewing a `docs/` page read that as leaving the site's style to its author. The sentence has a review of the site report a heading that tells a story or states a thesis, a sentence that restates its heading, and a sentence that needs a second read. Its situation goes from 0 of 3 to 3 of 3. On the other 32 situations the root passes 80 of 96 samples with and without it: every one of the 21 samples on rules the root already settles, and 59 of 75 on calls Max made. **What it costs.** A run of one arm makes about 200 calls on the host's Claude login, about $2.60 at API prices and under three minutes. The root grows by 54 words, to 6,906. **To weigh.** `instruction-changes.md` sent every change to maintainer guidance to a scratch A/B with no committed case. This routes the root text to the experiment and leaves the rest as it was. The Claude call that `control-legibility` held moves to `dev/leaf_dev/claude_ask.mjs`, as `dev/AGENTS.md`, "Experiments", asks of a mechanism a second experiment needs. Six calls fail in most samples. The root text decides none of them, and the README says such a rule may belong in an area file or a module header instead. Asked for by Max. `pre-commit`, `pnpm run check:tools` and `pnpm run test:evals` pass, and the experiment ran in full on this branch. `control-legibility` was not rerun with a model; its modules import the moved call, which the full run exercised. > _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.
Tend's reviews are told to apply
/developing-leaf's "Weigh what a change adds", its nightly survey "Regular maintenance", and its weekly sweep "What it repeats", but Tend's sessions almost never load that skill: 3 of 43 reviews between 11-04 and 11-14, though running-tend has said "Load/developing-leaf" since #5291. All 43 had the rootAGENTS.mdin context. This moves both sections verbatim intoAGENTS.md, apart from the two pointers that named that file, and points running-tend,dev/AGENTS.mdand fan-out-backlog at the new home.Why a load step can't do it: replays of four of those reviews, resumed just before their first skill load, show the agent usually loads running-tend in the same turn as the review's preflight call (32 of 43 in production), so it reads the overlay after it has already moved on to the review skill's steps. A "load first" section at the top of running-tend got the skill loaded in 8 of 8 runs where running-tend loaded alone, and 0 of 8 where it was batched with that call. #5291's 16-of-16 replays had a prompt that itself told the reviewer to load what the overlay points to.
What to weigh:
AGENTS.mdgrows by 3,700 characters for every session in the repository; maintainer sessions read the same text as before, since they load/developing-leafanyway. running-tend's pointer to "Prove and hand off a visible change" still relies on a load.Asked for by Max. Reviewed by Codex; its one finding, a stale citation in fan-out-backlog, is fixed here. Pre-commit passes; nothing here is code.