The bedrock of these models is comprised of OUR knowledge and expertise. So, what works well for us, works well for them, as well.
Thus, much of our best practices around coding yield the same benefits to an agent as they do to a human. It's in our best interest for the managers of these agents to maintain that same dedication to high quality, maintainable, readable code...because it will yield better results for us downstream.
Mostly agree and it's a good way to put it. The models learned from our code so the habits that helped us tend to help them too.
It's interesting. Some of what we called readable was really about human comfort like formatting debates or how clever a one-liner was allowed to be. I'd keep the dedication to quality you're describing, but aim it at a slightly different target than the one we were used to.
The "who writes the tests" part hit close to home. I recently ran a plan through my own agent setup where each phase was done by one agent and reviewed by a separate one that only saw the diff and the acceptance criteria, not the executor's reasoning. Out of five phases the executors had already marked as done, three had serious problems, and all their tests were green. The bugs sat exactly in what those tests didn't check, because the same agent wrote both the code and the tests.
One of them was a small cousin of the sys.exit(0) story: in a task set for comparing models, a task could be passed by just committing something and saying it's already done. What helped was checking the checks. Now every task has a known correct solution that must pass, a stub that does nothing and must fail, and a few deliberately tricky variants.
Going to read the write-up. One thing I'd be curious about: did giving the reviewer only the diff and acceptance criteria make it miss anything the executor's reasoning would have caught or was that trade worth it every time?
Good question. It made me go back through the logs. First, a correction to my earlier comment: the reviewer never saw the executor's reasoning, but it did receive a short list of the executor's declared deviations from the plan, along with instructions to evaluate each one. So it wasn't reasoning to follow, but claims to verify.
With that setup, I couldn't find any case where the reviewer missed something the executor's reasoning would have caught. Two cases went the other way. In one phase, the executor noticed that a requirement hadn't been met but dismissed it as out of scope. The reviewer received it as an open question and ruled it a spec failure. In the benchmark phase, the executor said its checks were stricter than the spec and that this had been disclosed in the task prompts. The reviewer found a check that rejected a correct fix simply because it added a regression test, even though no prompt mentioned that rule. "Stricter is fine, it's disclosed" is very easy to accept when presented as context.
The executor's notes did catch issues first once: in another phase, its own list flagged three issues before the review. They were fixed, and the reviewer found nothing else. So the notes are useful; I just treat them as things to verify rather than things to trust.
Five phases is a small sample, so I wouldn't call this proven.
a person eyeballing blast radius on every PR is the same bottleneck again, a PRI score from the touched code’s history isn’t, and it doesn’t share the author model’s blind spots. https://tomosu.ai/platform#indexes
The cost-of-undoing distinction gets tricky with database migrations. A feature flag can stop new requests but cannot undo data already rewritten. I'd put reversibility in the review evidence: old and new binaries both work during rollout, writes remain readable by the old version, and restore has been rehearsed against representative data. That makes a lighter human pass a property of the deployment plan, not of a small diff.
The ownership point is the part I keep coming back to.
I had an engineer use AI to push a ton of PRs, but when I dug in, they couldn’t explain the code they were shipping. The output looked great until you asked who actually understood and owned it.
I’m fine with humans reading less code if accountability goes up, not down.
The question I keep coming back to is your “where does a test get its authority?”
I think there may be a second authority boundary beside it.
Independent checks can increasingly establish what changed, what behaviour is supported by evidence, what remains uncertain, the likely blast radius and perhaps even how reversible the change is.
But they cannot establish that the residual consequence is acceptable, or that this change should exist at all. That is not an evidence problem. It belongs to whoever legitimately holds the authority to make that decision.
So as review moves from the diff toward evidence, I wonder whether the durable review unit eventually becomes the decision itself: intent, evidence, uncertainty, consequences, reversibility and the authority to accept what remains.
Do you see that distinction emerging in practice: between checks being strong enough to support a decision and someone actually having the authority to say “this is acceptable to ship”?
The two costs framing is sharpest when the undo isn't a revert. When an agent rewrites a retry path or a webhook handler, a bad merge doesn't roll back cleanly. It leaves a trail of half-sent work you have to reconcile by hand. I now keep a short blast-radius list for the product: anything that touches credentials, migrations, or outbound side effects still gets a careful human read, even when the automated pass is clean. Everything else can be lighter.
The Microsoft finding you cite - only 14% of review comments about defects - points at what actually breaks when line-reading goes away: review was mostly context transfer, and agents don't inherit that for free. What you call earning trust another way is, mechanically, context engineering: deciding what reaches the model, when, and in what form, so the human still owns the ship call. I went deep on how Claude Code's architecture does exactly that: https://seldondance.substack.com/p/the-architecture-of-ai-assisted-technical
"can I explain this?" is imo the most important part here, I have almost the same personal gate before I approve anything - do I understand what was changed and what are the trade offs. you don't need to read every line for that, but you need to be able to answer some questions about it.
I did a research on the same public repos over last few years (link below) and silent approvals went up a lot since 2022, I can't say it's because of AI, but it fits what you wrote - ppl stopped reading and nothing came in its place.
how do you check it at the end? if someone approves without reading everything, how do you know they could really explain it? is it just what they write in PR description or something more?
The 100-page report and 30-tab spreadsheet stuck with me. Asking to start with the high-level gaps sounds like someone trying to review the work, not dodge it. They need a way into the material.
Agreed that line-by-line reading is going. The sentence I'd keep on the wall is that every change still needs a person who owns the decision to ship it. Outside code it's the same for me. When I ask what it cannot do for me, I mean something more specific: choosing what matters to me and taking responsibility for the direction I pursue. Who owns the ship decision on your teams when an agent did the review?
The bedrock of these models is comprised of OUR knowledge and expertise. So, what works well for us, works well for them, as well.
Thus, much of our best practices around coding yield the same benefits to an agent as they do to a human. It's in our best interest for the managers of these agents to maintain that same dedication to high quality, maintainable, readable code...because it will yield better results for us downstream.
Mostly agree and it's a good way to put it. The models learned from our code so the habits that helped us tend to help them too.
It's interesting. Some of what we called readable was really about human comfort like formatting debates or how clever a one-liner was allowed to be. I'd keep the dedication to quality you're describing, but aim it at a slightly different target than the one we were used to.
The "who writes the tests" part hit close to home. I recently ran a plan through my own agent setup where each phase was done by one agent and reviewed by a separate one that only saw the diff and the acceptance criteria, not the executor's reasoning. Out of five phases the executors had already marked as done, three had serious problems, and all their tests were green. The bugs sat exactly in what those tests didn't check, because the same agent wrote both the code and the tests.
One of them was a small cousin of the sys.exit(0) story: in a task set for comparing models, a task could be passed by just committing something and saying it's already done. What helped was checking the checks. Now every task has a known correct solution that must pass, a stub that does nothing and must fail, and a few deliberately tricky variants.
The most useful review question turned out to be not "does this work?" but "how could a wrong solution get through?". I wrote up the whole run here if anyone's curious: https://swarmery.substack.com/p/why-i-dont-believe-an-agent-when
Going to read the write-up. One thing I'd be curious about: did giving the reviewer only the diff and acceptance criteria make it miss anything the executor's reasoning would have caught or was that trade worth it every time?
Good question. It made me go back through the logs. First, a correction to my earlier comment: the reviewer never saw the executor's reasoning, but it did receive a short list of the executor's declared deviations from the plan, along with instructions to evaluate each one. So it wasn't reasoning to follow, but claims to verify.
With that setup, I couldn't find any case where the reviewer missed something the executor's reasoning would have caught. Two cases went the other way. In one phase, the executor noticed that a requirement hadn't been met but dismissed it as out of scope. The reviewer received it as an open question and ruled it a spec failure. In the benchmark phase, the executor said its checks were stricter than the spec and that this had been disclosed in the task prompts. The reviewer found a check that rejected a correct fix simply because it added a regression test, even though no prompt mentioned that rule. "Stricter is fine, it's disclosed" is very easy to accept when presented as context.
The executor's notes did catch issues first once: in another phase, its own list flagged three issues before the review. They were fixed, and the reviewer found nothing else. So the notes are useful; I just treat them as things to verify rather than things to trust.
Five phases is a small sample, so I wouldn't call this proven.
I love this sentence "good code a love letter to the next developer" ,but in ai era,i don't know how to write this love letter.
a person eyeballing blast radius on every PR is the same bottleneck again, a PRI score from the touched code’s history isn’t, and it doesn’t share the author model’s blind spots. https://tomosu.ai/platform#indexes
The cost-of-undoing distinction gets tricky with database migrations. A feature flag can stop new requests but cannot undo data already rewritten. I'd put reversibility in the review evidence: old and new binaries both work during rollout, writes remain readable by the old version, and restore has been rehearsed against representative data. That makes a lighter human pass a property of the deployment plan, not of a small diff.
The ownership point is the part I keep coming back to.
I had an engineer use AI to push a ton of PRs, but when I dug in, they couldn’t explain the code they were shipping. The output looked great until you asked who actually understood and owned it.
I’m fine with humans reading less code if accountability goes up, not down.
So many great tidbits in here! Love, also highly relatable and relevant as someone who just started a new job after a hiatus.
The question I keep coming back to is your “where does a test get its authority?”
I think there may be a second authority boundary beside it.
Independent checks can increasingly establish what changed, what behaviour is supported by evidence, what remains uncertain, the likely blast radius and perhaps even how reversible the change is.
But they cannot establish that the residual consequence is acceptable, or that this change should exist at all. That is not an evidence problem. It belongs to whoever legitimately holds the authority to make that decision.
So as review moves from the diff toward evidence, I wonder whether the durable review unit eventually becomes the decision itself: intent, evidence, uncertainty, consequences, reversibility and the authority to accept what remains.
Do you see that distinction emerging in practice: between checks being strong enough to support a decision and someone actually having the authority to say “this is acceptable to ship”?
The two costs framing is sharpest when the undo isn't a revert. When an agent rewrites a retry path or a webhook handler, a bad merge doesn't roll back cleanly. It leaves a trail of half-sent work you have to reconcile by hand. I now keep a short blast-radius list for the product: anything that touches credentials, migrations, or outbound side effects still gets a careful human read, even when the automated pass is clean. Everything else can be lighter.
You can only be accountable for what you can explain" is a good test for any team working with agents.
The 'cost of checking vs cost of undoing' framing is what stuck with me too.
The Microsoft finding you cite - only 14% of review comments about defects - points at what actually breaks when line-reading goes away: review was mostly context transfer, and agents don't inherit that for free. What you call earning trust another way is, mechanically, context engineering: deciding what reaches the model, when, and in what form, so the human still owns the ship call. I went deep on how Claude Code's architecture does exactly that: https://seldondance.substack.com/p/the-architecture-of-ai-assisted-technical
"can I explain this?" is imo the most important part here, I have almost the same personal gate before I approve anything - do I understand what was changed and what are the trade offs. you don't need to read every line for that, but you need to be able to answer some questions about it.
I did a research on the same public repos over last few years (link below) and silent approvals went up a lot since 2022, I can't say it's because of AI, but it fits what you wrote - ppl stopped reading and nothing came in its place.
how do you check it at the end? if someone approves without reading everything, how do you know they could really explain it? is it just what they write in PR description or something more?
full research if useful: reviewsaur.com/research
The 100-page report and 30-tab spreadsheet stuck with me. Asking to start with the high-level gaps sounds like someone trying to review the work, not dodge it. They need a way into the material.
Agreed that line-by-line reading is going. The sentence I'd keep on the wall is that every change still needs a person who owns the decision to ship it. Outside code it's the same for me. When I ask what it cannot do for me, I mean something more specific: choosing what matters to me and taking responsibility for the direction I pursue. Who owns the ship decision on your teams when an agent did the review?
Hi Addy, It is recommended to study formal methods.