What would you build today, and how would you prove it?
Ask any leader running a successful product more than three years old: if you knew everything you know now, and had today's models, hardware, and runtimes, what would you build? The answer is rarely the stack you currently operate.
Every production system is a snapshot of yesterday's assumptions: the market as it looked then, the tooling available then, the team size then, and the lessons you had not learned yet. For twenty-five years, those assumptions aged slowly enough that incremental refactoring kept pace. That stability is gone. Building got close to free, coding agents do real work, and the ground under every product plan now moves weekly.
1. Why stacks expire faster now
A mature architecture hits a ceiling because four inputs change beneath it: the environment (users, competitors, regulations), capabilities (models, runtimes, hardware), learnings (which edge cases actually carry the business), and resources (what no longer requires a year of hand-coding). When those inputs shift and the architecture stays fixed, what made a company win becomes what anchors it in place. Dorothy Leonard-Barton called this core rigidities (S6): the companies with the most at stake are the successful ones, because their live system carries real revenue and real customers they cannot break.
In 2025 and 2026, AI flipped the economics of rebuilding. Teams that once avoided rewrites because writing code took a year discovered that agents can produce a complete port in days. What did not get cheap is proving that the rebuilt system matches production reality. Anthropic's Rust port of its Messages API passed roughly 98% of its tests, yet matched only about a quarter of live production inputs until shadow comparison drove parity to 99.6% (S1). Bun's 535,000-line Zig-to-Rust rewrite took eleven days for agents to write, four months to ship, and still saw nineteen semantic regressions slip past a million assertions (S2). Generation ceased to be the constraint; verification became the entire job.
Evidence · Writing Got Cheap, Proof Did Not (4 Industry Cases)
| Case | Observed Result | Real Bottleneck |
|---|---|---|
| Anthropic Messages API (Rust, Nov 2026) | ~98% unit tests passed, yet only ~25% of live traffic matched. Shadow comparison reached 99.6%. | "Verification, not generation, had become the bottleneck." (S1) |
| Bun (535k-line Zig-to-Rust, 64 agents) | 11 days to a mergeable branch, ~4 months to ship; 19 regressions past 1,000,000+ assertions. | Semantic parity on real inputs beyond written tests. (S2) |
| Google Ads (int32-to-int64) | AI authored ~80% of changes; code generation had to be throttled. | Human review throughput. (S3) |
| Thoughtworks (15M-line COBOL) | Cut reverse-engineering time by two thirds. | Domain-expert verification time. (S4) |
Supplementary · Five Constraints That Move Faster Than Code
An architecture stops fitting when constraints shift faster than incremental patches can absorb:
- Hardware: new chips, sensors, or edge runtimes change what the stack can do.
- The AI frontier: each model generation turns last year's hand-written workarounds into dead weight.
- Data scale: order-of-magnitude growth enables approaches that were impossible at launch.
- Codebase complexity: every change touches ten modules and maintenance consumes roadmap capacity.
- Changing requirements: regulated or fast-moving markets shift faster than old seams tolerate.
2. Jumping the S-curve: the pathfinder's loop
Richard Foster showed that every architecture climbs an S-curve and flattens at a ceiling (S6). Jumping to a higher curve starts lower: the first version of a new design is worse than the mature version of the old one. Rewrites fail when customers are forced to live through that dip, or when a team pauses the business for a year to rebuild from memory.
Moving across shifting ground calls for a pathfinder approach: start from where the company actually stands, protect what works today, take the first load-bearing step toward where the terrain is heading, prove that the ground holds, and leave a paved path the team can repeat.
Tesla ran this dual-lane pattern on its driving stack for a decade (S7). One line, the Champion, serves live traffic and performs side effects. A second line, the Challenger, receives the same real inputs in Shadow mode without acting. Every disagreement becomes evidence. In 2016 the human driver was the Champion and the neural net ran in shadow; by 2019 the production model was the Champion and candidate networks were Challengers. When FSD v12 replaced 300,000+ lines of C++ with an end-to-end network, customers never saw the early dip. SpaceX's Raptor 1 to 3 and Formula 1 teams designing next year's car while racing this year's follow the same rule: the challenger stays on the bench until it earns the seat.
Adaptive Factory brings that dual configuration to production software with two primitives: a plain-Git Library (frozen cycle Charters, named human owners with expiry conditions so obsolete rules can be pulled, Decisions with rejected alternatives, and permanent Verdicts) and a Validation house that proves every Challenger against live Champion behaviour before cutover.
Supplementary · Tesla HW3 Compare, SpaceX Raptor, and Chesterton's Fence
- Dual-chip hardware pattern: Tesla's HW3 board placed two independent chips on one board comparing plans on identical inputs (Autonomy Day slide: "Compare"); Karpathy reported 221 shadow triggers across 1M clips before release (S7).
- New engine, not patched engine: SpaceX Raptor 1 to 3 lifted sea-level thrust from 185 to 280 tonnes-force while cutting mass from 2,080 to 1,525 kg by absorbing external plumbing into the body (S7).
- Chesterton's fence in reverse: Every requirement in the Library names a human owner (never a department) and an expiry condition. A fence with no owner is marked
unknownso the next Charter can safely test pulling it down. - The team judges; agents write: An agent working from a rich ledger builds a system for the fourth time on its first attempt, shifting human effort from typing code to ruling on divergences.
3. Proof from the outside: the orthogonal axis and the moat
Most software factories stay inside the Git repository because discovering what a live business actually does
from the outside is genuinely hard. Real business rules hide in production traffic, support queues, payment
retries, and undocumented legacy side effects. Turning observed behaviour evidence and human
demand evidence into one governed Library joined by Surface records is the hard work
nobody else builds. Once captured, that record compounds every cycle and outlives any single model, coding
agent, or rewrite.
This outside-in record also solves the core feedback problem for coding agents. Today, agents verify their work with unit tests, type checks, and linters. Those checks live on one axis: internal consistency against whatever the author or agent already assumed. Adding more agent-written unit tests pushes further down the same axis and misses the same blind spots. Shadow production replay sits on the perpendicular axis: it compares real masked production outputs, canonical state Projections across different database schemas, and recorded outbound Intents (emails, charges, webhooks, queued jobs) with zero live side effects.
Every engineering check sits on one five-step ladder. Most tools stop at Level 2 or Level 3; Adaptive Factory closes the loop to Level 5.
Market Map · What Each Tool Proves (+ Precedents & Counter-Arguments)
| Player | What It Proves | What Is Missing |
|---|---|---|
| 8090 | Lint, blueprint review agent, tests, requirement-to-test trail. | Production behaviour replay and rebuild equivalence. |
| Factory | Validation workers exercise the running app at milestones. | Comparison against the live Champion in production. |
| Tusk Drift | Record and replay labeling diffs from pull requests. | Change-level focus; no Git governance ledger or rebuild loop. |
| Signadot | Model-scored diffs between sandboxes. | Authored tests rather than masked production traffic. |
| Adaptive Factory | Plain-Git ledger + shadow replay across outputs, state projections, and outbound intents + human verdicts. | Works beside any Floor agent; live mirror and full outside-service clones come next. |
Precedents & counter-arguments: Twitter Diffy (2015) and GitHub Scientist (2016) compared live responses on stateless paths; Adaptive Factory extends that to whole stacks including writes and side effects. Brian Lee argues the codebase is the most faithful spec, which holds until you capture live production I/O and verdicts in a ledger first. The SWE-Milestone benchmark shows agent success drops from >80% on isolated tasks to 38% under continuous dependent evolution because regressions compound, reinforcing why every cycle needs shadow verification.
4. Multi-language framework convergence
Custom instrumentation is the highest upfront cost when onboarding a bespoke legacy system. As opinionated frameworks like Laravel expand across PHP, Rust, Go, Java, and Perl, a natural rebuild target emerges:
- One Playbook across runtimes: Teams migrating from Laravel PHP to Laravel Rust, or moving off non-framework legacy stacks for velocity and control, adopt one coherent Playbook (conventions, starter kit, design kit, docs discipline, and managed cloud deploy).
- Out-of-the-box Scouts and Validation house: Once a system lands on a supported framework runtime, middleware capture, outbound intent recording, telemetry scouts, and canonical projections work out of the box on every cycle after.
5. Where the factory pays off
Slow-moving internal tools and simple sites can stay incremental. Adaptive Factory creates asymmetric leverage where requirements, capabilities, or risk move faster than manual review can follow:
SCN-*) and human
legitimately-different rulings; external APIs are covered by recorded replies and Scout Program
shadow mocks.
Start From What You Stand On
You do not need full shadow replay on day one. Run Rung 0 read-only Scouts and a safe repo scan first to map real surfaces and gaps, calibrate Champion against Champion at Rung 2, and promote your first Challenger slice only when the evidence gate opens.
Sources
- S1: Anthropic, Migrating our Messages API to Rust (2026-11-25).
- S2: The Pragmatic Engineer, What can we learn from Bun's rapid Rust rewrite with AI?
- S3: Google, AI-assisted int32-to-int64 migration in Google Ads.
- S4: Thoughtworks, Mainframe modernization with AI.
- S5: Addy Osmani, Software Factories, Light and Dark (2026-07-20).
- S6: Richard Foster, Innovation: The Attacker's Advantage; Dorothy Leonard-Barton, Core Capabilities and Core Rigidities (1992).
- S7: Tesla Autonomy Day (2019), HW3 Dual-SoC Compare, and FSD v12 Shadow Mode; SpaceX Raptor 1–3; Formula 1 parallel development cycles.