<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[DevGurbuz Notes]]></title><description><![CDATA[Exploring the intersection of software engineering, computer science, and education.]]></description><link>https://blog.devgurbuz.com</link><image><url>https://substackcdn.com/image/fetch/$s_!kbka!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2b48e77-7251-4e04-8888-eedceaf43e25_1024x1024.png</url><title>DevGurbuz Notes</title><link>https://blog.devgurbuz.com</link></image><generator>Substack</generator><lastBuildDate>Wed, 02 Dec 2026 22:21:26 GMT</lastBuildDate><atom:link href="https://blog.devgurbuz.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Ahmet Gurbuz]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[devgurbuz@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[devgurbuz@substack.com]]></itunes:email><itunes:name><![CDATA[Ahmet Gurbuz]]></itunes:name></itunes:owner><itunes:author><![CDATA[Ahmet Gurbuz]]></itunes:author><googleplay:owner><![CDATA[devgurbuz@substack.com]]></googleplay:owner><googleplay:email><![CDATA[devgurbuz@substack.com]]></googleplay:email><googleplay:author><![CDATA[Ahmet Gurbuz]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Who Verifies the Code Your Agent Wrote?]]></title><description><![CDATA[My agents said the code was correct. A human tester found logic bugs. What I learned about verifying agent-written code, and why I'm trying Kun's no-mistakes.]]></description><link>https://blog.devgurbuz.com/p/who-verifies-the-code-your-agent-wrote</link><guid isPermaLink="false">https://blog.devgurbuz.com/p/who-verifies-the-code-your-agent-wrote</guid><dc:creator><![CDATA[Ahmet Gurbuz]]></dc:creator><pubDate>Tue, 17 Nov 2026 13:00:50 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/9e79c217-6093-4e48-b9f0-bd4a532a7a67_1456x816.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div><hr></div><h2>The bugs my agents didn't see</h2><p>My learning management system (LMS) project had been in the works for months. It finally reached stage, the point where the MVP goes to production. I sent it to someone else for UAT.</p><p>When the feedback came back, I was surprised. They had found logic bugs in many areas.</p><p>I started investigating the bugs with my agents. The first thing I noticed was uncomfortable: the agents claimed they had done the work correctly. But when I asked them to review the code again, they agreed with me and quietly started changing it.</p><p>Same code, same agent, two different answers.</p><h2>Two possible reasons</h2><p>By the end of the process, one thing was clear: we had failed to catch these functional and requirement-level problems. I saw two possible reasons.</p><ol><li><p>I hadn't managed the agent well.</p></li><li><p>I didn't know enough about testing agent-written code, or I didn't have the right tool.</p></li></ol><h2>The real question</h2><p>That led me to a more basic question: how do you test code written by agents? It goes beyond the code. How do you keep an agent on track during the build, and how do you make sure it actually built what you wanted? There's a second problem here too: scale. In a high-throughput setup, a human can't decide whether hundreds of PRs a day are correct. Human nature doesn't work that way. So human attention has to shift to the high-stakes decisions. But how?</p><h2>Three approaches and their limits</h2><p>I started looking into the in-between process, the methodologies and the methods.</p><h3>1. Hooks</h3><p>Some engineers used hooks. This approach runs tests or lint automatically, without leaving it to the agent's judgment.</p><p>But at the end of the day, a more basic problem shows up here: who wrote those tests? Running a test the agent wrote through a hook may look deterministic from the outside, but if the author didn't write the right test, you only think you've verified the code deterministically. In reality, that's nothing but an illusion.</p><p>In fact, this problem is so big that even if your methodology is TDD or anything else, it can keep you from telling a right result from a wrong one.</p><h3>2. Deterministic skills</h3><p>Other engineers took the general testing decisions, made them deterministic and turned them into a skill. They draw clear boundaries, like "the agent does this, doesn't do that, does this", and try to test the code through that skill.</p><p>But at the end of the day, even the deterministic sentences you give can't fully cover the work being done at that moment.</p><p>On top of that, the model you test the code with shouldn't be less capable than the model that wrote it. If you apply deterministic rules with a weaker agent, its statistical, probabilistic reasoning may keep you from getting the right result.</p><p>The real weak point is this: a deterministic skill can only hold a certain set of decisions. You need a separate skill for each project, and that isn't sustainable. On top of that, you can't guarantee that the skill you wrote always covers the full scope.</p><h3>3. Sub-agents</h3><p>Some engineers moved the check into sub-agents. They give the skills they built to sub-agents and keep the context of the agent that wrote the code separate from the sub-agent's context. They say this makes the process testable.</p><p>The weak part is that it still requires writing a skill for every project. It also needs the review to be done by an LLM that is more capable than the agent that wrote the code.</p><p>These three perspectives, hooks, skills, and even calling deterministic branches through sub-agents, convinced me that there has to be a pipeline that brings them together.</p><p>In other words, the code should be tested through these different steps, starting from the very beginning of the process, with the requirements.</p><blockquote><p><strong>The expensive part is no longer writing code. It's verifying it.</strong></p></blockquote><h2>What Kun's no-mistakes does differently</h2><p>While researching, I came across Kun's <a href="https://github.com/kunchenguid/no-mistakes">no-mistakes</a> repo. It's written in Go and MIT-licensed.</p><p>The core idea is simple. Instead of <code>git push</code>, you run <code>git push no-mistakes</code>. The tool runs your change through a series of AI steps in a temporary worktree. If everything is green, it pushes and opens the PR for you.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!jA7K!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9a696d5-e707-418a-bde4-04f2b48cea00_2400x1440.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jA7K!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9a696d5-e707-418a-bde4-04f2b48cea00_2400x1440.png 424w, https://substackcdn.com/image/fetch/$s_!jA7K!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9a696d5-e707-418a-bde4-04f2b48cea00_2400x1440.png 848w, https://substackcdn.com/image/fetch/$s_!jA7K!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9a696d5-e707-418a-bde4-04f2b48cea00_2400x1440.png 1272w, https://substackcdn.com/image/fetch/$s_!jA7K!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9a696d5-e707-418a-bde4-04f2b48cea00_2400x1440.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!jA7K!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9a696d5-e707-418a-bde4-04f2b48cea00_2400x1440.png" width="728" height="409.5" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c9a696d5-e707-418a-bde4-04f2b48cea00_2400x1440.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;The no-mistakes validation pipeline&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="The no-mistakes validation pipeline" title="The no-mistakes validation pipeline" srcset="https://substackcdn.com/image/fetch/$s_!jA7K!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9a696d5-e707-418a-bde4-04f2b48cea00_2400x1440.png 424w, https://substackcdn.com/image/fetch/$s_!jA7K!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9a696d5-e707-418a-bde4-04f2b48cea00_2400x1440.png 848w, https://substackcdn.com/image/fetch/$s_!jA7K!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9a696d5-e707-418a-bde4-04f2b48cea00_2400x1440.png 1272w, https://substackcdn.com/image/fetch/$s_!jA7K!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9a696d5-e707-418a-bde4-04f2b48cea00_2400x1440.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">The no-mistakes validation pipeline: nine steps in a fixed order. The orange steps (Review, Test, CI) can also trigger a fix or hand the decision to you.</figcaption></figure></div><p>Its philosophy matched what I had seen. Their thesis: the bottleneck has moved. Agents now write code faster than teams can verify it.</p><p>Their answer rests on three ideas:</p><ul><li><p><strong>Author and verifier are separate.</strong> Verification happens in a clean session, not in the session of the agent that wrote the code.</p></li><li><p><strong>"Tests passed" isn't enough.</strong> An evidence agent spins up the real product and runs user scenarios end to end. Any claim it can't prove is marked untested.</p></li><li><p><strong>Anything unclear goes to a human.</strong> Findings fall into three classes: <code>auto-fix</code>, <code>ask-user</code> and <code>no-op</code>. Anything that can't be classified becomes <code>ask-user</code>.</p></li></ul><p>My favorite detail is the <code>reviewed_paths</code> check. The reviewer lists the files it actually read. If the list doesn't cover every changed file, there's no approval. Simple, but valuable.</p><h2>Where it falls short</h2><p>It has weak spots too.</p><ul><li><p>The review is still probabilistic. The docs themselves say it isn't a certificate.</p></li><li><p>The agent is told not to touch files outside its temporary copy, but nothing technically stops it. For real safety, run it in an isolated environment, like a container or a separate CI runner.</p></li><li><p>Every push means several agent runs, so cost and latency go up. Not all nine steps call an LLM, but Review and Test are the expensive ones. When review finds something, a review, fix and re-review loop starts, and the reviewer reads the context from scratch each time.</p></li><li><p>If intent is inferred from conversation logs, every check can end up aimed at the wrong target.</p></li></ul><h2>What I'm doing now</h2><p>Still, I made my decision. I've started using no-mistakes as a real quality agent on top of my CI/CD pipelines, both locally and on the remote side of my repos.</p><p>If you want to start somewhere tomorrow:</p><ul><li><p>Don't let the agent that wrote the code also write its tests.</p></li><li><p>Run the review in a separate session from the one that wrote the code.</p></li><li><p>Ask for evidence, not "tests passed".</p></li></ul><p>I'll share what I learn as I use it in future posts. For now, I can say one thing: don't trust the agent. Ask for evidence.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://blog.devgurbuz.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading DevGurbuz Notes! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item></channel></rss>