R459 · Agent architecture › Self-improvement and learning loops

The rulebook the agents wrote: 2,047 to 11,733 words in four days

Read the original

agent-memorymulti-agentagent-harnessself-improvementhuman-oversightagent-governance

A practitioner's write-up of a personal multi-agent "board" built on GitHub Issues, and what happened to its shared policy file once the agents started drafting it.

The measurement

A working engineer kept nine days of git history on the shared rules file that governs a fleet of coding agents, and published the numbers. The file is AGENTS.md at the root of a private GitHub repository that the agents use as a planning board. Every agent reads it at the start of every session.

At 5:22 PM Central on 21 November 2026 the file held 2,047 words. At 7:19 PM on 25 November it held 11,733 — 5.7 times its first size, across 44 commits, in four days.

The interesting part is not the growth rate. It is who wrote it. The author's account of the loop: he described what he wanted, usually by voice, to one of three "chief of staff" agents; that agent wrote it up as a ticket or a pull request; the other agents reviewed the wording "round after round"; he merged it. In his words, "The direction in that file is mine... The agents wrote the wording, and their reviews added much of the detail."

The file is therefore the accumulated union of 44 accepted agent-authored revisions to a policy that constrains those same agents. His own verdict on the result, from the article's opening: "Every paragraph made sense, and you could no longer read the whole thing."

That sentence is the finding. A policy file written by the agents that read it has no natural ceiling, because each revision is locally justified and nothing in the loop is charged with arguing for deletion.

How the board works

Worth stating briefly, because the growth dynamic depends on it.

Two authorization details are the strongest design content in the piece:

Only the ready label authorizes work, and the shared-login script cannot apply it. The human applies it, or a separate "protected writer" used by an owning chief applies it after its own checks. The plugin deliberately ships no skill that marks a ticket ready. That is capability separation done correctly: the thing that grants permission to act is not reachable by the identity that acts.

Closure is off by default. A board close command exists but is gated behind a rule the author has not turned on, so agents do not close tickets at all yet.

The pagination bug worth stealing

The most transferable item in the article is a distributed-systems bug, not an AI one.

Ticket 21 passed 100 comments on 22 November. The agent driving that work polled the ticket for new comments. Its poll read only the first page of 100. For over an hour it reported no new comments while four comments addressed to it sat unread — one of which carried a pricing decision it was blocked on. Work stalled until the human pasted the answers into the agent's session by hand. A later ticket records this as the third missed-comment failure on that one ticket that day.

The failure mode is the dangerous shape: a durable high-water cursor advanced over a partial read. Once advanced, the unread tail is permanently invisible to the reader, and the symptom is not an error but silence — the agent confidently reported "no new comments," which is indistinguishable from the healthy state. Three recurrences in one day before anyone wrote it down.

The rule that came out of it, proposed by one of the chief-of-staff agents at 2:59 PM the same day: read every page before advancing the durable cursor, and never act on a partial read. The plugin's poll now reads every comment page on a followed ticket.

If you are building anything where an agent polls a paginated API and keeps a resume token, this is the invariant: the cursor may only advance past what you have fully consumed. It is standard practice in message consumers and routinely absent from agent integrations, which tend to treat a page-one read as a read.

The attribution artifact

The author flags one consequence he did not anticipate: once a chief of staff wrote his idea down, the other agents began crediting the idea to that chief.

The cause is mundane. Every agent posts under one shared GitHub login, and the board identifies an agent only by an actor name and tag. So the provenance recorded against a decision is the identity of whichever agent transcribed it, not whoever made it. Downstream agents then reason from the record, and the record says the chief decided.

For anyone building a shared agent workspace this is a concrete requirement: a decision needs a field for its originator that is separate from the identity that wrote the comment, or authority drifts to the most prolific transcriber. The article names the problem and proposes no remedy.

Where corrections land, and where they do not

Two failures, two different destinations, which the article states but does not explain.

An earlier cloud failure was fixed by adding a REST fallback inside the plugin — and the author notes explicitly that "[t]his fix stayed in code, not in the rulebook." The pagination failure became a written rule instead.

So the system has two places a lesson can live — executable code and natural-language policy — and no stated criterion for choosing. That matters for the growth number: every correction routed to policy adds words that every agent must read every session, while a correction routed to code costs nothing per session and cannot be misread. The cheapest way to stop a rulebook growing 5.7× in four days is to send more lessons to the second place.

Not every rule came from a failure. One came from the human: a reviewer/author disagreement gets two rounds of replies, after which the ticket owner decides, unless the work is marked high-stakes, in which case it escalates. A deadlock-breaking rule with a bounded round count and a named tiebreaker — the kind of thing multi-agent review loops usually lack.

What this does not establish

The author is candid that the piece is "more stream-of-consciousness than most," and the numbers come from a single read of the board on 26 November.

Why it is worth reading anyway

Most published multi-agent coordination work is either a framework pitch or a benchmark. This is nine days of operations notes with timestamps, and it isolates a failure mode that the framework pitches do not discuss: when agents are allowed to write the rules they are governed by, the rules monotonically increase, every increment is defensible, and the human loses the ability to hold the policy in their head long before anything looks broken.

The cursor invariant and the transcriber-attribution problem are both worth adopting directly. The growth curve is worth treating as a warning: a policy file needs a budget and an editor, and neither can be the agents.

Connections

See R459 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.