Article: When Spec-Driven Development Pays Off

Nitin Garg ยท article ยท 2026-09-10 source โ†— Reader ๐Ÿ–ฅ๏ธ

Agent Work LedgerCode Was Never the BottleneckRisk TieringSpec-Driven DevelopmentVerifiability (as the Quality Bar)
Treating a specification as a versioned, approved governance baseline does not make code reviewers find more AI-generated bugs, but it does convert each finding from a hunch into an attributable claim tied to a named requirement and an accountable human decision-maker โ€” a benefit real enough to justify its measurable time cost only on hard, multi-constraint work built by capable-but-imperfect models, not as a universal practice.

practical ยท argumentative essay structured as an empirical report: a governance framework is proposed, then tested via a controlled human study and an LLM replication, then qualified into an actionable targeting rule โ€” Read as a governance argument disguised as a methods paper, or vice versa. The rhetorical move is to state an intuitive claim (specs help review), let a measurement falsify the intuitive half (recall) while confirming a narrower, less obvious half (attribution), and then convert the surprising result into a scoped recommendation. The honesty about limits (small n, confounds, single domain) is itself part of the argument's credibility strategy.

Structure

PartRole
AI shifted the bottleneck from writing code to verifying it, and 2026 regulatory obligations (EU AI Act, ISO/IEC 42001, NIST AI RMF) make this a governance problem with deadlines, not an abstract one.motivation / problem statement
A specification is defined as three layers (spec, HLD, LLD) and illustrated with a worked banking-service invariant, establishing what 'the baseline' concretely is before it is tested.definition of terms and study object
Five lifecycle control points (author, review gate, guided generation, drift detection, reconciliation), each producing an artifact, are proposed as the governance loop, with RACI naming a human as always Accountable.framework exposition
The drift-review study: five reviewers, 2x2 within-subject design, Baseline vs. Code-only, scored on recall and attribution.primary empirical evidence
A ninety-review replication puts three LLMs in the reviewer seat and reproduces the same recall-null / attribution-collapse pattern.corroborating evidence in a second population
A separate generation-side experiment shows staged spec-then-generate beats single-prompt spec-then-code ('delivery beats presence'), then a chain-of-thought control shows most 'specify first' gains on easy tasks are a reasoning effect in disguise.qualifying / delimiting evidence
Costs (48 vs. 27 minutes per review, up-front authoring and re-sync discipline) and evidentiary limits (n=5, two services, one domain, several confounds) are stated explicitly.honest limitation
A targeting rule (spend governance effort on hard, multi-constraint, regulated, long-lived systems built by capable-but-imperfect models; skip it elsewhere) plus a five-phase staged adoption path.conclusion / practical recommendation

Key terms

Propositions

Arguments

Specification governance should be adopted selectively โ€” only for hard, multi-constraint, high-stakes, long-lived systems built by capable-but-imperfect models โ€” rather than universally. strength: medium
Explicit premises:
Implicit premises:
Inferences:
The audit trail that AI governance regulations (EU AI Act, ISO/IEC 42001, NIST AI RMF) demand is not extra overhead bolted on โ€” it falls out of the five-control-point loop as a natural by-product. strength: low
Explicit premises:
Implicit premises:
Inferences:
How a specification is delivered (staged authoring-then-generation vs. inline spec-then-code in one prompt) is the active ingredient, not whether a specification is merely present. strength: low
Explicit premises:
Implicit premises:
Inferences:

Narratives

Questions addressed

Gaps

Closes gaps elsewhere

Related documents