<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Archunit on Pauls Blog</title><link>https://prule.github.io/pauls-blog/tags/archunit/</link><description>Recent content in Archunit on Pauls Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 15 Nov 2026 12:36:53 +1100</lastBuildDate><atom:link href="https://prule.github.io/pauls-blog/tags/archunit/index.xml" rel="self" type="application/rss+xml"/><item><title>Quality Gates for AI-Generated Java and Kotlin: Beyond SonarQube</title><link>https://prule.github.io/pauls-blog/post/coding/2026/ai-code-quality-gates-java-kotlin/</link><pubDate>Sun, 15 Nov 2026 00:00:00 +1100</pubDate><guid>https://prule.github.io/pauls-blog/post/coding/2026/ai-code-quality-gates-java-kotlin/</guid><description>&lt;p&gt;SonarQube alone won&amp;rsquo;t stop an AI agent from shipping bad code. Sonar &lt;em&gt;reports&lt;/em&gt;. Agents don&amp;rsquo;t read dashboards. What works: a small set of tools that &lt;strong&gt;fail the build&lt;/strong&gt;, wired into the one command the agent already runs, with the config files locked so the agent can&amp;rsquo;t switch them off.&lt;/p&gt;&#10;&lt;p&gt;I added these gates to a small Spring Boot project that an agent had built, item by item, with three AI reviews per change. Then I seeded it with 11 typical AI mistakes. &lt;strong&gt;All 11 passed the original build. All 11 failed the new one.&lt;/strong&gt; Adding the gates also turned up a latent NPE and an untested boundary in code that had passed every review.&lt;/p&gt;</description></item></channel></rss>