<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Vlad Brakalo</title>
    <description>The latest articles on DEV Community by Vlad Brakalo (@vladbrok).</description>
    <link>https://dev.to/vladbrok</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3808367%2Fe5b10b2f-0635-4042-b5db-3aa1be376e37.png</url>
      <title>DEV Community: Vlad Brakalo</title>
      <link>https://dev.to/vladbrok</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vladbrok"/>
    <language>en</language>
    <item>
      <title>How OpenClaw Scaled to 1M Lines Of Vibe Code In 3 Months Without Becoming Unmaintainable</title>
      <dc:creator>Vlad Brakalo</dc:creator>
      <pubDate>Thu, 05 Mar 2026 17:29:03 +0000</pubDate>
      <link>https://dev.to/vladbrok/how-openclaw-scaled-to-1m-lines-of-vibe-code-in-3-months-without-becoming-unmaintainable-j1i</link>
      <guid>https://dev.to/vladbrok/how-openclaw-scaled-to-1m-lines-of-vibe-code-in-3-months-without-becoming-unmaintainable-j1i</guid>
      <description>&lt;p&gt;16k commits and almost ~1M lines of code produced with AI - why didn't the project become an unmaintainable spaghetti slop?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2ji2jkxenb5zmxmgmd2b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2ji2jkxenb5zmxmgmd2b.png" alt=" " width="800" height="371"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I tried to understand that and one of the main reasons has to be related to architecture, so I took a &lt;a href="https://youtu.be/iPunXq5MMv4" rel="noopener noreferrer"&gt;snapshot of OpenClaw every 1000 commits&lt;/a&gt; and analyzed the state of architecture at each "snapshot."&lt;/p&gt;

&lt;p&gt;Here is how it looked like at 12k commits (the final stage at 15k commits looks +- same; also btw while I was writing the post there are already 16k commits in repo):&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg7u2o7iqft14p9xcmqlb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg7u2o7iqft14p9xcmqlb.png" alt=" " width="800" height="398"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Circles are modules (folders). Arrows are dependencies (there are too many arrows but I thought they look shiny so I didn't hide them).&lt;/p&gt;

&lt;p&gt;The main pivot in terms of architecture seems to be Jan 11 where the creator of OpenClaw, Peter, introduced the &lt;a href="https://cs.uwaterloo.ca/~m2nagapp/courses/CS446/1195/Arch_Design_Activity/PlugIn.pdf" rel="noopener noreferrer"&gt;plugin architecture&lt;/a&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcdqy6xhxvzka4rfzovt8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcdqy6xhxvzka4rfzovt8.png" alt=" " width="800" height="425"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And on a podcast "&lt;a href="https://www.youtube.com/watch?v=8lF7HmQ_RgY" rel="noopener noreferrer"&gt;Pragmatic Engineer&lt;/a&gt;" around ~41:40 Peter mentioned this decision: "...I really wanted to get this PR in ... it was like 15k line change - I moved everything to a plugin architecture... &lt;strong&gt;and I care a lot about the structure&lt;/strong&gt;."&lt;/p&gt;

&lt;p&gt;Here it is that PR btw &lt;a href="https://github.com/openclaw/openclaw/pull/661" rel="noopener noreferrer"&gt;https://github.com/openclaw/openclaw/pull/661&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And later there were more and more plugins appearing. &lt;/p&gt;

&lt;p&gt;Great architectural intuition, and I think this was one of the decisions that allowed OpenClaw to maintain dev. velocity considering that it's vibe coded.&lt;/p&gt;




&lt;p&gt;P.S. just started a newsletter - first email literally asks what you want to hear about → &lt;a href="https://vladbrok.beehiiv.com" rel="noopener noreferrer"&gt;https://vladbrok.beehiiv.com&lt;/a&gt;&lt;/p&gt;

</description>
      <category>vibecoding</category>
      <category>ai</category>
      <category>architecture</category>
      <category>openclaw</category>
    </item>
  </channel>
</rss>
