History has a funny way of repeating itself. When I was in university, the waterfall model was very much the state of the art. You analyzed the problems space, then you wrote a specification, complete with success criteria and then you handed this big pile of paper off to the programming team for implementation. Six months later, the team came back with a prerelease that a) didn’t do what you wanted, because you hadnt’ been precise enough in the spec and b) did not fulfil your current needs, which had changed in those six months. Discontent with this way of working was widespread by then, and a loose group of people had started questioning whether other engineering disciplines were a good template for IT projects and worked towards a more incremental, cooperative mode of working. These eventually resulted in the “Manifesto for Agile Software Development”. (That the industry as a whole completely missed the point of it shall be the focus of another diatribe). “Agile” has since become the standard way of doing software development.
I’ll Be Back
Then AI happened. And guess what, the waterfall model is back, only it’s called “one-shotting”
this time. The idea is that you write a specification, which you link in your agents.md and
then you turn an AI agent loose on that repository which keeps on chugging until your spec is
fully implemented. Sounds like classic “waterfall” to me.
So are we simply repeating the mistakes in the past or are the times a-changing and we should
change with them? One difference is that the implementation does not take six months anymore,
but even substantial project can be implemente quite fast. As an example, I’d like to cite the
Indonesia project. It’s a one-shot
of a LSP server for java written in Rust. The repo is the product of some agents working for
about two weeks. That takes care of the “the requirements have changed” problem quite effectively. The requirements simply can’t change as fast as AI can generate code. So what about the second problem: i.e. that you have to get the spec 100% right in order to get the right result? I think this problem persists with one-shotting. When you implement something incrementally, you learn things in the process: a UI might not be as usable
as you thought, your understanding of a business process might be wrong, etc. This learning
disappears if you write a spec up front. Agile development is not a fixed process: it is an
ongoing interaction with the eventual user of the software. The product design comes out of the
interaction of two humans: the programmer and the end user.
You could argue that the iteration could also be done on the spec. That is true, of course,
but each time that you regenerate your app from scratch, you’re throwing away a whole lot of
decisions that are not in the spec explicitly. You’re throwing away “known to be good” parts of
the software the might not be recreated the same.
Agile AI?
So how can we keep the benefits of continuous learning in agile in a world where the project is
finished programming before lunch? I don’t think “the end user becomes the programmer” is the
solution. Writing the code was never the reason we needed programmers: the real value of developers
was always in bringing the somewhat loose concepts from the real world in a consistent, precise form
that would result in a stable system. None of that has changed.
I think the real challenge lies with the consumers of our programming work. Before AI, the discovery
of requirements could proceed at a leisurely pace, in step with the implementation. Now, a product
owner could formulate a requirement in the morning and have a working implementation in the evening.
By the next morning, he’d have to give well-reasoned feedback.
I think what will work best in this world are small, integrated teams of highly skilled individuals. They will be in constant cooperation without the need for external feedback. This means
these teams will have to include decision makers as well as people who produce artifacts. But then, this way of working has always been highly effective and efficient. Look at the teams behind VS Code or the Open J9 VM. Small, smart and highly autonomous.
This will be a huge challenge for management: if they do not delegate authority, they become the bottleneck for the organisation. But less control also means less impact and a loss of power. Not sure everyone will welcome this. I’ll get the popcorn.
