Stop giving agents one giant spec; split docs by lifetime instead

Goldziher · reddit · 2026-07-23

The core idea

Don’t hand an agent one giant spec. Split documentation by lifetime instead: requirements in a churn-friendly ticket system, architectural decisions in append-only ADRs, implementation plans as ephemeral notes, and contracts as black-box integration tests.

Why this works better for agents

A spec usually blends four different things with different decay rates: why, how, execution order, and done-criteria. Over time it becomes stale, and an agent will treat that stale text as ground truth instead of asking follow-up questions like a human would.

The proposed workflow

The author ends by asking how others provide architectural context to agents: ADRs, another system, or just code inference.

Original post →

More from coding & agent

coding & agent channel →