What the Spec Didn't Tell the Agent
Getting the software you actually asked for.

In his last post Igor said he mostly just talks to the agent. He talks to it about the product, its states and rules. The agent writes them down as a spec, and the compiler checks it.
We’ve put together a book about how to work this way.
The beta is open: read it here!
Specs were always the boring part. Once the code started moving, nobody kept them current. Agents made that worse, because English is now the programming language, and English is ambiguous.
“Only bill active members.” Does a grace period count? What about a member who cancelled but still has paid access? The agent picks one reading, writes the code and the tests from it, and everything passes.
The book shows how to put the requirements that matter into Agda, where the compiler checks them, and then compile that spec into an oracle to test the real code against.
The agent writes the Agda. You read it and decide if it says what you meant.
Every chapter starts with something that broke in software we built with agents.
It’s a beta, so tell us what’s unclear or wrong. Select any sentence in the reader to comment. No account needed.


Discussion about this post
The book is published!
https://leanpub.com/what-the-spec-didnt-tell-the-agent
It's way to go !