
foojay · 8 min readSoftware architecture
Accreted Specifications
Accreted specifications arise when code evolves to meet unforeseen real‑world conditions, turning implementation into a living spec. The article argues that this hidden debt is the most damaging part of a system and proposes using policy objects to isolate and document evolving rules. Understanding and recovering these specs is essential for maintainability.
- Accreted specs become hidden technical debt that outpaces documentation.
- Policy objects centralize rules, keeping handlers simple and testable.
- Recovering specs requires reconstructing intent from code, commits, and tests.