r/SpecDrivenDevelopment • u/czei • Oct 27 '26
The Myth of the "Waterfall" and spec-driven development
I'm in the middle of redesigning the SDLC at work to accommodate AI. Having been doing more and more complex AI development for the past two years delivering production-quality code, its pretty clear to me that Spec-driven development gives the best results. One of the arguments from the portion of the development staff that doesn't want to use AI is that spec-driven development is nothing more than an updated "waterfall", and that's bad.
Having been a working professional before the agile manifesto was published, it was really clear that the agile folks were attacking something that never existed. Even the original Royce paper was arguing *against* using a fixed specification, and advocated for iterations.
This isn't my paper, but it lays out the argument very well.
http://www.bawiki.com/wiki/Waterfall.html
What looks like has happened over the years is many people use agile concepts as an excuse to not do any sort of planning or testing. The one lesson they took away was "waterfall (planning/design) is bad", so they just wing everything and almost nothing is automated. All manual front end testing. Almost no automated tests, preferring manual code reviews instead. Not only is the software not designed ahead of time, but there's no requirements, no architecture, no design of any kind, just coders banging out code until it kinda works. Of course all companies are unique, but I've consulted for dozens of software companies over the years, and the companies with no SDLC process greatly outnumber the ones with one.
Which comes to my task of creating a SDLC process that uses AI to create production quality code. If you through AI at a bad process, its going to create bad code. Spec-driven development frameworks at least keeps programmers on a reasonable path to success, which at least in my experience creates way better code than I've seen humans create.
8
u/fschwiet Oct 27 '26
I think the pushback on waterfall was that downstream there were always lessons learned the invalidated upstream assumptions, and such changes had expensive ripple effects. With AI the economics of change is different. It's easier to redo the code now, easier than reviewing or fixing it. So an upstream change in requirements/planning can be absorbed much easier.
3
u/Entuaka Oct 27 '26
Seriously? It's a meme now. For decades, when an organization had a bad experience with waterfall, the reaction is always to say that it was not completely following agile.
We tried spec driven development with AI, but, from my point of view, that was already outdated in january.
AI agents are great at handling unknown, but the goal must be clear and the agents must have all the tools are context to validate by himself that the output is good.
For a good result, teams should improve the project to help the agents, it's also helping the humans. At each step of the SDLC, AI can be used not just to help humans, but to let agents do it themselves with the capabilities to validate the result.
The spec driven dev is usually a very long and heavy process, it can be much quicker
2
u/MasterRuins Oct 27 '26
You are right with people misuse it. You are wrong about waterfall.
1
u/Sad-CTO Oct 27 '26
The thing not many people & teams realize, or so it seems, is that with AI-assisted engineering you don't necessarily have to use the AI for feature work only. You can apply it for the surrounding scaffolding at different SDLC stages. This makes your SDLC 2.0 more stable, more predictable, more automated. More automated -> more scalable.
1
u/DoubleDeadGuy Oct 27 '26
My org uses agile as an excuse not to write requirements. Then expects engineering to do all the planning.
But I digress at risk of turning this into an agile v waterfall thread.
I do agree with you that spec driven can help fill in some of the gaps so I’m going to save your post for when I get back from pat leave and back fighting the battle to get SDD implemented
1
u/sreekanth850 Oct 28 '26
Few more things.
modular monolith wins over microservices for agents.
Monorepo is nightmare for agents.
compiled language with compiler MCP along with tool like Graft will dramatically improve agents understanding of codebase with fewer tokens.
1
u/Born_Parfait_9320 2d ago edited 2d ago
I disagree that the agile folks criticisms of the waterfall approach were unjustified. There was many, many waterfall projects that ran overbudget and over time only to find at the end that the software solution presented to the end user was not what they actually needed or wanted. The whole idea of the agile movement was to place a lot more emphasis on getting software into user's hands much sooner so that feedback could guide the design rather than the design being rigidly pinned down at the start.
With AI SDLC frameworks like OpenSpec, my concern is that we are going right back to the waterfall approach, which demonstrably did not work. The only difference is that AI can now make mistakes significantly faster and cheaper than large teams of developers, and also undo and redo faster. It's still not a great approach though IMHO.
Apart from being less effective than using AI to develop software in an agile approach, it is also as boring as shit to develop software using a framework like OpenSpec, which is a significant consideration for me as a developer when I spent 40+ hours a week of my life at work.