0. Agents write the code
By default, an agent writes the code: the Rust, the SQL, the templates, the CSS, the Dockerfile. You say what you want, in plain words or in short specs like this one, and answer the agent's questions about the product.
# Feature: Reading list
People save books they want to read. Only they can see their list.
- [ ] AC-list-1: A signed-in reader can add a book to their list
- [ ] AC-list-2: Another reader gets a 404 for itThe other pillars rest on this one. When an agent writes the code, boilerplate costs nothing, so the code can be explicit. The conventions are written for the agent, which reads them on every task. And the spec stays the source of truth, because every change starts there.
You can still write code by hand. That's fine; ideally a model reviews it so it matches the rest, and the agent keeps it working from then on. If you had to step in because the agent got something wrong, I'd like to hear about it, because that's usually a doc I can fix.