Repository navigation
Description
What happens
When an agent adds a section reporting findings, such as an experiment's results, an audit or a survey of code, the section often gives the agent's reading of the material without the material itself. It has a results table and a paraphrase, but not the exact text that was tested, the input a case was given, the output it produced, or the code behind a result. The reader can't check the claim from the page and has to ask for the sources in a comment thread, which costs a round trip per section. It happens even when the material is a sentence or two.
The case that prompted this was an lf-ask that a long-running agent session wrote to report an A/B of three wordings of a short note, one or two sentences long, that an agent harness sends a model. Two of its table columns were headed "Today" and "Bare fact", and the third quoted only the sentence its wording adds. The section never quoted a wording whole, the task the model was given, or more than one fragment of a model's answer. A minute earlier the session had read two of the wordings from the code. The third, and excerpts of the models' answers, were in the report of the subagent that ran the test, and the per-turn records were on disk.
The section above it, written in the same edit, did show its sources. It proposed changing a second note, and showed the change as a patch with the old and new wording.
Over nine weeks of one user's pages, about 1,200 comments on about 110 pages, at least 15 comments asked for this kind of material: the failing eval cases, the exact text of a rule, the actual change, the code path, an example. The search matched only a few phrasings, so that count is a floor.
The session against a fresh author
I replayed the session from its own transcript, once from just before it wrote the page edit and once from when the subagent's report arrived. Separately, I gave a fresh author a brief as "Author the page" describes. A run passes when the section quotes all three wordings whole.
| Guidance | Session, from just before writing | Session, from the report's arrival | Fresh author |
|---|---|---|---|
| As shipped | 0/4 | 0/8 | 4/4 |
| Plus the paragraph below | 0/4 | 0/8 | 4/4 |
| Plus the paragraph and a worked example | 0/4 | not run | not run |
The paragraph went into page-authoring.md's "Develop the work", after the sentence that hands evidence to authoring-evidence.md:
A claim about real behavior shows the material it rests on, so the reader can check the claim instead of trusting it: the exact wording of a prompt, rule or message, a case's input and what came back, the code or command behind a result. Quote short material whole; show long material as a representative excerpt with the rest bound or linked. A count, a table of results or a paraphrase is your reading of that material, and goes beside it rather than in its place.
Replayed from the report's arrival, the paragraph moved the session part of the way. With it, 4 of 8 runs quoted a wording's first sentence verbatim and 8 of 8 quoted a model answer. With the shipped guidance, 0 of 8 and 4 of 8 did (Fisher's exact test, p ≈ 0.08 for each). Replayed from just before writing, after the session had announced its plan, the paragraph moved nothing.
In every replay, the session quoted the proposed wording of the note it recommended changing, as a patch in about half of them, and in none did it quote all three wordings of the note it recommended keeping. Every fresh author quoted at least one model answer as well as the three wordings, and 3 of 8 laid out a matched trial with each wording's answer side by side.
Some limits on reading this:
- Both fresh-author arms scored 4/4, so this test can't show whether the paragraph helps an author.
- The brief I wrote set out the wordings in their own block, pointed the author at the per-turn records, and asked for this one section. A brief the session wrote itself might do none of that. That case is untested, because the session never started an author.
- Cells of 4 or 8 runs rule out only large effects. The paragraph was placed only where the session had read
page-authoring.md, about 70 minutes before it wrote, with about 250,000 tokens of context by then.
The session never started an author
"Author the page" tells the session to start an author without inherited conversation "for substantial new material, including a new section on an existing page". The session in question started none, and wrote every section itself. In the past week of one user's sessions that loaded the skill, 39 wrote to a page and 30 of them never started an author whose brief named page-authoring.md. The count doesn't separate new sections from small edits, which the skill keeps with the session.
The skill's "Stay responsive" section tells the session to keep worker results itself: "Keep direct answers, small edits, and review and integration of worker results with you." conversation-loop.md, "Long-running work", says the same: "When a worker reports, review and integrate its result, put it on the page". A session can take a research worker's report as a result to integrate itself. Replayed from the report's arrival with an agent tool available, the session started no author in any of 20 runs, including the 8 with the paragraph above. Changing that sentence didn't help:
| "Stay responsive" sentence | Started an author | Quoted the three wordings |
|---|---|---|
| As shipped | 0/8 | 0/8 |
| "Keep direct answers, small edits, and review and integration of an author's returned material with you. A research worker's findings are facts for an author's brief, so a new section that reports them goes to an author." | 0/4 | 0/4 |
What the session no longer had in context
After its second compaction, the session re-read page-authoring.md but not authoring-on-me.md, which asks for each option's result shown as "a wording as it would appear". Nor did it re-read authoring-evidence.md, or SOUL.md and its "the exact words to consider". The skill body came back after the compaction, but references the session had read with a tool did not. Fresh authors succeeded without those files, so this doesn't explain the gap on its own.
Where a fix could go
The fresh author and the session differ in more than who wrote the section. The author had a short context, guidance it had just read, and a brief that set out the wordings, so these results don't yet say which of those matters. Leaf's rules that ask for material by name are also framed around changes ("For a recommendation that changes behavior, show the result as it is and as it would be", and "When the user reviews an edit to text … show its exact patch"), and the session showed material only for the note it proposed changing.
Four places in Leaf act when a section is written:
- The evidence rule. A paragraph saying what evidence is, like the one tested, moved the session part of the way when it was in force before the session planned the section. On its own it never got all three wordings quoted.
- Delegation. "Author the page" already asks for an author on a new section, but in 20 replays with an agent tool available the session never started one. An author working from a brief the session writes is untested. Replaying with delegation forced, and grading that author's section, would test it.
- The worker's brief.
conversation-loop.mdalready says "Decisions built from a worker's report tend to keep the report's shape, and the brief sets that shape". Here the section kept the report's summary tables. A research worker asked to return the exact text it tested, and one case's input and output, would hand the session the material in the shape it copies. - The turn-end check. Leaf already forks the session at each turn's end to check the page against the conversation. It could report a new section whose claim rests on material the conversation holds but the page doesn't show, and the session would hear it at its next step, whoever wrote the section.
The quoted guidance is unchanged from the build these sessions ran through 60db106.
Seen on leaf 859d878.
This was written by Claude Code on behalf of max-sixty
Activity
leaf-agent commentedon Nov 5, 2026
I'm not opening a PR for this. Each of the four places is a choice about which mechanism should own the gap, and your replays leave that open. Changing shipped instructions also needs an eval before and after, and the paragraph tested here already failed that bar on its own. Two findings from the current tree (0acede6) bear on the choice:
turn-end-check.md, "Findings for the agent" definesstaleas words the page still says and adds: "A page that doesn't yet mention something isn't stale; the agent decides what to add." A section whose claim rests on material missing from the page fits none ofstale,settledorunshown. That makes it a new finding kind, not a reading of an existing one.clerk.py's header records that you narrowed the fork's findings on 2026-10-29 and widened them on 2026-10-31, and that an open-ended question drew 12 noise findings out of 63. Adding something like anunsupportedkind would reverse part of that record, and it would need its own replay for noise. It is also the only one of the four that still works after compaction dropspage-authoring.md, since the fork reads the whole conversation, and that conversation held the subagent's report.conversation-loop.mdasks a worker for "each decision's material" only "when the user will decide on what a worker finds". In the reported section the outcome was to keep a wording, which reads as a finding rather than a decision. So the session was asked for nothing beyond the report's tables. Widening that sentence to any section that reports a worker's findings is a single-sentence change. It would put the exact wordings into the report the session copies from, and a replay from the point where the brief was written would test it.Your last limitation still stands: no replay has tested delegation with a brief the session wrote itself. Leaving this open for you to choose which mechanism to try first.
Catch a correction posted beside the agent's unanswered reply, and a …
max-sixty commentedon Nov 16, 2026
Tried as a turn-end check finding in #6087 and dropped; this issue stays open with no mechanism yet.
The finding (
unsupported) asked the turn-end fork to name a section that reports a finding without the wording, case, command or source it rests on, where the conversation held that material. Replayed on real forks:.tmpscript behind a count. That is far more often than material is actually asked for (about 15 of 1,200 comments).The two other findings tried alongside it landed as one kind,
overtaken, in #6087 (#5724, #5804).Show the material a page's claims rest on, collapsed where it is long (…