Writing to the prompter: the AI habit that fills your docs with conversation residue

I review a lot of text that AI agents write: code comments, READMEs, and the AGENTS.md files that tell other agents how a codebase works. Recently I found a pattern in that text that no linter catches. Every sentence in it is true, and a future reader gains nothing from it.

Here is the opening of a per-directory AGENTS.md that an agent wrote for me:

This directory is NOT <framework> integration, despite what the repo root AGENTS.md table currently says. There is no <framework> reference anywhere in this tree — confirmed with a case-insensitive search across every file here, zero hits.

All of it is correct. The root table was wrong, and the search did find nothing. But look at it from the point of view of the next reader. They open the file to learn what the directory is. The first thing they get is an argument with a claim they never saw, and then a report of a search they never asked for. The real description starts in the second paragraph.

The sentence exists because I asked about that framework in the chat. The agent answered my question, and then wrote the answer into the file.

Three shapes

After I saw it once, I saw it everywhere. It has three common shapes.

  1. Rebuttals. "X is NOT Y." "Despite what the other doc says." The claim being corrected lives only in the chat or in a stale doc. The correct fix is to change the stale doc and state the positive fact here.
  2. Narration of how the session learned something. "Confirmed with a search, zero hits." "We verified this." "As discussed." This is the agent showing its work to the person it was talking to.
  3. Change history in reference docs. "Previously." "No longer." "Now renamed to." The commit message is the place for that. A reader of the current file needs the current state.

Why agents do it

An agent writes for its audience, and its audience is the person in the chat. That person knows the context, asked the question, and wants to see that the agent checked. So the agent writes to the prompter, not to the reader of the file.

People do a version of this too. Writing advice calls it the curse of knowledge: the writer forgets what the reader does not know. Here the effect runs the other way. The writer includes what only the writer knows. The cause is the same, because the writer imagines the wrong reader.

Parts of the pattern already have names. The "it's not X, it's Y" shape is a well-known sign of AI writing, which Wikipedia's guide to AI-written text calls a "negative parallelism." In Clean Code, Robert Martin calls a comment that records a file's history a "journal comment," and he says version control should keep that history instead. But I have not found a name for the whole habit. I call it conversation residue.

The test

For each sentence, ask one question: would a reader who starts cold do their work any worse if the sentence were gone? If the answer is no, cut the sentence.

The test must not remove the useful negations, so some things stay:

  • A trap that the code itself sets. For example, a function name that suggests behavior it does not have, or dead code that looks live. "Despite the name, this does not retry" helps every future reader.
  • Evidence that lets a reader check a claim. A file:line reference to the code that proves a statement is not narration. It lets the next person confirm the claim cheaply.
  • The reason a rule exists. "We added this after an incident where..." stops the next person, or the next agent, from removing a rule they think is useless.
  • History where history is the content. Changelogs, migration guides, and deprecation notes.

I learned the third item the hard way. My first version of the rule banned every "PR #N showed this" and every "previously." A review pass pointed out that my own agent instructions are full of exactly that kind of rationale, and that the rationale does real work. It explains to the next model why a rule is there, so the model does not weaken it. The rule now says to cut the narration of how this session learned something, and to keep recorded reasons.

What I changed

I put the check in two places.

  • At write time. My agent instructions now include a rule: write for the reader who never saw the conversation. The rule lists the three shapes, the exceptions, and the test.
  • At review time. My review agent now flags conversation residue as its own category. It quotes each sentence and says where the correction really belongs. A finding is a should-fix, never a blocker, because the text is not wrong. It is only noise.

The second place matters more than I expected. Residue is easy to miss in review for the same reason it is easy to write: each sentence is accurate, so nothing looks broken. A named category gives a reviewer permission to delete a true sentence.

If you use agents to write documentation, read the first paragraph of each file they produce. Ask whether it describes the thing, or answers a question you asked an hour ago.

Drafted with an assistant, edited by @wintaru

0 comments