Skip to content

Place each instruction by who must act on it, and move what that misplaces - #6093

Merged
max-sixty merged 2 commits into
mainfrom
duplicate-dev-code-cause
Nov 16, 2026
Merged

max-sixty merged 2 commits into
mainfrom
duplicate-dev-code-cause

Conversation

@max-sixty

@max-sixty max-sixty commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

"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

…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 leaf-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

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.

Comment thread AGENTS.md Resolved
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.
@max-sixty
max-sixty merged commit 71044e7 into main Nov 16, 2026
7 checks passed
@max-sixty
max-sixty deleted the duplicate-dev-code-cause branch November 16, 2026 03:59
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