Overview

3 Keeping Specs Alive

Authoring a specification in spec-driven development is valuable because it creates a durable place where human intent and agent execution can meet. A good spec helps the team and the AI align on what should be built, how success will be judged, and which constraints must hold, but that value lasts only if the spec continues to reflect the system. When changes are made directly in code or when the spec is left behind, the team loses a reliable source of truth and future changes become harder to guide.

The chapter explains that stale specs usually come from repeated, locally convenient shortcuts: bypassing the spec for small fixes, accepting vague requirements, or failing to capture key decisions in enough detail. It identifies four places where intent can be lost: during the conversation that surfaces the idea, in the spec format that captures it, in the construction of the implementation, and in the verification that proves the work is done. Each kind of gap calls for a different repair, such as improving the dialogue, strengthening the specification format, encoding architectural constraints, or requiring deterministic evidence before completion.

Keeping specs alive means treating these gaps as feedback for improving the workflow, not just the code. The chapter argues for a governance loop that attributes each escape to the point where intent was lost, then updates the process so the same problem is less likely to recur. It also distinguishes between control authority and fidelity: a living spec must both drive change and accurately represent the system. Tools and practices should therefore support standing context, reasonable granularity, regeneration from the spec, and lightweight but effective verification, so the specification remains the easiest and most trustworthy place to express change.

When there are gaps between the agent-generated implementation and the intent articulated in our specifications, we face a choice between improving the specification and regenerating the implementation, or bypassing the specification and changing the code directly through ad hoc prompts.
Intent can be lost as an idea moves from human intent to specification, implementation, and validation.
Implementation gaps should feed back into the part of the SDD workflow where intent was lost.
The SDD governance operating loop involves observing gaps between intent and implementation and correcting them by revising the specification and regenerating the implementation. We then attribute the gap in the specification to where the intent was lost in the SDD workflow to improve it, and we confirm the improvement is working when the same class of gap stops recurring.
How alive a specification is depends on the control authority and fidelity.
Taxonomy of specification styles based on structure, location, granularity, and organization

Summary

  • Specifications go stale when implementation changes bypass them. A direct fix may solve the immediate problem, but it moves intent into code, prompts, review comments, or memory, rather than returning it to the durable specification.
  • Implementation gaps are feedback about the SDD workflow. A gap should first be corrected in the specification, but recurring gaps should also improve the workflow that allowed the intent to escape.
  • Intent can be lost during surfacing, capture, construction, or verification. Each kind of loss requires a different repair, such as better questions, richer formats, stronger construction constraints, or deterministic evidence.
  • Thorough specification does not mean repeating every concern in every feature spec. Recurring guidance should move into standing context, skills, hooks, checks, and project-level constraints so the workflow stays precise without creating markdown mountains.
  • SDD governance should attribute deviations to the point where intent was lost. The purpose is not to label failures, but to make sure each observed gap improves the right part of the Intent Harness.
  • A specification is alive when it has both control authority and fidelity. It must drive change and faithfully represent the system, so the team and the agent can safely use it as the primary control surface for future work.

FAQ

What does it mean for a specification to be “alive” in Spec-Driven Development?A specification is alive when it still steers the system, not merely describes it. It must have control authority over change and enough fidelity to accurately represent the current system.
Why do specifications go stale?Specifications go stale when changes bypass them and are made directly in code, or when intent is lost in the workflow and never makes it back into the spec. Over time, the spec stops reflecting how the system actually evolves.
What is the “direct fix trap”?The direct fix trap is when a team patches code or uses an ad hoc prompt to solve a problem without updating the specification. The immediate issue is fixed, but the durable intent is left behind in code or memory instead of living in the spec.
What are the four places where intent can be lost?Intent can be lost during surfacing, capture, construction, or verification. That means the workflow may fail to ask the right question, record the answer precisely, enforce the intended structure, or require proof that the outcome was achieved.
How can a team fix intent loss in surfacing?If intent never surfaced in the authoring conversation, the workflow should be changed so the missing questions are asked automatically. For example, failure-path questions should become part of the standard dialogue when a feature introduces an error case.
How can a team fix intent loss in capture?Intent loss in capture is repaired by improving the specification format so it retains the details discussed. Structured formats like scenarios, examples, status codes, and observable outcomes help prevent vague prose from thinning out the intent.
Why are construction constraints important?Construction constraints keep implementation aligned with the intended architecture, such as keeping routes thin, putting behavior in services, and keeping domain rules framework-free. If these constraints are only conversational, they are easy to forget and should be moved into durable project context.
Why is deterministic verification necessary?Deterministic verification ensures the agent must prove a behavior exists before the work is considered complete. Tests, commands, contract checks, or similar evidence prevent false-positive completions based only on declarations.
What are the four states of a specification?The four states are Authoritative, Underspecified, Reconciled, and Decorative. Authoritative means the spec drives change and is accurate; Underspecified means it drives change but lacks detail; Reconciled means it is accurate but code drives change; Decorative means it neither drives change nor reflects reality well.
How should teams evaluate SDD tools?Teams should evaluate tools by asking whether they help keep specs alive: can they preserve standing context, support current-state views, provide reasonable granularity, integrate with backlogs, handle multi-repo work, support brownfield adoption, verify alignment, and adapt as the workflow learns?

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Spec-Driven Development ebook for free
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Spec-Driven Development ebook for free