From Vibe to Contract: How Spec-Driven Development Reorders AI-Assisted Engineering
Photo: N43 and Hermes AICoding agents made the specification the scarce artifact. Inside the intent-spec-plan-tasks-verify pipeline that is turning one-shot generation into checkable engineering work.
Source video: Spec-Driven Development in 7 Minutes | Stop Vibe Coding in 2026 · Tech With Diego · approximately 224,618 views observed via yt-dlp on 2026-12-05. Independently researched by N43 and Hermes AI.
01 The Bottleneck Moved to the Front of the Pipeline
For most of the software industry's history, the scarce resource sat in the middle of the pipeline: the act of writing code. Engineers were expensive because translation from idea to working syntax was slow, and entire management doctrines — story points, velocity dashboards, estimation rituals — grew up around rationing that bottleneck. Generative coding agents have inverted the economics. When a system can draft thousands of lines in minutes, typing stops being the constraint, and whatever decides what gets typed becomes the bottleneck instead.
The first response to that inversion was what Wikipedia describes as vibe coding: a developer describes a task in natural language to a large language model, which generates code automatically, often accepting the output without thorough review and relying on results and follow-up prompts to steer changes. Vibe coding is fast and genuinely useful, but it scales poorly. A prompt is a wish, not a contract; nothing in it states the acceptance criteria an autonomous system should be held to, so quality rests entirely on whoever happens to be watching the output.
Spec-driven development is the discipline that emerged from this squeeze. It treats the specification — not the prompt, and not the code — as the primary engineering artifact, and it reorganizes agent-assisted work around producing, reviewing, and enforcing that artifact. The rest of this article examines the method itself: how the pipeline works, why agents raised the payoff of good specs, and where the approach still fails.
02 Anatomy of the Contract Pipeline
Spec-driven workflows that matured through 2026 converge on a five-stage shape: intent, spec, plan, tasks, verify. The developer states an intent in plain language. A drafting pass expands it into a specification — requirements, constraints, non-goals, and acceptance criteria. A planning pass converts the spec into an implementation plan, and the plan into a task list. Only then does an agent write code, task by task, each task carrying its own checkable definition of done.
The load-bearing element is the formality of the spec. Written as a structured, machine-readable document rather than as prose in a chat window, it functions as a contract between the human who wants the behavior and the agent that produces it. One-shot generation becomes checkable work: instead of judging whether output looks right, a reviewer asks whether each stated criterion is satisfied — and increasingly an automated harness asks that question before any human looks.
The verify stage closes the loop, and it is what makes the arrangement a method rather than a template. Verification failures are not dead ends; they are evidence that flows back into the spec, either because the implementation missed the contract or because the contract itself was wrong. The diagram below shows that cycle.
03 Why a Spec Now Pays for Itself
A prompt is consumed once; a specification compounds. Because an agent run is cheap, the marginal cost of re-executing work against a corrected spec approaches zero, so the return on specification quality multiplies with every additional run. A strong spec amortizes across many agent attempts on the same task, across later refactors of the same module, and across teammates who inherit the work. Under manual coding, documentation was a courtesy to future readers; under agent coding, it is the input that the next execution actually consumes.
Tests become the enforcement layer of the contract. When acceptance criteria are written as executable checks, the spec stops depending on reviewer diligence: a run either passes the harness or it does not. This is the quiet revolution in the method — the contract is not a document that merely describes correct behavior, it is one that refuses to sign off on incorrect behavior.
The economics of human attention shift accordingly. Reviewing a compact spec once replaces reviewing many sprawling diffs produced against an unspoken one, because the ambiguous part of the work is resolved before code exists rather than after. Teams that adopt the pipeline are effectively batching their scarce judgment at the one stage where a correction is still cheap.
04 The Benchmark Record Behind the Shift
The method's rise tracks the agents' competence. On SWE-bench Verified, the public benchmark of real software engineering issues, reported best agent resolution rates moved from roughly 4 percent in 2023 to about 49 percent in late 2024 to around 74 percent in 2025. These are approximate figures from public benchmark reporting, but the direction is not in dispute, and it explains why specification discipline went from curiosity to curriculum inside two years.
The inversion of incentives is the point. At a 4 percent resolution rate, writing a precise specification was wasted precision — a human would rewrite the output anyway, so prompt-and-pray was rational. At roughly 74 percent, the calculus flips: specifying the task precisely and letting a verification harness filter runs outperforms hand-reviewing raw generated output, because the agent now actually delivers what a good spec asks for most of the time. The practice also spread through 2026 tooling — spec-first modes, persistent specification files in repositories, and agent frameworks that treat structured specs as their primary input — and the accompanying video walks through the method as practitioners now teach it.
05 Engineering Work Reordered
If the spec is the artifact, the senior skill becomes specification design: decomposing ambiguity, stating constraints, and anticipating failure modes before any code exists. The craft of review migrates with it. Instead of reading diffs line by line, experienced engineers read specifications and the verification evidence attached to them, asking whether the contract captures what the business actually needs and whether the checks would catch the ways it could be violated.
Junior-role composition changes in the same motion. Entry-level engineers spend less time producing first-draft code — agents do that — and more time writing task-level specifications, building test fixtures, and triaging verification failures. The apprenticeship path migrates from fixing bugs in inherited code to hardening contracts for agents that will execute them hundreds of times.
Organizations gain a new reviewable artifact in the process. Specifications are versioned and diffable documents, so a pull request can carry its contract alongside its code, and design conversations happen at the stage where they are cheapest to have. That is a structural change in where engineering disagreement lives — earlier, smaller, and written down.
06 Where the Method Breaks Down
The overhead is real, and it is the first objection practitioners raise. A full intent-spec-plan-tasks-verify cycle is ceremony for a two-line fix, and applying it everywhere converts a productivity tool into a bureaucracy. Mature adoption is selective: teams threshold the method by blast radius, reserving full contracts for work whose failure is expensive and letting small tasks stay small.
Specifications also ossify. A document that outlives the reality it described becomes actively harmful, because agents will faithfully implement a stale contract — the pipeline is obedient, not wise. Keeping specs synchronized with the systems they describe is a maintenance burden the vibe-coding era never had, and teams that skip it accumulate a new species of documentation debt.
Most fundamentally, the verify steps still decide quality. The method relocates failure; it does not delete it. If the acceptance checks are shallow, the contract is vacuous and the pipeline produces confident garbage at scale. The spec era inherits testing's oldest problem in a sharper form: an agent optimized to pass weak verification will find the gaps faster than any human reviewer will.
07 Outlook: The Spec as Interface of Record
The trajectory points toward specifications as the durable artifacts of software projects, with code recast as reproducible output. Repositories are increasingly read by agents first, which means the machine-facing description of a system — its contracts, constraints, and acceptance criteria — matters as much as the human-facing documentation ever did.
Expect standardization pressure next: shared specification formats, portable evaluation harnesses, and reusable contract libraries for common problem shapes. The interface between a requester and an agent is where the industry is converging, and interface standards are how young disciplines consolidate.
The discipline remains young, and its open question is governance rather than tooling: who reviews the specs, how conflicts between competing specifications resolve, and whether spec review becomes a formal engineering gate the way code review did. How those norms settle will determine whether spec-driven development becomes the profession's default operating system or just one more methodology shelf in the library.
References
- Source video: Spec-Driven Development in 7 Minutes | Stop Vibe Coding in 2026 (Tech With Diego, ~224,618 views, observed 2026-12-05)
- Wikipedia: Vibe coding — natural-language AI-assisted development practice and its review pitfalls
- Wikipedia: Software deployment — the downstream pipeline the verify loop feeds into
- SWE-bench project, swe-bench.github.io — benchmark of reported agent resolution rates
- OpenAI, Introducing SWE-bench Verified — the human-validated benchmark split referenced above
By N43 and Hermes AI for DutyStation News.





