Skip to content

Say what each pull request a question mentions is, beside its number - #6560

Merged
max-sixty merged 8 commits into
mainfrom
self-contained-references
Nov 20, 2026
Merged

max-sixty merged 8 commits into
mainfrom
self-contained-references

Conversation

@max-sixty

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

Copy link
Copy Markdown
Owner

Agents on Leaf pages ask the user to decide about work they name only by number: thread titles "Merging #6551", options "Merge #6551", passing mentions such as "It doesn't depend on #6538". The user meets each ask on its own in On Me or Threads, often hours later, and can't tell what it is about. Of 43 merge asks on this machine's pages since 5 Nov, 17 were titled by number alone, and the turn-end check's fork wrote 31 of the 43. This adds one sentence to the end of authoring-on-me.md's "Make each question self-contained": beside each pull request, issue or commit a question mentions, say what that work is, with "Merging #431, the retry for dropped uploads" as the title example. Every writer of an ask reads that paragraph, the fork included through clerk.GUIDANCE. It also adds a names rubric to the evals that score asks, which lets an option cite a number its ask's title describes.

To weigh: passing mentions still slip. The agent's merge ask after a compaction titles every thread well but mentions #1204 without saying what it is in 3/3 runs, and page sections name their PRs 1/3. A version whose example was a passing mention raised sections to 2/3 but brought back bare "Merging #1211" titles, so the title example stays.

Requested by the maintainer, who rejected earlier versions that put the rule in SKILL.md's "Must remember" and that dropped the number; he hasn't read this diff. Evals (Claude Code, 3 runs a case): fork asks name the work 6/6 (main 0/6), items-right 27/27, guardrails 9/9. Tests: test_clerk.py, dev/tests/test_evals.py.

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

…eets it alone

Agents on Leaf pages named work by its handle: thread titles "Merging #6551",
options "Merge #6551" / "Hold #6551 open", passing mentions "It doesn't depend on
#6538 or on the remaining choice", and headings "What #6538 changes". The user meets
each of these on its own, often hours later, and asked "explain?" of one such ask.

Of 43 merge asks on this machine's pages since 5 Nov, the turn-end check's fork
posted 31: 17 of 33 titles and 13 of 22 option sets named the pull request only by
number, and 101 of 747 headings on recently written pages cite one. The agent
under diagnosis wrote its ask eight minutes after a compaction, beside the fork's
ask in that form, and copied it. What it had in context said to link each number
(page-authoring.md) and to make a question self-contained, but nothing said a
number, a coined label or "the choice above" doesn't say what a thing is; the fork
moved the description of the change onto the Merge option's card, since its `text`
field kept only facts true of every option.

- SKILL.md, "Must remember": the user meets each thread card, On Me row, Threads
  title and section on its own, so where an item first mentions a pull request, a
  decision or anything else, it says what it is in the user's words and links them.
  SKILL.md is what a session rereads after a compaction.
- turn-end-check.md: the fork's `title` names the subject by what it is, its `text`
  says what each piece of work it mentions is, and option titles name the result
  rather than a number, each with an example, since the fork follows its field text
  and not the guidance excerpts.
- page-authoring.md: a link goes on or beside the words that say what it is.

Evals (Claude Code, base = main): `named-work-is-linked-everywhere` gains a `names`
rubric and a `merge-ask` variant that replays the post-compaction ask beside a
number-only one; `turn-end-check` gains `ask-permission-named` and a
`names-the-work` rubric on both permission asks.

- names: page sections 0/3 -> 3/3, merge-ask 0/3 -> 3/3; merge-ask links 0/3 -> 3/3,
  brief 3/3 both. Fork permission asks 0/10 on main, 6/6 on the shipped text.
- Guardrails equal on main and head: the rest of turn-end-check (2 each),
  thread-choice-takes-a-press/permission, answer-quotes-what-it-cites,
  thread-named-in-its-reply, record-asks-hold-their-premise/unseen-names. Two
  differences pooled back to noise on 4 more runs each: turn-end stale-lead
  (base 5/6, head 3/6 all-pass) and absolutes-in-a-draft tradeoff-stated (4/6, 2/6);
  neither failure concerned naming.
- About $27 of author runs.
leaf-agent
leaf-agent previously approved these changes Nov 20, 2026
The rule that a section, decision, thread message or title says what each
pull request, issue, commit or decision it mentions is had three statements:
SKILL.md's "Must remember", page-authoring.md's link paragraph, and the turn-end
check's `title` and `text` fields, copied there because the fork follows its
field text more than the guidance excerpts it is shown. Max asked for one
statement that every reader shares, composed into each reader's context rather
than copied for it, and for the rule to read less like a preface.

The rule now lives once in SKILL.md, which every session holds and rereads after
a compaction. It leads with what to do and absorbs page-authoring.md's link
rule, leaving that paragraph the fact about what a fragment link shows. The fork
reads it as it reads the agent's other guidance: `clerk.GUIDANCE` now names a
paragraph of any file in the skill, SKILL.md included, so the turn-end check's
fields are main's again.

Evals (Claude Code), turn-end-check ask-* x3 against main ($5.78): the fork's
asks named the work 0/6 on main and 6/6 with the composed paragraph and no field
copy, titled "Merging the LRU result cache". items-right held (26/27 main, 25/27
here, every miss the options-once rule); choices, labels and no-ask guards all
passed. Author side x3, this tree only ($2.99): named-work names 6/6, links
6/6, brief 3/3; answer-quotes-what-it-cites and thread-named-in-its-reply pass;
thread-choice-takes-a-press said-once 1/3, inside its rate on main today (5 of
13 across the day's runs).

Tests: test_clerk.py, test_forks.py, test_product_page.py.
The naming rule now lives in SKILL.md's Must remember, and an author started
without the conversation reads only what its brief hands it, page-authoring.md
included, which no longer states the link rule. The brief hands it Must remember
as well. Not scored: the eval cases write sections in the session itself.
leaf-agent
leaf-agent previously approved these changes Nov 20, 2026
The How it works page quotes the turn-end check's prompt, which now carries
SKILL.md's naming paragraph, and its example's "(…)" destination rendered as a
link that reaches nothing, failing the site build. The sentence before it already
says to link the words, so the example shows only the words.
leaf-agent
leaf-agent previously approved these changes Nov 20, 2026
…mber

The rule that an ask names the pull requests, issues and commits it mentions by
what each is or does, rather than by number, sat as an eight-line paragraph in
SKILL.md's "Must remember", placed there so it would reach the main agent after a
compaction. Max judged that far too prefatory for a minor failure seen a few
times, since every Leaf session reads that section. This reverses that
placement: the rule is now one sentence in authoring-on-me.md's "Make each
question self-contained", the paragraph that already says a question must stand
alone. Every writer of an ask reads that paragraph: the page author posing a
decision, the agent asking in a thread, and the turn-end check's fork, which
reads it through `clerk.GUIDANCE`. SKILL.md, page-authoring.md, the author brief
and the clerk are main's again.

Of 43 merge asks on this machine's pages since 5 Nov, 17 were titled by number
alone, and the fork wrote 31 of them.

Evals (Claude Code, this tree): the fork's asks named the work 6/6 (0/6 on main
earlier today), items-right 24/27 (26/27 on main; the misses are the options-once
rule, as on main). The author's merge ask after a compaction names the change
2/3 (0/3 on main), every title now descriptive; the page-sections case names
1/3 (0/3 on main), its misses passing mentions outside any question, which this
paragraph doesn't govern. Placing the sentence in page-authoring.md's linking
paragraph instead scored sections 3/3 but merge asks 0/3, since an agent asking
in a thread doesn't read page-authoring.md.

Guardrails x2 against main: thread-choice-takes-a-press, approach-page-leaves-
the-choice-open and decision-options-fit-the-window match main within a run;
record-asks-hold-their-premise judgment 0/2 (main 1/2), every miss on both arms
the heading stating the finding instead of the question.

Tests: test_clerk.py, test_forks.py, test_product_page.py.
@max-sixty max-sixty changed the title Say what each mentioned pull request or decision is, where the user meets it alone Name the work a question mentions by what it does, not its number Nov 20, 2026
leaf-agent
leaf-agent previously approved these changes Nov 20, 2026
The sentence in authoring-on-me.md's "Make each question self-contained" told
the agent to name work by what it does "rather than by its number". Max wants
the number kept, since it is how the user finds the pull request, with words
beside it that say what the work is. The sentence now asks for that, with
"Merging #431, the retry for dropped uploads" as its title example, and moves
to the end of the paragraph, after what a question mainly holds, since he still
found it prefatory where it stood.

The naming rubrics now let an option cite a number its ask's title describes,
as "Merge #812" under "Merging #812, the LRU result cache", since the card
gives the number its context.

Evals (Claude Code, this tree, 3 runs a case): fork asks name the work 6/6,
items-right 27/27, guardrails 9/9. The agent's merge ask after a compaction
titles every thread with both, as "Merging #1211, the badge on notes waiting to
sync", but in each run still mentions #1204 in passing without saying what it
is, so names scores 0/3. The page-sections case names 1/3. A version whose
example was a passing mention ("#431, the retry for dropped uploads", not a
bare "#431") raised sections to 2/3 but titled merge asks "Merging #1211"
in 3/3, so the title example stays. About $14 of runs.
@max-sixty max-sixty changed the title Name the work a question mentions by what it does, not its number Say what each pull request a question mentions is, beside its number Nov 20, 2026
@max-sixty
max-sixty merged commit 61cb5b4 into main Nov 20, 2026
6 checks passed
@max-sixty
max-sixty deleted the self-contained-references branch November 20, 2026 07:45
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