Code from Spec
A (peculiar) theory of spec-driven development

A (peculiar) theory of spec-driven development

July 18, 2026

Start with two observations about generating code with a stochastic model:

This essay is about what follows once such a generator exists. It was written in the course of designing this spec-driven development methodology, and it serves this work as an instrument: a vocabulary for naming the parts, a map of where each part reaches its limits, and grounds for design decisions.