There's a new category of tools called Spec-Driven Development.
The idea is simple: before the AI writes code, you write what the system needs to do.
One of the leaders in it is OpenSpec. Open source, works with Claude Code, Cursor and more, and in November Thoughtworks moved it to the "Trial" stage in their technology report.
Most reviews explain how to work with it.
I wanted to know something else: what it tells the AI when you're not looking.
So I opened the package and read the instructions it installs for the agent.
They're better than I expected
There are sentences there I'd sign.
"Do not invent intent, priorities, or external constraints: ask the user when only they can answer."
"Silence is not acceptance."
And in the planning stage there's an instruction saying an open question is only something that can genuinely be deferred, not a decision that was skipped. If it changes what will be built, you have to ask now.
Meaning whoever wrote the tool understands the problem. They know the danger is AI that decides quietly.
The sentence everything else rests on
In the first stage of creating the proposal, the instruction says: if there's ambiguity that materially affects the scope, the behavior or the requirements, ask.
And then:
"For minor details, make a reasonable assumption and record it in the planning artifacts."
Read that again.
Who decides what's material and what's a minor detail? The AI.
And that's exactly the hard question.
Because "who sees whose order" looks like a minor detail. "What happens when a payment fails midway" looks like a minor detail. "Does a coupon also apply to a refund" looks like a minor detail.
Until it isn't.
So the AI makes a reasonable assumption, and records it in a tidy file.
And what happens after that? On the tool's main page it's written explicitly:
"Your AI writes these; you review the plan before any code is written."
The AI writes, and you go over the plan.
But going over a plan isn't deciding.
An assumption written nicely in a tidy file looks exactly like a decision.
And if you didn't know there was a question here, you won't spot that someone already answered it for you.
A figure worth knowing
A study published this year at the ESEM conference examined 88,052 code changes in 119 open source projects. It compared changes that had a requirements document attached with changes that didn't. A significant difference in the number of bugs? None was found.
And note the caveat, because it matters: the study didn't examine OpenSpec or similar tools. It examined the old practice of attaching a task ticket to a change. So it doesn't prove these tools don't work.
It does show one simple thing: the mere existence of a document doesn't make a change safer.
So what's the conclusion?
OpenSpec is a good tool.
If you build with Claude Code or Cursor, it will probably improve your work. It stops you before the code, keeps the decisions in files instead of in a chat that disappears, and requires every task to come with a way to check it was really completed.
But it doesn't solve the problem it itself describes. It moves it to one point: the decision of what counts as material. And that point stays with the AI.
That's worth closing yourselves.
OpenSpec lets you write, in the project's configuration file, context and rules the AI needs to take into account when it writes the planning documents.
So write there, in your own words, what in your business never counts as a minor detail:
- Permissions.
- Money.
- Deletion.
- Personal information.
- Actions an agent performs alone.
I haven't yet checked how strictly it follows such rules in practice. That I'm going to check on a real project.
But the principle doesn't depend on the result:
A good tool can know how to ask. It can't know what in your business is worth a question.
A planning document the AI wrote and you approved isn't your decision. It's its decision, passed through you.