
How OpenClaw Scaled to 1M Lines Of Vibe Code In 3 Months Without Becoming Unmaintainable
16k commits and almost ~1M lines of code produced with AI - why didn't the project become an unmaintainable spaghetti slop? I tried to understand that and one of the main reasons has to be related to architecture, so I took a snapshot of OpenClaw every 1000 commits and analyzed the state of architecture at each "snapshot." 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): Circles are modules (folders). Arrows are dependencies (there are too many arrows but I thought they look shiny so I didn't hide them). The main pivot in terms of architecture seems to be Jan 11 where the creator of OpenClaw, Peter, introduced the plugin architecture : And on a podcast " Pragmatic Engineer " 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... and I care a lot about the structu
Continue reading on Dev.to
Opens in a new tab




