Quick Take
Spec-driven AI development makes intended software behaviour explicit before coding begins. That can help agents work more predictably, but requirements, code and tests may still share the same wrong assumption. Research supports specific benefits, not a universal improvement in quality or productivity. A risk-adaptive approach separates building software from gathering evidence that it deserves our trust: specify according to uncertainty, verify according to risk, and base release decisions on evidence.
AI coding agents have become remarkably good at producing plausible software. Give an agent a feature request, and it can create a plan, write code, generate tests and open a pull request. The entire process may take less time than arranging the first requirements meeting. The difficulty, of course, is that producing software more quickly does not necessarily help us understand what we actually want to build.
Spec-Driven Development (SDD) addresses this problem by asking us to describe the intended behaviour, constraints and acceptance criteria before an agent starts coding. The specification provides a reference for planning the implementation and reviewing the result. Better instructions ought to reduce misunderstandings, help agents avoid unnecessary changes and make the resulting software easier to verify. Each of these expectations is reasonable, but how well do they hold up in practice?
In October 2026, a peer-reviewed study of 88,052 pull requests across 119 open-source repositories found no convincing evidence that the specification artefacts it examined reduced defects or rework. Around the same time, researchers studying the practical use of modern SDD tools reported more predictable agent behaviour, often accompanied by additional planning and review work. Neither finding settles whether modern SDD frameworks improve software quality, but together they raise a question worth asking: are we becoming better at engineering software, or simply better at producing documents that make us believe we are?
The Return of the Specification
There is something slightly amusing about the excitement surrounding Spec-Driven Development. Software engineers have been writing requirements, specifications, architectural designs and acceptance criteria for decades. Structured analysis, requirements engineering, model-driven development, behaviour-driven development and various forms of agile engineering have approached the same problem in different ways. Before implementing a solution, we need to understand the problem and agree on the behaviour we expect from the software.
AI coding agents give that old discipline a new purpose. A traditional developer can interpret incomplete requirements, ask colleagues for clarification and draw on organisational knowledge. An agent can also ask questions and inspect a codebase, but unless its workflow requires clarification, it may proceed with a plausible interpretation of incomplete information. By writing down and reviewing requirements, SDD gives the agent persistent context and the team a chance to challenge assumptions that might otherwise disappear into a conversation history.
The available tools differ in how they approach this. GitHub Spec Kit supports a workflow from specification through planning and tasks to implementation and verification, whereas OpenSpec focuses on maintaining specifications alongside changes to existing software. Other environments, including Kiro, provide their own versions of structured AI-assisted development.
Birgitta Böckeler makes a useful distinction between three approaches in her analysis of Spec-Driven Development. With spec-first, the specification guides the initial implementation but does not necessarily remain the maintained source of truth. In spec-anchored development, it evolves alongside the software. The more ambitious spec-as-source approach treats the specification as the primary artefact from which code is generated and regenerated. A document used once to instruct an agent consequently has very different quality and maintenance requirements from a document expected to govern software throughout its lifetime.
I have previously discussed the distinction between spec-driven agentic engineering and vibe coding. The engineering argument for specifying intent before delegating work remains sound. One of the strongest arguments for SDD is that developing a specification can itself expose misunderstandings. The Ambig-SWE study, accepted at ICLR 2026, found that interaction helped agents resolve underspecified coding tasks in its benchmark, even though models struggled to recognise when clarification was needed. Specification can therefore be a process of discovery rather than a record of existing assumptions. Whether increasingly formal workflows are the best way to support that process remains a separate question.
What Does the Research Actually Show?
One of the more interesting developments in 2026 is that SDD is becoming a subject of empirical research rather than primarily vendor documentation and developer enthusiasm. Brenn Hill’s paper, Specification Artifacts in Open-Source Pull Request Workflows Do Not Reduce Defects, appeared at ESEM 2026 and challenges one of the central assumptions behind the approach.
Hill examined 88,052 pull requests across 119 open-source repositories, testing five hypotheses about the purported benefits of specification-driven development. The analysis considered introduced defects, subsequent rework, specification quality and the scope of AI-associated changes. After controlling for relevant risk characteristics, the study found no statistically significant reduction in defect introduction associated with the presence of a specification artefact. Higher-rated specifications were not associated with fewer defects or less rework either.
The scope of the study is important. Most of the specification artefacts examined were references to issues and tracking tickets; none of the sampled repositories committed SDD tool output. Adoption of modern frameworks such as Spec Kit, Kiro or OpenSpec was therefore not directly evaluated. The research also concerned open-source workflows, not a representative sample of enterprise projects. It would therefore be premature to conclude that modern SDD tools do not work. The narrower conclusion is useful enough: the presence of a specification-like artefact is not sufficient evidence of better software.
A different perspective comes from Spec-Driven Development as Prescribed and as Practiced. Researchers from Carnegie Mellon University and Google examined 266 active repositories drawn from a larger corpus of 470,795 specification files and interviewed 21 practitioners, including eight tool makers. They found a considerable gap between the prescribed workflows and their practical application.
Although the tools often distinguish requirements from implementation details, 77.6% of the specification files assessed using an LLM-as-a-judge method in the repository sample contained implementation information, including class names, file paths, library choices and architectural decisions. The behaviour is understandable: when an agent makes poor technical choices, developers can make its output more predictable by adding instructions. Yet those details can become outdated after an entirely legitimate refactoring, even though the intended behaviour of the software has not changed.
Practitioners also adapted the workflows to their own needs, sometimes reserving specifications for larger features and sometimes developing their own instructions, skills and processes. The reported benefits were accompanied by additional planning, review and maintenance effort. These observations help explain how people use SDD and what difficulties they encounter; they do not constitute a controlled demonstration of productivity gains.
There is more encouraging evidence for a specific engineering activity. In a 2026 study, Google researchers investigated whether explicit reasoning about software contracts improves AI-generated tests. Asking an agent to describe preconditions, postconditions and undefined behaviours before generating tests improved bug detection by 9.8 percentage points and branch coverage by 2.5 percentage points compared with direct test generation in their evaluation. That is a meaningful result for the technique evaluated, although it cannot be extrapolated to the complete development lifecycle.
Another 2026 preprint, The EPIC Framework for Spec-Driven Development, analysed specification quality in 114 open-source SDD repositories. Projects with higher-scoring specifications had a lower proportion of bug-fix commits than those with lower scores. The association is worth investigating further, but better-managed projects may produce both better specifications and better software for reasons only partly related to SDD.
The evidence so far supports the use of explicit specifications for particular engineering activities. Whether a comprehensive SDD workflow consistently improves software quality or productivity across projects remains an open question. One reason for the uncertainty is that the quality of an implementation and the quality of the requirements behind it are quite different things.
A Specification Can Be Perfectly Clear and Still Wrong
Consider an ordinary subscription application. A product manager asks an AI coding agent to implement a reminder that customers should receive seven days before their subscription renews. The agent produces a detailed specification, an implementation plan and a test suite. Messages are generated seven days before the renewal date, the tests pass and the implementation matches the approved document. Everything appears to be correct, except that nobody considered customers who cancelled their subscriptions after the reminder was scheduled. They still receive the renewal notification.
In this hypothetical example, the software may have implemented the documented requirement perfectly. The failure lies in what the requirement omitted. This is the distinction between correct implementation and correct requirements: verifying that software conforms to a specification does not establish whether that specification captures the actual business need. If the missing condition was never communicated and cannot reliably be inferred, asking an agent to produce a more detailed specification may simply reproduce the same misunderstanding in several different documents.
Resolving that uncertainty requires domain knowledge. Product owners, engineers, architects and other specialists need to understand the business process well enough to recognise missing conditions and establish the appropriate behaviour. A specification review should examine which assumptions have been made, which alternatives were rejected and which cases have not been considered, rather than merely checking whether the requirements look clear and complete. Polished language can make an unexamined assumption appear considerably more certain than it deserves.
Making uncertainty visible is one of the useful things a specification can do. Once it is visible, however, somebody must take responsibility for resolving it.
Who Tests the AI That Tests the AI?
A typical spec-driven workflow can produce requirements, designs, implementation tasks, source code and automated tests. Some frameworks compare these artefacts to detect inconsistencies. The value of those checks depends on where the information used to perform them comes from. In the subscription example, if the specification omits cancelled subscriptions, the code and tests may both reflect that omission. The consistency check succeeds, but the customer still receives the wrong message.
This is a version of the test oracle problem described by Barr and colleagues: how do we establish what the correct result should be for a given input? Generating a test does not resolve the question of what its expected outcome should be. Independently validated business rules, acceptance examples approved by domain experts and scenarios designed to challenge assumptions can supply information missing from the specification. The Google study on specification-guided test generation illustrates the value of behavioural contracts, provided they capture the right behaviour.
A second AI agent is not automatically an independent verifier. In their October 2026 preprint, Who Verifies the Builder? Toward Independent Assurance for Agent-Produced Software, Sion Israel Sion and Alain April compared builder-generated tests with separate verification. In a study of three stateful services, a verifier operating in a fresh context detected more of the 46 deliberately introduced faults than the builder’s tests. Using a model from a different provider did not improve detection in that experiment, and some independently generated test expectations were themselves incorrect. The findings are promising, but this limited study does not establish a general advantage across software projects.
From Spec-Driven Development to Risk-Adaptive Assurance
Software engineering has dealt with independent verification and validation for decades. NASA’s IV&V approach distinguishes checking conformance to requirements from establishing whether software meets its intended purpose. ISO/IEC/IEEE 15026-2:2022 provides a structure for assurance cases, connecting claims about a system to arguments and evidence. Neither a specification nor a neatly structured assurance report guarantees that the evidence is adequate. AI coding agents make these established disciplines particularly relevant because they can rapidly produce multiple artefacts based on a shared interpretation.
I would organise AI-assisted software engineering around four questions. Intent validation asks whether we are solving the right problem. Specification validation asks whether business rules, exceptions and constraints describe the intended behaviour. Implementation verification checks whether the software conforms to that specification. Finally, operational validation examines whether it behaves as intended under realistic operating and failure conditions, using observations from production to revisit earlier assumptions. These questions require different evidence; they do not prescribe four sequential project phases.

The Build and Assurance Model separates the activities that create software from those that challenge the case for trusting it. Both begin with business intent. The build activity specifies, designs, implements and tests the solution; the assurance activity challenges assumptions, derives test expectations from authoritative information where possible, and evaluates the available evidence. Findings feed back into development. Before release, an accountable decision-maker considers the evidence, unresolved risks and applicable release criteria. Operational feedback may reveal that the original understanding of the problem needs revision.
Independence has several practical dimensions. Expected outcomes should not depend solely on the builder’s interpretation. A verifier needs sufficient separation of context to challenge that interpretation and should use suitable methods, such as property-based testing, mutation testing or simulation. For higher-risk changes, the builder should not be able to weaken acceptance criteria, disable independent checks or approve its own release. More demanding applications may require organisational independence and formal assurance processes beyond anything an AI agent can provide.
Meta’s Automated Compliance Hardening is a useful example of AI contributing to assurance rather than just implementation. It uses language models to generate mutations and tests that detect them, challenging the ability of tests to find faults rather than merely measuring whether they pass. It does not remove the oracle problem or the need to review expected behaviour.
In the subscription example, a domain specialist could confirm that a reminder must only be sent if the subscription is active at the moment of sending. Independent acceptance tests would then include cancellation between scheduling and delivery. Implementation checks would cover timing and status logic, and operational monitoring could compare messages actually sent with the subscription state. The additional rule is a proposed resolution of this hypothetical example, not an assumption an agent should silently introduce into a real system.
When Specifications Become Technical Debt
In its November 2026 Technology Radar, Thoughtworks moved OpenSpec into the Trial category, citing experience from teams that reported more predictable agent output and fewer unintended changes, particularly when working with existing applications. In the same Radar, Thoughtworks warned against AI-driven documentation sprawl, the accumulation of automatically generated documentation that becomes outdated, contradictory or difficult to maintain.
There is no contradiction between the two observations. A well-maintained specification may help an agent understand the intended behaviour of a feature, whereas a repository full of obsolete specifications, duplicated plans and conflicting architectural instructions may actively guide an agent towards an incorrect implementation. Software engineers have long struggled with documentation maintenance. AI has made creating documentation considerably cheaper; it has not necessarily made understanding it any cheaper. Producing a requirements document, a design and an implementation plan may take minutes. Reading them critically, reconciling inconsistencies and keeping them aligned with a changing system still requires effort.
The Carnegie Mellon and Google researchers describe two recurring problems. Implementation drift occurs when code departs from the specification during development, whereas spec decay occurs when the software changes without a corresponding update to the specification. In the first case, the team must establish whether the code satisfies the agreed expectations. In the second, it must determine whether those expectations still describe the intended system. Generating another document does not resolve either problem on its own.
Specifications often combine information with very different lifetimes. Business intent and functional rules may remain relevant for years; technical constraints and interface contracts need to evolve with their dependencies. A file path or a library choice may only be relevant to the current change. Acceptance criteria need to be maintained where they express enduring behavioural expectations. Teams should decide which artefacts are authoritative descriptions of the system and which are temporary working instructions, rather than committing everything indefinitely.
This raises a practical question about ownership after delivery. If a specification is intended to guide future changes, who is responsible for updating or retiring it when the software evolves? Without an answer, the repository may gradually accumulate instructions that look authoritative but no longer describe reality.
Does the Additional Work Actually Pay Off?
The economic argument for AI coding is straightforward: if generating code becomes much faster, software development should become less expensive. SDD adds a qualification, because describing, reviewing and validating the work also incurs costs. For a complex feature, clarifying requirements before implementation may prevent expensive misunderstandings. For a small, well-understood change, producing several specification files and conducting multiple reviews could cost more than implementing and testing the change directly.
The Carnegie Mellon and Google study found that SDD practitioners reported additional token usage, planning time and cognitive effort. Some considered the costs worthwhile because they expected less rework; others questioned the value of lengthy specifications that still required substantial human review. Although these experiences are not controlled productivity measurements, they help establish what ought to be measured. Counting generated lines of code, completed tasks or successful agent runs says little about the total cost of delivering a correct, maintainable change, including the work needed to understand, verify and maintain it.
Model improvements complicate the economic question further. The instructions and context an agent requires today may become less necessary or take a different form in the future. A development method that depends on producing ever-larger specifications could eventually find that its process is growing more complicated without a corresponding increase in value. The appropriate amount of specification should depend on the work involved, and the benefits of the approach should be measured rather than assumed.
When Is Spec-Driven AI Development Worth Using?
The appropriate amount of specification depends on more than the size of a change. A three-line modification to an authorisation check may be well understood but have serious consequences if implemented incorrectly. A prototype dashboard may involve many unresolved questions while remaining inexpensive to discard. Applying the same workflow to both changes would confuse the effort needed to discover requirements with the effort needed to establish confidence in the result.
I would use two dimensions to select an initial approach: uncertainty about intended behaviour and the potential impact of failure. The first determines how much discovery, clarification and specification are useful; the second helps establish the depth and independence of assurance. This is a practical adaptation of established risk-driven engineering, including the spiral development approach, rather than a validated scoring system.

Where uncertainty and consequences are low, concise instructions, existing conventions and appropriate tests may suffice. Higher uncertainty with limited consequences calls for discovery, prototypes and iterative specifications. If the required behaviour is clear but a failure could cause serious harm, a controlled change with explicit constraints and independent assurance is appropriate. Where both uncertainty and consequences are high, the work calls for domain discovery, maintained specifications and a more rigorous assurance process before release.
The matrix is a starting point, not a complete risk assessment. Likelihood, dependencies, exposure, detectability, reversibility and mandatory controls can change the required assurance. A prototype must remain within a genuinely low-risk environment, and a change with irreversible consequences may need strong pre-release evidence even if a fault seems unlikely. The classification should be revisited as the team learns more. The model also applies to human-written software; using an AI agent does not itself determine the risk category.
How I Would Evaluate Spec-Driven AI Development
Instead of adopting a framework on the strength of an impressive demonstration, I would start with a controlled comparison on real development tasks. A useful experiment would include a new feature with incomplete requirements, a change to an existing application, a bug fix and a refactoring task. Each presents a different level of uncertainty and a different opportunity for specifications to add value.
For each type of work, teams could compare direct AI-assisted coding, AI coding with a short structured plan, lightweight SDD and a more extensive spec-driven workflow. The codebase, available model capabilities and acceptance criteria should be comparable, with the latter established independently of the agents doing the implementation. Ideally, task allocation and review would also be structured to reduce differences arising from developer experience or expectations about the methods.
The measures should include human planning and review time, model costs, successful independent acceptance tests, introduced defects and the effort needed to correct them. I would also compare the effect of adding independent assurance to each approach across different levels of uncertainty and potential consequences, so that improvements due to specification are not confused with improvements due to verification. It would be particularly useful to examine what happens when requirements change after the initial implementation. Several approaches might deliver an initial feature successfully, yet their differences may become apparent only when another developer modifies it months later. At that point, the evaluation should examine whether the specifications are still accurate, whether the original decisions remain understandable and whether stale information causes unintended changes.
The comparison also needs a credible baseline. Comparing a sophisticated SDD framework only with completely unstructured prompting sets the bar rather low. A capable developer using ordinary AI-assisted coding, existing project conventions, good tests and a short implementation plan may obtain much of the benefit without adopting another methodology. This is consistent with the argument that AI coding tools expose weaknesses in software engineering discipline rather than automatically correcting them. SDD must demonstrate added value over competent software engineering, not merely over the absence of it.
The Engineer’s Responsibility Has Not Disappeared
Spec-driven AI development has a genuine opportunity to improve software engineering. It encourages developers to make assumptions explicit, document decisions and consider expected behaviour before delegating implementation, particularly when several people or agents must work together on the same system. As developers spend less time typing code, their professional judgement remains necessary to establish appropriate requirements, challenge proposed solutions and verify the result.
There is no reason to insist on a single workflow for every feature. Specify according to uncertainty, verify according to risk, and release according to evidence. The proposed risk-adaptive approach makes explicit what the team understands and challenges whether that understanding and its implementation deserve confidence. Its benefits and costs should be measured in practice.
That question becomes more demanding when software supports critical operations, where I examine what changes for spec-driven AI development in mission-critical systems.
A specification tells an AI agent what we believe the software should do. Engineering is the work of discovering whether that belief is correct — and proving that the software behaves accordingly.
Sources and further reading
- Brenn Hill — Specification Artifacts in Open-Source Pull Request Workflows Do Not Reduce Defects (ESEM 2026)
- Agarwal et al. — Spec-Driven Development as Prescribed and as Practiced (2026)
- Tufano et al. — Grounding AI Agents in Contracts (2026)
- The EPIC Framework for Spec-Driven Development (2026 preprint)
- Thoughtworks Technology Radar — OpenSpec (November 2026)
- Thoughtworks Technology Radar — AI-driven documentation sprawl (November 2026)
- Birgitta Böckeler — Understanding Spec-Driven-Development
- Vijayvargiya et al. — Ambig-SWE: Interactive Agents to Overcome Underspecificity in Software Engineering (ICLR 2026)
- Barr et al. — The Oracle Problem in Software Testing: A Survey (2015)
- Sion & April — Who Verifies the Builder? Toward Independent Assurance for Agent-Produced Software (October 2026 preprint)
- NASA — Independent Verification and Validation overview
- ISO/IEC/IEEE 15026-2:2022 — Assurance case
- Meta Engineering — LLMs Are the Key to Mutation Testing and Better Compliance (2025)
- Software Engineering Institute — Spiral Development: Experience, Principles, and Refinements (2000)
