The AI Agent Feedback Loop Is Your Own Pushback

There is a confession buried in the middle of Brian Douglas' AI Engineer talk, and it is the most useful thing in it. Douglas ships Rust at Paper Compute. Douglas has not written Rust professionally. The agent writes it, the code compiles, and — in Douglas' own words — it gets taken at face value, because there is no basis on which to argue with it. An AI reviewer scores the pull request five out of five and it slides through. The pushback arrives later, from the human engineers, at review time.
Somewhere in that sequence a person who understands the codebase says something precise about why the agent was wrong. On most teams, that sentence is the single most valuable artefact the whole process produced, and nothing keeps it.
TL;DR — The AI agent feedback loop most teams are missing is not a new eval harness; it is the corrections they already give their agents every day and immediately throw away. A human override is the only event in agent exhaust that arrives pre-labelled: it marks the exact coordinate where your team's knowledge exceeds the model's, and it costs nothing to produce because someone was doing the work anyway. Harvest it, promote it to a written rule before you consider touching weights, and keep that rule where the next agent can read it. MDflow is a markdown workspace built for that last part — agent-readable over MCP and an HTTP API, with folder descriptions as the retrieval signal.
This post is built on the AI Engineer talk "Every Correction You Give Your Agent Is Data" by Brian Douglas of Paper Compute, published 10 November 2026, plus published research on how code review is changing. Douglas was previously director of developer advocacy at GitHub and founded OpenSauced.
What an AI agent feedback loop actually is
An AI agent feedback loop is any mechanism by which what happened on one run changes what happens on the next one. That is the whole definition, and the looseness is the point: the loop can close through weights, through a written rule the agent reads at startup, through an eval that blocks a regression, or through a tool that simply refuses the bad call.
Most teams have half a loop. The agent produces something, a human reacts, and the reaction evaporates. The next run starts from exactly the same priors as the last one, so the same correction gets given again on Tuesday, and again the Tuesday after that. Nothing is broken, which is why nobody fixes it. The cost shows up as a flat line: the agent never gets better at your codebase specifically, no matter how much better the underlying models get in general.
The missing piece is almost never capture. Harnesses, OpenTelemetry collectors and session recorders all exist, and Douglas built one — tapes, an open-source telemetry layer that records agent sessions, which Paper Compute pairs with a sandboxed runtime called StereOS. Douglas reports something like 80,000 captured sessions across the team. The missing piece is knowing which three of those 80,000 sessions contain something worth writing down.
Why a human override is the only self-labelling signal
Almost everything in an agent trace needs a human to interpret it before it is worth anything. A human override does not, because the interpretation already happened — that is what the override was.
Consider what you can do with each kind of event in the pile:
| Event | What it tells you | What it costs to label |
|---|---|---|
| A successful run | Something worked, somewhere in thousands of tokens | A rubric, a judge, and an argument about the rubric |
| A failed run | Something broke | A person reading the trace to find out why |
| A human override | A person decided the agent was wrong, here, now | Nothing — the decision is the label |
Douglas' version of this is blunt: when an engineer pushes back on the agent, it is a reliable signal that the engineer knows something the agent does not. So Paper Compute labels for it. Their console tags sessions pushback, alongside golden sessions worth imitating and regressions worth preventing, and Douglas goes looking specifically at the sessions where the teammate who does write Rust and Go overruled the agent.
What makes the pushback label special is not that it is easy to apply. It is that it is free and correct. Nobody sat down to annotate a dataset; somebody got irritated during real work and typed a correction, and in doing so drew a precise boundary around the model's ignorance. You cannot buy that boundary. It is specific to your codebase, your conventions and the decisions your team made years ago for reasons that were never written down.
The content is consistent too. The pushbacks Douglas describes are not bug reports. They are things like: the API is structured this way, even though your version compiles; that service already exists, you just could not see it; you have reinvented a library we already depend on. None of these is a correctness failure. Every one of them is a context failure, which is the category a better model does not fix.
This is the empirical complement to an argument we have made from the other side. Skill novelty measures how much of a written skill the model could already produce without it, and finds that concepts live in the weights while specifics do not. A harvested correction is, by construction, pure specific — the model already demonstrated it did not know this, on your code, under your conditions. You do not have to measure the novelty. The failure measured it.
The signal is disappearing exactly as it becomes valuable
Here is the uncomfortable part. The traditional home of this kind of correction was the pull request comment, and that home is emptying out.
Code review was never only a defect filter. Bacchelli and Bird's study of modern code review identified knowledge transfer and team awareness among its important outcomes — the review thread was where a senior engineer's reasoning became the team's reasoning, in writing, attached to the code it was about.
Michaela Greiler's essay From Peer Review to Self-Review (July 2026) describes what agentic development does to that arrangement: much of the first detailed review now happens inside the developer's own loop with the agent, where the person steering is not an independent reviewer. Greiler's phrasing of the consequence is precise — "knowledge that previously spread through peer review can remain confined to the developer."
Two 2026 preprints cited in that essay put numbers on the drift, and both are observational, so read them as direction rather than proof:
- Haoran Yu and colleagues, in Habituation at the Gate (June 2026), tracked 400 repeat reviewers who submitted 11,429 reviews over a seven-month observation period. Approval rates rose from 30.1 percent to 36.8 percent, and inline comment volume fell 22 percent. The authors read that combination as most consistent with reflexive habituation under growing workload rather than trust calibration alone.
- Suzhen Zhong and colleagues, in From Human-Centric to Agentic Code Review (July 2026), compared human-centric, LLM-assisted and agentic review across 1.02 million reviewed pull requests in 207 GitHub projects. Reviews initiated by AI agents, or involving several of them, were associated with faster review decisions under two adoption patterns — and the authors' own summary is that those efficiency gains do not translate into better review quality.
Inline comments are the pushback. When their volume falls by a fifth while approvals climb, what is thinning is the written record of why your team does things the way it does.
Even the strongest argument on the other side concedes this specific point. Martin Monperrus' position paper The End of Code Review (KTH, June 2026) argues that agents can serve every goal Bacchelli and Bird identified, knowledge transfer included, and that keeping humans as mandatory reviewers is a dead end. It is a synthesis rather than a new study, and it still names the genuine risk as the loss of the informal, two-way conversation through which tacit knowledge and team culture spread. Whichever side you take on whether humans should review code, both sides agree the conversation is going somewhere quieter.
Douglas' own observation from inside a team that works this way: review has shifted into the harness, where there is no oversight, no commentary, and nothing that reaches the shared codebase. The correction still gets made. It just gets made in a terminal, to an agent, in a session that ends.
From correction to rule: take the cheapest rung first
Douglas went a long way down this road. The labelled sessions became a dataset; the dataset became a fine-tune of a small model with adapters, post-trained on Fireworks and quantised onto smaller GPUs; and the fine-tune became a command-line tool that reviews a pull request the way a particular teammate — Matt — would review it. Full preference optimisation turned out to be impractical at that model size.
And then the recommendation at the end of the talk is: write a skill first. That is where most of the available mileage is today.
That ordering is the practical takeaway, and it is worth making explicit as a ladder. Each rung is more expensive and less reversible than the one below it.
- Label the override. Whatever captures your sessions, make "a human overruled the agent here" a thing you can filter on. This is the only step that must happen during the work.
- Write the rule down. Turn the correction into a sentence an agent can read before it starts: the convention, the reason, the exception. Plain markdown, in the place your agents already look.
- Make it checkable. When a rule matters enough, add an eval or a lint rule so a violation fails rather than depends on being noticed.
- Only then consider weights. Fine-tuning is the right answer when you have volume, stability and a reason the written rule cannot carry.
The argument for stopping at rung two for a long time is not that fine-tuning is hard. It is that a rule in a document has four properties that weights do not have: a teammate can read it, a reviewer can diff it, anyone can argue with it, and it survives your next model migration intact. A fine-tune encodes the same knowledge in a form where nobody can tell what it learned, including you.
Here is what rung two looks like in practice. Take one of the pushbacks Douglas describes — that service already exists, you just could not see it — and write it down as a rule for a Rust codebase:
## Service boundaries
Before adding a method to an existing service, search `crates/` for an
existing owner of that behaviour.
**Why:** we have twice shipped duplicate implementations of the same
queue drain because the agent could not see the existing crate from the
file it was editing. Compiling is not evidence that the code belongs here.
**Exception:** `crates/experimental/` may duplicate freely; it is deleted
every quarter.
A short paragraph, and it closes the loop for every future run and every teammate, including the ones who cannot evaluate the Rust themselves. That is the whole mechanism. The hard part was never writing it — it was noticing that the moment of correction was worth something.
Which teams benefit most
- Teams where the people writing code cannot fully review it. This is Douglas' own case, and it is the normal consequence of an agent writing in a language its operator does not read. When the author cannot push back, the only pushback in the system comes from someone else, later — and it has to be captured or it reaches nobody.
- Polyglot codebases. A team that writes Rust, Go and TypeScript has three sets of conventions and very few people who hold all three. Written corrections travel across that gap; tacit knowledge does not.
- Teams running many agents in parallel. Douglas runs batches of agents in sandboxes for defined work like documentation, tests and cleanup. The economics of writing a rule down change completely when the rule is read by ten concurrent runs instead of one.
- Regulated and audited environments, where "the model learned it" is not an acceptable answer and the rule has to exist as a reviewable artefact with a date on it.
- Teams onboarding humans as well as agents. Every rule harvested this way is also the answer to a question a new hire was going to ask in week two.
- Anyone whose agent keeps making the same mistake. If you have corrected the same thing three times, you have already paid for the rule three times over.
How MDflow fits
Let us be exact about the boundary, because it matters. MDflow does not capture traces and does not label sessions. That is the job of your harness, or of a tool like tapes. MDflow is where the output of rung two lives: the written rule, after a human decided it was worth keeping.
That is a real division of labour rather than a modest one. A trace store is optimised for recording everything and being queried later by someone investigating. A rule has the opposite requirements — it has to be found before the next run starts, by an agent that is not investigating anything.
What lines up today.
- Plain markdown, not a database. A harvested rule is a few paragraphs with a heading and a reason. It stays a file you can read, diff and paste, with nothing to export it from later.
- Folder descriptions are the retrieval signal.
mdflow_get_contextranks folder descriptions above folder names and document titles, so a description like "Rust service conventions — binding on all generated code; exceptions listed per file" steers an agent to the right rules without an embedding index or a hand-maintained path in a prompt. - Agents can write back, attributed. An agent that just absorbed a correction can file it over the MCP server or the HTTP API instead of asking a human to copy it somewhere. On a personal workspace, the
/logactivity feed shows an actor on every row —youfor browser edits,automated · <token name>for anything arriving through the API or MCP — so a rule written by a machine is visibly distinct from one a person wrote. - Every write leaves a previous version behind. Version history captures all write paths including the API and MCP, with a line-by-line diff and a non-destructive restore, bounded to 30 days or 300 versions, whichever comes first, on Pro. It answers the question that matters after a behaviour change: did the model change, or did the rule?
- One copy, many surfaces. The same document is reachable from Claude, ChatGPT, Cursor, Codex, Claude Code, VS Code and n8n. A rule that lives in one person's
CLAUDE.mdis not a team rule; see AGENTS.md, CLAUDE.md, SKILL.md and llms.txt for how those files relate to a shared workspace.
Honest gaps. Version history is private to the document owner on personal accounts and is not exposed over the API or MCP at all, so an agent cannot currently ask what changed in a rule since it last read it — it can only read the current text. Active members of a Team can compare and restore versions of Team documents in the editor, but the same API gap applies. Files edited in place through the GitHub, Google Drive and OneDrive integrations are not MDflow documents and sit outside workspace search, retrieval and history.
Where this is headed — direction, not a dated commitment. Typed frontmatter so a rule can carry its own status, owner and freshness as signals a reader can weigh rather than conventions it must infer. Pinning a rule to a specific version so a run can depend on the text it was tested against. Exposing change history over the API and MCP, so "what is new since my last run" becomes a question an agent can ask.
The bottom line
You already have an AI agent feedback loop. It runs every time you stop an agent and tell it that is not how we do things here. The loop is open at one end: the correction lands in a session that closes, and the knowledge it carried goes with it.
Closing that loop does not require a trace pipeline, a reward model or a GPU. It requires noticing that the override was the valuable part, and writing it down somewhere an agent will look before it starts. Everything above rung two is optional and most teams will never need it. Rung two is not optional, and the window on getting it cheaply is narrowing, because the review comments it used to come from are quietly disappearing.
Write down what the model cannot know. Your corrections are the list.
Start free · Connect an AI agent · Read the API docs
Frequently asked questions
What is an AI agent feedback loop?
An AI agent feedback loop is any arrangement where what happened on one agent run changes how the next one behaves. The loop can close through the model weights, through a written rule the agent reads before it starts, through an eval that gates a change, or through a tool that refuses a bad call. Most teams have the first half of a loop — the agent produces output and a human reacts to it — but no mechanism that carries the reaction into the next run, so the same correction is given again every week.
Why is a human correction better training data than a normal agent trace?
Because it labels itself. A trace of a successful run tells you nothing about which of its thousand tokens mattered, and a trace of a failed run still needs someone to say why it failed. When a person stops the agent and overrules it, that intervention marks the exact point where human knowledge exceeded the model's, and it was produced for free as a by-product of work somebody was doing anyway. Brian Douglas makes this argument in an AI Engineer talk: when an engineer pushes back, it is a reliable signal that they know something the agent does not.
Should I fine-tune a model on my team's corrections or write a skill?
Write the skill first. Douglas, who did both, recommends starting with a skill because that is where most of the available mileage is today. A written rule can be read, reviewed, argued with, versioned and corrected by anyone on the team, and it works on whatever model you use next month. A fine-tune bakes the same knowledge into weights that nobody can read, that no reviewer can diff, and that go stale when you change base models. Fine-tuning is a reasonable later rung, not the first one.
Why are code review comments a worse source of this data than they used to be?
Because much of the first detailed review has moved out of the pull request and into the developer's private session with the agent. Michaela Greiler calls this the shift from peer review to self-review, and notes that knowledge which used to spread through peer review can stay with one developer. There is measured movement in the same direction: a 2026 preprint by Haoran Yu and colleagues, covering 400 repeat reviewers who submitted 11,429 reviews over a seven-month observation period, found approval rates rising from 30.1 percent to 36.8 percent while inline comment volume fell 22 percent. The authors read that combination as most consistent with reflexive habituation under growing workload rather than trust calibration alone.
Where should harvested corrections be stored?
In documents that both people and agents can read, next to the rest of your written context, rather than in a trace database nobody opens. A trace store is the right place to capture a correction; it is the wrong place to keep the rule you distilled from it, because a rule has to be found before the next run starts. In a markdown workspace such as MDflow, folder descriptions are the primary retrieval signal, so an agent can ask for the conventions that govern a given area and get back the current text rather than a pasted copy from last month — and it can write the next correction back over the MCP server or the HTTP API.
Further reading
- Every Correction You Give Your Agent Is Data — Brian Douglas, Paper Compute, AI Engineer, November 2026. The talk this post is built on.
- tapes — Paper Compute's open-source agent telemetry layer.
- From Peer Review to Self-Review: The Epistemic Risk of Agentic Development — Dr. Michaela Greiler, July 2026.
- Expectations, Outcomes, and Challenges of Modern Code Review — Bacchelli and Bird, ICSE 2013. The source for knowledge transfer and team awareness as review outcomes.
- Habituation at the Gate: Rising Approval and Declining Scrutiny in Human Review of AI Agent Code — Haoran Yu and colleagues, June 2026. The source of the 22 percent figure.
- From Human-Centric to Agentic Code Review — Suzhen Zhong, Shayan Noei, Bram Adams and Ying Zou, July 2026. The 1.02-million-pull-request comparison.
- The End of Code Review: Coding Agents Supersede Human Inspection — Martin Monperrus, KTH, June 2026. The position paper arguing the other way.
- Skill Novelty: Stop Writing What the Model Already Knows — how to tell which parts of a written rule are actually teaching the model something.
- Golden Examples for AI Coding Agents — the curated half of the same problem. Golden examples are chosen in advance; corrections are discovered, and they mark what the curated set is missing.
- Agent Observability: From Production Signal to PR — the same loop closed from production failures rather than human overrides.
- Correct Code, Wrong Change: Reviewing for Coherence — why the context that decides whether a change belongs is never in the diff.
- MDflow MCP documentation and HTTP API documentation — how an agent reads and writes your workspace.