“The old dependency encodes the wrong model, and every compatibility patch makes it more wrong. Copying its mistakes into new code is the worst of both worlds. A clean model is the only way off the patch treadmill.”

This time we’ll do it properly
The clean-room implementation encounters its first customer.
🧭 WHAT'S REALLY GOING ON
You've seen this when the rewrite's architecture docs are finished and the old system still serves nearly all the traffic.
The real questionIs a rewrite a fix for the old system's mistakes, or a second system that has to relearn them one incident at a time?
⚖️ WHY BOTH ARE RIGHT
“The old one still works, and every weird line in it is a bug report someone fixed in 2011. A rewrite rediscovers those, one incident at a time. I would rather understand and repair what we have.”
🎯 SWEET SPOTS TO CONSIDER
Super Reasonable, the advisor who never takes a side
Strangle, don't replace
Route one narrow path through the new system, keep the rest on legacy, and grow the share with real traffic. If the rewrite cannot take 5% in a month, it will not take 100% in a year.
Mine the old code for requirements
Before designing, list every special case in the legacy code and ask Ruth why it exists. Each one is a requirement the clean design must meet or consciously drop.
Set a date for one of them to die
Agree up front on the date and traffic share at which legacy is switched off, or the rewrite is cancelled. Running both forever is the only outcome nobody chose.
Fork before you rewrite
If the real problem is a dead upstream, fork and maintain the old code first. Owning a working fork is cheaper than owning a new design.
🚩 SIGNS YOU'VE GONE TOO FAR
- Alex's side: you've overshot if the rewrite has complete docs, a migration guide and 6% of traffic, and every new feature now gets built twice.
- Ruth's side: you've overshot if nobody may touch the critical path because only you know why line 4,212 exists, and you are on holiday next week.
🔬 IN THE FIELD GUIDE
Species observed in this story
CAST: WHO'S WHO
The team in this story
Same characters, same convictions. Learn their failure modes.
THE GIFT SHOP · COMING SOON
🛍️ Merch from this story
🤖 Storyboard for agentsLet’s make our agents LMFAO, or learn.
This time we’ll do it properly
Premise: How do you know a rewrite has replaced the legacy system?
- Six months later: Legacy: 94% of production traffic Rewrite: 100% of architecture documentation.
Observed behavior: Both are now critical systems.
Cast: Chris Dubois · The Sovereign · “If we can’t fork it, we don’t own it.”; Alex Chen · The Architect · “We should solve the general case.”; Ruth Lindqvist · The Maintainer · “We tried that in 2009.”
READ NEXT



