Two things landed on my reading list this week that belong in the same conversation.

The first is a blog post by Reshabh K Sharma, a PhD student at the University of Washington, measuring how fast agent instruction files are spreading across GitHub. The second is a Linux kernel mailing list thread in which the Squashfs maintainer, Phillip Lougher, pushes back on a wave of AI-generated review comments on his own patch series.

One is about the rules we write for AI agents. The other is about the feedback AI tools write for us. Read together, they say something useful about where developer tooling is heading, and about what a plain Markdown file can and cannot do.

The numbers: AGENTS.md is growing like a dependency, not a convention

If you have not met it yet, AGENTS.md is an open format that describes itself as "a README for agents": a predictable file at the root of a repository where you put build steps, test commands and conventions that a coding agent should know before it touches your code. A long list of tools now read it, including OpenAI's Codex, Google's Jules and Gemini CLI, Cursor, Zed, Aider, goose and GitHub Copilot's coding agent.

Sharma's post puts numbers on the adoption. Using GitHub code search, with forks and archived repositories excluded, he reports:

  • About 1.4 million AGENTS.md files on public GitHub as of November 27, 2026, up roughly 70-fold since August 2025. The agents.md homepage quoted "over 20k" in archived copies from late 2025.
  • 719,000 of those files sit at a repository root, so they belong to 719,000 distinct repositories. The rest live in subfolders of larger projects.
  • CLAUDE.md went from about 700,000 files in September to 1.1 million in November. Counted by repository, the two formats are almost level.
  • Among the 100 most-starred repositories, the number with at least one instruction file rose from 47 to 52 in two months. One of the additions was torvalds/linux. In the other direction, the post notes that openai/codex removed its root AGENTS.md and its other local agent guidance at the end of September.
  • 393 of the 2,573 commits that touch instruction files in those top projects were written by AI, either by an agent account or with an explicit AI co-author line. That is 15.3%. With one outlier project excluded, the share rose to 22% between October 1 and November 27. Sharma points out that this is a lower bound, since undeclared AI help is invisible.

So these files are no longer an experiment. A growing share of them is maintained by the same agents they are meant to instruct. That is worth stopping on for a moment.

Linux's smallest interesting commit

The kernel's adoption is a good case study because of how small it is. In commit 90d9f76, Sasha Levin added AGENTS.md as a symlink to the existing README. It was acked by Kees Cook and merged through Jonathan Corbet's documentation tree.

The commit message explains the reasoning clearly. The README already told AI tools to read Documentation/process/coding-assistants.rst, "but that only helps if the agent decides to read README before acting, which in practice it often doesn't." A symlink gives agents the file they look for automatically while keeping "a single entry point for every reader" and avoiding "a separate copy of the policy that could drift."

Levin also includes a small before-and-after example. Two agents were asked to make a trivial commit renaming the kernel release. Without AGENTS.md, one agent added a Signed-off-by line for the human on its own. That is a real problem in kernel land, because only a human can certify the Developer Certificate of Origin. The other agent added no attribution at all. With the symlink in place, neither added Signed-off-by, and both used the kernel's Assisted-by: tag.

The policy file behind that pointer is worth reading in full even if you never write kernel code. It says plainly that AI agents "MUST NOT add Signed-off-by tags." It also lays out a procedure for AI-assisted bug hunting: build a reproducer, write and test the fix, run checkpatch.pl, say explicitly what could not be verified, and leave the submission to a human, because "the assistant must never send anything itself." It also gives the reason for all that ceremony: "maintainers currently waste too much time analyzing unverified reports and untested fixes."

This is the pattern I find most convincing: don't write a second policy for machines. Point the machine at the policy you already have.

A rule file is not a rulebook

The second half of Sharma's post is the part I would put in front of every team that has just added an AGENTS.md and called it done.

An instruction file is not binding. The agent reads it as text next to the task, the code and the tool output, and the model decides how much weight it gets. Nothing in the loop checks that the rules were kept. The post summarises recent research. One paper, Do Coding Agents Follow AGENTS.md?, looks at how the wording of a policy changes how often it is followed. Another, Do They Do as They Are Told?, checks real context-file instructions against agent commits. According to the post, agents follow most instructions most of the time, but some rules are followed every time and others never. The post also cites a controlled study in which compliance dropped as an agent wrote more code in the same session.

That matches what the kernel commit implies. The fix was not "write the rule more forcefully". It was "make sure the agent actually loads the rule". Even then, the DCO rule is ultimately enforced the way it always was: a human signs off and maintainers review.

Sharma's own answer is a research tool, InstructGuard (formerly ContextCov), which turns the mechanically checkable rules in an instruction file into checks that run while the agent works. I have not run it, so I won't vouch for it, but the direction seems right to me: if a rule matters, something other than the model should check it.

The other side of the table: AI as reviewer

Now the Squashfs thread. Lougher posted a 23-patch series that, in his words, was "inspired by the recent spate of AI generated code reports." Andrew Morton replied that he had run the series through an AI model. Most of what came back looked optional to him, but one finding was real: a debug TRACE call in patch 08 dereferenced an inode pointer that was still NULL, which crashed lookups once dynamic debug was enabled for that file. Morton queued a fix.

Lougher's reply is the part people are quoting: "the AI assisted ability to find fault in everything is exhausting." He argued that AI review lacks context, can contradict itself depending on how deep the analysis goes, and can push a maintainer into endless cycles. His sharpest example: he had added one stricter check only because one AI review tool complained it was missing, and now a different AI tool was questioning it.

Both things are true at once. The tool found a genuine crash. It also produced a pile of "optional" remarks that a maintainer has to triage, and two tools pulled him in opposite directions on the same check. The kernel's own guidance anticipates exactly this: verify before reporting, include a reproducer, say what you couldn't test.

What I take from it

This is opinion, not measurement, but here is how I read the week:

  1. AGENTS.md is becoming infrastructure. At 1.4 million files, and with a growing share written by agents, it needs owners and review like any other config file. A wrong rule misleads every agent that reads it, quietly and at scale.
  2. One source of truth beats a parallel policy. The kernel's symlink approach is cheap and avoids the drift problem. If your CONTRIBUTING.md already says how commits must look, link to it rather than paraphrasing it for robots.
  3. Write rules that can be checked, then check them outside the model. "Never add Signed-off-by" can be a commit-msg hook or a CI step. "Run the tests before committing" can be enforced by branch protection. Keep the instruction file for context and use tooling for enforcement.
  4. Hold AI reviewers to the same bar as AI authors. A finding without a reproducer, or a suggestion that contradicts another tool, has a cost, and the maintainer pays it. If you run an AI review pass on someone else's work, filter it before you forward it, as Morton did when he pulled out the one finding that mattered.
  5. Make the disagreement visible. When two tools disagree, the useful output is not either verdict but the disagreement itself, along with the reasoning a human can judge. That is where the context Lougher says the tools lack has to come from.

The README was always a promise about how humans should work with a project. AGENTS.md is the same promise made to software that reads fast, rarely asks questions and does not always listen. The projects that handle this well will be the ones that treat the file as the start of the contract, not the whole of it.

What does your team's instruction file actually enforce, and what does it just hope for? I'd be curious to hear how others are handling it.

Sources: Reshabh K Sharma, "The Exponential Rise of Agent Instruction Files" (Nov 29, 2026); Linux commit 90d9f76 and coding-assistants.rst; the LKML Squashfs thread; agents.md. All figures are as reported by those sources; I did not reproduce the counts myself. This article was drafted with AI assistance, then edited and checked against the linked sources.