Repository navigation
Place each instruction by who must act on it, and move what that misplaces - #6093
Merged
Merged
Conversation
…laces "Where instructions live" sorted text by kind: what an agent needs before changing an area went in an AGENTS.md, a workflow for one kind of task in /developing-leaf. It never asked who reads each file, which is how "Weigh what a change adds" ended up in a skill its main reader, 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. So the rule now 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, and the gates. The skill holds how to do a kind of task, since missing it makes the work worse but not wrong. running-tend holds only what Tend's jobs alone do. Moved to fit it: - To root AGENTS.md: the glossary rule, the picture each UI option carries, the UI-review gate with its /ui-sweep pass, the agent-journey gate for harness changes, when to score an instruction change, and the prose defects a review treats as public surface traps (from running-tend). - To tests/AGENTS.md "Failing tests": how to choose a repair when a change turns a test red, weighing the change's intent against the interface (from running-tend, which keeps its issue protocol). - To /developing-leaf: the steps for comparing a browser-startup change, and measuring a removal in a scratch worktree. - Deleted as second copies: the skill's restatements of "Where instructions live", browser/AGENTS.md's parity rule and tests/AGENTS.md's dev-test rule; running-tend's copy of the stills-state rules. - "Read an area's AGENTS.md before changing it" now says "or reviewing it", the one line #5823 had left.
leaf-agent
reviewed
Nov 16, 2026
leaf-agent
left a comment
Collaborator
There was a problem hiding this comment.
The criteria for scoring an instruction change are now written in both root AGENTS.md and references/instruction-changes.md, and evals/README.md still names the skill section, which no longer states them, as their owner. The inline comment proposes a single home.
The reference repeated them and evals/README pointed at a skill section that no longer states when to use an internal instruction case; the reference's eval selection owns that.
leaf-agent
approved these changes
Nov 16, 2026
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.
"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.mdreaches every session, subagent and Tend run;/developing-leafreached 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: anAGENTS.mdholds 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, andrunning-tendonly 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-sweepgate, the agent-journey gate for harness changes, when to score an instruction change, and the shipped-prose defects fromrunning-tend. Intotests/AGENTS.md, "Failing tests": choosing a repair for a red test by the change's intent and the interface, fromrunning-tend. Into the skill: the browser-startup comparison steps and measuring a removal. Second copies of rules owned bybrowser/AGENTS.md,tests/AGENTS.md,states.pyand "Where instructions live" are deleted. "Read an area'sAGENTS.mdbefore changing it" gains "or reviewing it", the one line #5823 had left.What to weigh: root
AGENTS.mdgrows by about 2,000 characters for every session in the repository, andtests/AGENTS.mdby 1,000;running-tendand the skill shrink by 2,500 together.running-tendchanges 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.