Immutable Infrastructure, Immutable Code

An essay arguing that code should be regenerated from specifications, not edited in place.

Author
Chad Fowler
Published
December 30, 2025
Kind
Personal essay in the author's Phoenix Architecture series
Original
aicoding.leaflet.pub/3mbaguyrjek2g
Subject
Coding with agents

What it is

Chad Fowler wrote this essay as part of The Phoenix Architecture. Fowler recalls writing about trashing servers in 2013. Fowler now applies the same idea to code written with AI.

What it says

What evidence it gives

The post argues by analogy to immutable infrastructure. It recalls a Wunderlist-era rule that new technology code stay tiny. It gives no measurements and no example of regenerating a real system.

Interests and limits

Fowler publishes the Phoenix Architecture series, so the essay is also its own advocacy. Nothing was tested. The post treats good specifications and evaluations as achievable and does not show how. Other essays in the series were not read.