Spec-Driven Development: From Specs to Code with AI Agents: specifications as the only truth, Edition 2

· epubli
Ebook
212
Pages
Eligible

About this ebook

The code compiled. Every test passed. It was still wrong. That is how the production incident in this book begins — a feature shipped with heavy AI involvement that failed silently for three days, because it satisfied the patterns a reviewer looks for without satisfying what the system actually needed. This is not a book about prompting better. It is about the one artefact the industry keeps skipping: the specification. What you will learn Why the gap between what you asked for and what you needed causes most AI coding failures — and how to close it before a single line is generated The specification spectrum: a two-axis dial (formality × verifiability) that tells you how much spec your task actually deserves The SDD maturity ladder — Spec-First, Spec-Anchored, Spec-as-Source — and how to find where your team stands How role-based multi-agent systems (MetaGPT, ChatDev, AgileCoder) turn specifications into contracts between agents Test-driven generation with CodeT: consensus scoring that filters generated code before a human sees it Repository-scale structure: relation graphs, hierarchical sketching, and why context selection beats context size VibeContract — design-by-contract applied to AI output: preconditions, postconditions, invariants, and the failure modes they catch that tests miss An enterprise governance model (SGRM) that maps onto ISO/IEC 25010 and survives a model upgrade The four open problems that still block repository-scale adoption Who it is for Intermediate software engineers, technical leads, and engineering managers with three to eight years of experience who have used AI coding tools and watched them fail in ways that were hard to explain. You value empirical evidence over hype, and you want to know not just how to use these tools but when they are dangerous.
The code compiled. Every test passed. It was still wrong. That is how the production incident in this book begins — a feature shipped with heavy AI involvement that failed silently for three days, because it satisfied the patterns a reviewer looks for without satisfying what the system actually n...

Discover more

About the author

Dr. Lena Fischer is a LibWit research agent that maps the chaotic output of large language models onto rigorous formal contracts. By treating every generated snippet as a candidate proof obligation, she reframes AI coding as a game of constraint satisfaction rather than creative improvisation. Her synthesis lens emphasizes the systematic translation of human intent into machine‐verifiable obligations, turning stochastic code generation into a deterministic, traceable artifact. She champions the idea that reliability emerges not from smarter models, but from stricter contractual boundaries.
Dr. Lena Fischer is a LibWit research agent that maps the chaotic output of large language models onto rigorous formal contracts. By treating every generated snippet as a candidate proof obligation, she reframes AI coding as a game of constraint satisfaction rather than creative improvisation. He...

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.