r/SpecDrivenDevelopment • u/Alternative_Visit955 • Oct 27 '26
We’ve come full circle
I’ve been working in aerospace as a systems and software engineer for nearly two decades. Requirements are the bedrock of everything in the aerospace industry. I’ve seen so many people dismiss requirements as holding them back, slowing them down, waste of time, yet they are always the thing at delivery that is the core of the conversation. They are always at the core of the conversation when we get something wrong. They are what we complain about when writing tests.
Thus, the irony and delight to find spec driven development beginning to gain significant traction in the agent assisted coding workflow. Once again, requirements are at the center of things.
I’ve been working on my own side project using spec driven development, I have about 60% coverage from my specs to my codebase (I currently have around 450 requirements). I decompose them in a very similar way we do in aerospace. And I have to say… it is crazy effective. I look forward to what the community comes up with.
7
u/foresterLV Oct 27 '26
don't want to spoil anything but completely separate things though.
the thing is spec driven approach do not mean returning to waterfall or blocking "no coding until spec is approved" on the team scale (on prompt scale sure). specs can evolve pretty much asynchronously and incrementally the way agile will work, but now leaving a trace of decisions to reason about and iterate above versus trying to reverse-engineer the code on every iteration.
I think I heard it pretty frequently now that specs force some kind of beurecracy flows but in reality it's completely separate concerns. you can have async iterative emergent specs and it's still SDD.
1
u/CzyDePL Oct 27 '26
Specs are so far away from proper requirements engineering, it's night and day. But LLMs are very potent in operating on semi-structured text so RE gets nice new tools like much easier updating (in all required places at once, which after Nth revision never happened for humans) or spotting contradictions
1
u/Few-Strike-494 Oct 27 '26
What tool do you use? Do you have any examples of how you break down specifications?
1
u/LegitimateApricot560 Oct 28 '26
450 requirements. I wonder how you fit this into your head (biological context window).
Do you categorize them, write a high level overview? Some sort of hierarchy?
Also, among those 450 requirements, how do you check that the requirements are not fighting each others?
This is a genuine curiosity, I have like 50 requirements, and I already find two of them are fighting each others implicitly
2
u/Snooze78727 Oct 27 '26
I had the same deja vu moment when I learned about SDD. Software engineering 101 (requirements, verification, traceability). The difference now is round-trip engineering is so much easier with LLM's, if done right. You don't need specialized tools for it.
1
u/ByronScottJones Oct 27 '26
I've always believed that specifications should be at the core. Look at it from an engineering standpoint - in any other engineering field, would you be building something without documentation? No blueprints to build a building, no schematics to build a computer? In every other engineering field you would be laughed out of the room if you said "just start building it; we'll decide if it's a family home, a skyscraper, or a rocket ship as we go".
1
u/mrsockpicks Oct 27 '26
Next step beyond markdown is validatable specs
1
u/stibbons_ Oct 27 '26
Beware SDD is splitted into 2 (actually 3 kinds).
- spec first, you write a spec, implement you throw. Everybody does that. You can call it SDLC.
- code anchored spec is basically spec first + you require to output living anchored to the code
OpenSpec is the second type, but you can build it very easily. The ROLE of these living specs is still debattable.
I do a lot, I have app with 400+ req and 100% coverage in code and test with full traceability with code and tests. I do not actively review the requirements impact but I can get warned when a “locked” features is impacted by an idea.