<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Code-Review on Pauls Blog</title><link>https://prule.github.io/pauls-blog/tags/code-review/</link><description>Recent content in Code-Review on Pauls Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 15 Nov 2026 10:00:00 +1100</lastBuildDate><atom:link href="https://prule.github.io/pauls-blog/tags/code-review/index.xml" rel="self" type="application/rss+xml"/><item><title>Six Builds of One API: What the math-api Experiments Showed</title><link>https://prule.github.io/pauls-blog/post/coding/2026/math-api-experiments-summary/</link><pubDate>Sun, 15 Nov 2026 00:00:00 +1100</pubDate><guid>https://prule.github.io/pauls-blog/post/coding/2026/math-api-experiments-summary/</guid><description>&lt;p&gt;Use one agent with reviews from the first change, and write the rules down exactly. That&amp;rsquo;s the default the math-api experiments point to after six builds of the same API.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;The process didn&amp;rsquo;t change the design.&lt;/strong&gt; Every build ended up with the same layers, the same &lt;code&gt;Operation&lt;/code&gt; enum and the same Jackson limits. The docs decided the architecture, not the workflow.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Reviews are cheap.&lt;/strong&gt; A plan review and two code reviews per change added about &lt;strong&gt;8%&lt;/strong&gt; in time and tokens. They found more issues than a five-agent pipeline that cost &lt;strong&gt;2.4× the time&lt;/strong&gt;.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;OpenSpec&amp;rsquo;s overhead depends on the backlog.&lt;/strong&gt; It cost &lt;strong&gt;52% more time&lt;/strong&gt; when the backlog already held the design, and &lt;strong&gt;16% more&lt;/strong&gt; when the builder had to design. Either way it wrote about &lt;strong&gt;1.4× the output tokens&lt;/strong&gt;.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Written rules catch bugs.&lt;/strong&gt; The same &lt;code&gt;Math.abs(scale)&lt;/code&gt; bug appeared in five builds, though every build&amp;rsquo;s domain model stated the rule exactly. Each build that caught it had restated the rule next to the change, or had tests that were proven to fail.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;This post sums up the four detailed write-ups. The numbers, probes and caveats are in those posts.&lt;/p&gt;</description></item><item><title>With and Without OpenSpec, Part 2: An Outcome Backlog</title><link>https://prule.github.io/pauls-blog/post/coding/2026/outcome-backlog-vibe-vs-openspec/</link><pubDate>Sat, 14 Nov 2026 00:00:00 +1100</pubDate><guid>https://prule.github.io/pauls-blog/post/coding/2026/outcome-backlog-vibe-vs-openspec/</guid><description>&lt;p&gt;When the backlog states outcomes and leaves the design to the builder, OpenSpec&amp;rsquo;s extra cost in time drops from &lt;strong&gt;52% to 16%&lt;/strong&gt;: 46.4 active minutes against 40.1 for items 2–5. Its extra cost in tokens doesn&amp;rsquo;t drop. It still writes &lt;strong&gt;1.43× the output tokens&lt;/strong&gt;. Most of the time gap closed because the vibe build slowed down: it took 32.6 minutes with the task backlog and 40.1 now that it has to design for itself.&lt;/p&gt;</description></item><item><title>With and Without OpenSpec: Building the Same API a Fourth Time</title><link>https://prule.github.io/pauls-blog/post/coding/2026/vibe-coding-vs-openspec/</link><pubDate>Fri, 13 Nov 2026 00:00:00 +1100</pubDate><guid>https://prule.github.io/pauls-blog/post/coding/2026/vibe-coding-vs-openspec/</guid><description>&lt;p&gt;With the same code reviews on both, the build that planned each change in OpenSpec took &lt;strong&gt;49.6 active minutes&lt;/strong&gt; for items 2–5. The build that went straight from prompt to code took &lt;strong&gt;32.6&lt;/strong&gt;. The OpenSpec build ended with &lt;strong&gt;129 tests to 73&lt;/strong&gt; and &lt;strong&gt;94% branch coverage to 80%&lt;/strong&gt;, and it caught a BR-1 bug that the other build shipped. On everything else the two came out level: same architecture, same SonarQube result, same status and type on 24 of 28 live probes.&lt;/p&gt;</description></item><item><title>Reviews Without the Pipeline: Building the Same API a Third Time</title><link>https://prule.github.io/pauls-blog/post/coding/2026/reviews-without-the-pipeline/</link><pubDate>Tue, 10 Nov 2026 00:00:00 +1100</pubDate><guid>https://prule.github.io/pauls-blog/post/coding/2026/reviews-without-the-pipeline/</guid><description>&lt;p&gt;Reviews are the cheap part. One agent running a plan review and two code reviews on every change cost &lt;strong&gt;about 8% more&lt;/strong&gt; time and tokens than one agent with no reviews. It recorded &lt;strong&gt;45 findings&lt;/strong&gt;, more than the five-agent pipeline&amp;rsquo;s 36, at &lt;strong&gt;about 40% of the pipeline&amp;rsquo;s cost&lt;/strong&gt;. The pipeline still wins on one thing: it&amp;rsquo;s the only build whose tests are proven to catch broken code.&lt;/p&gt;&#10;&lt;p&gt;In &lt;a href="https://prule.github.io/pauls-blog/post/coding/2026/one-agent-vs-five/"&gt;One Agent vs Five&lt;/a&gt;&#10; I built &lt;a href="https://github.com/prule/math-api" target="_blank" rel="noopener"&gt;math-api&lt;/a&gt;&#10; twice. The pipeline cost 2× the time and 2.6× the tokens and bought verification, not a better design. But that comparison was lopsided: the single agent had no review step until after v1. So I ran it a third time. One agent again, but following the &lt;a href="https://prule.github.io/pauls-blog/post/coding/2026/claude-md-lightweight-process/"&gt;CLAUDE.md process&lt;/a&gt;&#10; with every review running from item 1. It started from the same final docs as the pipeline and stopped at the same point, item 5 (OpenAPI docs and Swagger UI).&lt;/p&gt;</description></item></channel></rss>