Skip to content

Hold core UX changes, interface growth and core mechanisms for the maintainer, and leave every other call to the agent - #7184

Merged
max-sixty merged 6 commits into
mainfrom
maintainer-approval-guidance
Nov 26, 2026
Merged

max-sixty merged 6 commits into
mainfrom
maintainer-approval-guidance

Conversation

@max-sixty

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

Copy link
Copy Markdown
Owner

Root AGENTS.md, "The maintainer decides", now opens by saying a call outside its list is the agent's and the work doesn't wait on the maintainer for it; the agent names the call so they can reverse it. The list gains three kinds of change that wait for their approval: changing core UX, such as how a user comments or a keyboard shortcut; growing the package interface; and adding to the browser runtime or the server a mechanism that later changes there must reason about. A held change lands only once they approve it, and the rest of the work lands without it, as #7159's Copy link control could have landed without y. "Where instructions live" now says other instructions neither repeat a root rule nor send their reader back to one, since every session reads the root file; a pointer to a detail stays. "Working on the repository" drops its sentence on UI decisions a PR body leaves, which the rule before it already covers. "Read what the page states" drops its closing reservation, since departing from a principle is already their call. "Keep the package interface small" now gives the interface entry's reason, sprawl through names that each look reasonable alone, in place of what each name costs authors to learn.

Calls the maintainer may reverse: any addition to the package interface waits, even one name, with renames and another theme token beside its siblings exempt; "core" covers the server as well as the browser runtime; a smaller change within a task, such as what one press of Escape closes, stays the agent's.

In the root-guidance eval against main, main's text merged the y shortcut and a new widget event in 3 of 3 samples each and added a pointer to a root section in 3 of 3; this text held the shortcut and the event and added no pointer every time, while still merging #7159's placement calls, a one-module fix and a one-press Escape change. Main's 44 situations pass 112 of 132 here against 116 of 132 on main. One of them moves beyond noise: on filter-hooks-simply, this text builds the in-process hooks gate the rubric forbids in 9 of 18 samples, against none of 9 on main. Codex reviewed two earlier rounds; its findings are folded in.

Asked for by max-sixty, who commented on the wording and approved it on a Leaf page.

This was written by Claude Code on behalf of max-sixty

…r, and leave every other call to the agent

Root AGENTS.md, "The maintainer decides", gains three kinds of change that merge only once the maintainer approves them: adding, removing or rebinding a key in Leaf's runtime or a bundled package; adding something a package's author must newly learn; and adding a mechanism to the browser runtime or the server that later changes there must reason about. The section now opens by saying every call outside its list is the agent's, the interface calls the principles settle included, landed without asking and named in the pull request. A held change waits as a draft pull request that names what waits on him, after the agent has weighed it as "Weigh what a change adds" asks, and the rest of the work lands without it where it stands alone. The list also names the exception "Read what the page states" already reserved for him, so "every call outside the list" holds.

The keyboard, packages, running-tend and fan-out-backlog guidance point to the section where each meets one of these changes; running-tend's CI-repair merge defers to it, and packages/AGENTS.md drops its own copy of the new-form ask.

Five root-guidance situations cover the change. On the merge base a fresh agent given only the root text merged the `y` binding from #7159 in 9 of 9 samples and a new widget-protocol event in 6 of 6; with this text it held both in each of 3 samples, and in 9 more on earlier drafts. It still merged #7159's placement and link calls and a 25-line fix inside one runtime module in every sample. The 38 existing situations pass 96 of 114 samples on each arm. The root grows from 7,362 words to 7,800.

The maintainer asked for this change.
The maintainer asked for the hold to read as "changing core UX, for example a
keyboard shortcut", and asked why other files pointed to root AGENTS.md when every
session reads it.

- "Changing Leaf's keys" becomes "Changing core UX": how the user works with Leaf
  on every page, such as a keyboard shortcut, a gesture or what Escape closes.
- The markup exception moves from "Read what the page states" into the list as
  "Inferring a fact from a page's look or words", so the list is its one home.
- "Where instructions live" says other instructions neither repeat a root rule nor
  point to it. The keyboard, packages, running-tend and fan-out-backlog files go
  back to main's text.
- Two eval cases: an Escape change that leaves a thread in one press, and a pointer
  to a root section from packages/AGENTS.md.

Root-guidance eval, 3 samples a cell: the Escape change held 3/3 (merge base 2/3),
the pointer case wrote none 3/3 (merge base 0/3), the `y` shortcut and the widget
event held 3/3, the 38 earlier cases passed 100/114 (merge base 96/114).
@max-sixty max-sixty changed the title Hold new keys, interface growth and core mechanisms for the maintainer, and leave every other call to the agent Hold core UX changes, interface growth and core mechanisms for the maintainer, and leave every other call to the agent Nov 25, 2026

@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 new sentence in "Where instructions live" makes every existing pointer to a root section a defect, and the branch leaves about 50 of them in place. Some examples: packages/AGENTS.md cites (root AGENTS.md, "Keep the package interface small") twice, and browser/AGENTS.md sends its reader to root AGENTS.md, "Cross-runtime invariants" and to "Leaf's role". running-tend's Review threshold is made of such pointers: "Apply AGENTS.md's Weigh what a change adds, Stage, …". The same file asks a review to report each instance as a text defect, so any later change that touches one of those lines picks up a finding it didn't cause. Many of these pointers also do a job the stated reason ("every session reads this file") doesn't cover. They tell the reader which root rule governs the local one, as tests/AGENTS.md's "within the local limits in root AGENTS.md" does. Either the pointers go in this change (by "Stage", the contract changes together with every consumer), or the rule covers only restating a root rule and leaves citing one alone. The no-pointer-to-root situation tests a pointer that only says why a section matters, so it doesn't settle which way to go.

The opening criterion is wider than the list it introduces. "Adds to what every later user, package author or change has to learn or work around" also covers additions none of the bullets name, such as a new leaf CLI option an agent must learn. But "Every call outside the list below is yours" treats the list as complete. A reader holding such a case can't tell which sentence governs. Either narrow the criterion to what the bullets share, or say the bullets are examples of it.

Comment thread AGENTS.md Resolved
…mechanisms

The maintainer's review of the wording:

- Core UX now names tasks such as commenting, replying and moving through
  the page, plus keyboard shortcuts; a smaller change within a task, such as
  what one press of Escape closes, stays the agent's.
- The interface entry gives keeping the interface small and coherent against
  sprawl as its reason, rather than what an author must learn.
- The markup entry is gone, and "Read what the page states" keeps its
  reservation cut: departing from a principle is already his call.
- The opening paragraph and the hold paragraph lose the interface-calls
  clause, the bottleneck reason, the weigh-first sentence and the draft
  pull request mechanics.

Eval: the Escape case now expects the change to merge without asking, and a
new case holds a change to how a comment starts. On the whole suite this text
passes every held and landed case 3 of 3, and 97 of 114 on the 38 earlier
cases (main 96). The content-security-policy case falls from 3/3 to 0/3:
agents vendor a CDN library through the build pipeline without asking; that
call is put to the maintainer.

@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.

After this push, no rule says the maintainer must approve Leaf reading a fact off how a page looks or what it says. The push drops the Inferring a fact from a page's look or words bullet, and the branch had already dropped "Read what the page states"'s closing sentence, "Leaf reads markup any other way only where the maintainer agrees to the exception." The PR body justifies the cut with "departing from a principle is already his call", but "Read what the page states" sits under "Cross-runtime invariants", after "Repository map". The file's opening counts that section as guidance, "weighed against other guidance", not as one of "these principles" that the What Leaf is for bullet holds for the maintainer. So a change that takes headings from large bold text now looks like an ordinary call: the agent weighs it, makes it and names it in the pull request. Either restore one of the two gates, or name this case in the list or the eval if the maintainer means to give up the gate.

Comment thread AGENTS.md
only to quote, anchor and show them. So restyling a page changes no fact Leaf holds,
and rewording it changes only its words. Leaf reads markup any other way only where
the maintainer agrees to the exception.
and rewording it changes only its words.

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.

This sentence was the only gate left once the list's bullet went. This section is guidance, not one of the principles the What Leaf is for bullet holds, so without the sentence an exception becomes an ordinary weighed call.

Suggested change
and rewording it changes only its words.
and rewording it changes only its words. Leaf reads markup any other way only where
the maintainer agrees to the exception.

… the interface principle sprawl as its reason

The maintainer found "make it without asking" too strong while keeping its
direction: the opening now says a call outside the list is the agent's and the
work doesn't wait on him for it, and keeps main's "Ask him only where".

He chose to reword "Keep the package interface small" around sprawl, the reason
the new list entry gives, in place of what each name costs authors to learn.

Root-guidance eval on this text, three samples a cell: every new case passes 3
of 3; the 38 earlier cases pass 99 of 114 against 96 at the merge base, none
moving by more than one sample. With "without asking" gone, the
content-security-policy case is back to 3 of 3, as on main, so its rubric
stays main's.
# Conflicts:
#	AGENTS.md
#	evals/root-guidance/situations.json
…ers to root details

The maintainer doesn't read pull request descriptions, so "The maintainer
decides" now says to name a call without saying where, and "Working on the
repository" drops its sentence on UI decisions a PR body leaves, which the
sentence before it covers. "Where instructions live" now keeps other
instructions from sending their reader back to a root rule while letting them
point to a detail the root file holds, as the maintainer asked. Two rubrics
drop "in the pull request" to match.

@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 new clause separates "send their reader back to" a root rule, which is barred, from "point to a detail it holds", which is allowed. Nothing says how to tell the two apart, and packages/AGENTS.md has both kinds in adjacent lines. Its opening pointer, (root AGENTS.md, "Keep the package interface small") after "each name stays for every author to learn", gives the reason for the section, which is what the no-pointer-to-root situation fails. Four lines later, the same citation backs a specific claim: "a look matched exactly … are wants". That reads as a detail. With no stated test, each reviewer will decide each of the ~50 existing pointers differently. One way to make the line usable is to say what a detail is: something the local rule needs and doesn't restate, such as a limit, a list or a specific case. A pointer that only says why the local rule matters would then be the barred kind.

The PR body, which becomes main's commit message, is now out of date in two places. It still says other instructions "neither repeat a root rule nor point to it", and it still says "the pull request names the call". This push changed both.

@max-sixty
max-sixty marked this pull request as ready for review November 26, 2026 03:42
@max-sixty
max-sixty merged commit 683557c into main Nov 26, 2026
6 checks passed
@max-sixty
max-sixty deleted the maintainer-approval-guidance branch November 26, 2026 03:43
max-sixty added a commit that referenced this pull request Nov 26, 2026
…ntainer decides" (#7215)

Root `AGENTS.md`, "The maintainer decides", opens again with main's "and
take a call its guidance settles", which #7184 had replaced with "A call
outside the list below is yours". The rest of #7184's opening stays: the
work doesn't wait on the maintainer for a call outside the list, and the
agent names the call so they can reverse it.

In the root-guidance eval, #7184's text failed `filter-hooks-simply`,
one of #7195's cases, in 9 of 18 samples, against none of 9 on the text
before it: the agent built the in-process hooks gate as well as the
narrow subscription, and two failing answers cited "is yours" as
licence. With the clause restored, the case passes 10 of 12. #7184's
eight cases pass 24 of 24, and main's 44 cases, this one among them,
pass 117 of 132, against 112 for the merged text and 116 for the text
before #7184.

Found while scoring #7184; max-sixty approved this wording on a Leaf
page.

> _This was written by Claude Code on behalf of max-sixty_
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