SDD (Spec-Driven Development) is being positioned as the "right way" to build with AI. For certain problems such as API integrations with strict contracts, regulated industries with compliance requirements, this works well. But for exploratory development like most of the cases? SDD breaks down fast. Stop chasing perfect upfront specifications. The future isn't about better specs, it's about better context.SDD (Spec-Driven Development) is being positioned as the "right way" to build with AI. For certain problems such as API integrations with strict contracts, regulated industries with compliance requirements, this works well. But for exploratory development like most of the cases? SDD breaks down fast. Stop chasing perfect upfront specifications. The future isn't about better specs, it's about better context.

The Limits of Spec-Driven Development

2025/12/02 18:12

In the 1990s, developers wrote long functional specifications before coding. By 2010, agile replaced the idea that you should define everything up front. Today, as AI coding struggles with quality, the old playbook is returning: writing detailed specs in hopes of getting reliable outcomes.

On paper, spec-driven development (SDD) feels like the perfect solution: write a detailed spec first, then let the model generate “correct” code from it.

But reality hits hard.

Just like the pattern we have seen before: when we try to “solve unpredictability” by writing more things down upfront, the development fails, and always for the same reason — Reality changes faster than specs do.

\

What Is Spec-Driven Development?

Spec-driven development (SDD) is the practice of writing detailed upfront specifications first, and then using AI to generate code from them. These specs aim to define a system’s behavior, requirements, constraints, and interfaces precisely enough for an AI model to produce code reliably.

But it overlooks the fact that static artifacts can't contain all the context, regardless of how precise your specs are.

Let’s break this down.

\

Where Spec-Driven Development Fails

SDD are failing for four reasons that no amount of prompting or AI models have fixed yet:

1. Specs Are Expensive to Maintain

Writing comprehensive specs takes a significant amount of time. In addition, software development is an interactive process. With so many variables in play (requirements changing, constraints shifting, and new insights emerging during implementation), keeping specs in sync with the code creates a maintenance tax that grows with system complexity. Instead of reducing overhead, SDD often doubles it.

Suppose you’re building a subscription invoices system. You write a spec describing billing cycles, proration rules, tax conditions, and grace periods. But a week later, finance says, “We need European VAT handling”.

Updating the code is much easier than updating the spec first. But this leads to a situation where the code, the spec, and the team’s mental model no longer match.

As a result, every update becomes documentation debt disguised as engineering discipline.

2. Specs Don't Reflect All Context

Specs are used to describe what a system should do, but they can't explain why it works that way. And the “why” carries the real context:

  • Why certain assumptions were made
  • Why specific tradeoffs were chosen
  • What the team learned while iterating

What real-world constraints shaped the solution. But these things never make it into the spec. And the missing context is where the real problems show up:

  • Edge cases only appear when the system is used.
  • Performance issues only appear under load.
  • User behavior only appears after launch.

So LLMs don’t struggle because the spec is “wrong.” They struggle because the spec can never capture all the context they need.

3. Over-specification creates the illusion of completeness

A detailed spec feels like control. It gives teams a sense that all cases are covered. But this confidence is often false.

Software development is exploratory. The most important insights come after you begin building. Being too fixed to a static spec leads to less iteration, creativity, and emergent solutions. It makes development into a brittle, waterfall-like process, just with AI in the loop.

4. The wrong level of abstraction

SDD tools today are optimized for parsing specs, not interpreting intent.

Most SDD approaches focus on implementation detail - The hows:

  • Field definitions
  • Enums
  • Request/response schemas
  • Function signatures

But what matters more is the whys behind:

  • Intent
  • Constraints
  • Context

Most current SDD tools (including systems like Kiro) generate code directly from these low-level specs. They can produce accurate scaffolding, but are missing context for resilient behavior. The result is code that is structurally correct but misaligned with the actual intent of the system.

\

What Actually Matters — Context Engineering

The missing piece in AI coding isn't more detailed specs, but better preserved context. This means AI-native development should:

1. Start with intent

Instead of jumping into writing specs, the workflow should begin by defining the core context. For instance, the problem you’re solving and why, the non-negotiable constraints, and the assumptions you have in the context.

2. Keep context up to date

AI-led development should be just as iterative as traditional software development. When requirements change or new insights come up, the context the model uses needs to be refreshed so the team and the AI stay aligned.

3. Specs should follow the codebase

Specs should be living artifacts and aligned with the actual implementation.

4. Preserve the whys, and not just requirements

Code shouldn’t just be about what it does, but also explain why it was built that way.

\

The Path Forward

For stable contracts and well-understood domains, spec-driven approaches can work great. But for exploratory development that comes with evolving requirements, context-driven approaches adapt better.

Most real-world projects have both stable contracts at system boundaries, adaptive iteration within them. This is the principle that shaped Yansu, our AI-led coding platform originally built for internal use to serve PE firms and mid-market engineering teams. The philosophy translated as a dynamic software development lifecycle (SDLC) in Yansu that:

  • Captures intent and constraints from discussions, examples, and tribal knowledge
  • Updates context and specs as understanding evolves
  • Simulates scenarios that reflect real system behavior before writing any code
  • Embeds explicitly the "whys" in the code, so the team can trace back to the reason behind each line

\

Disclaimer: The articles reposted on this site are sourced from public platforms and are provided for informational purposes only. They do not necessarily reflect the views of MEXC. All rights remain with the original authors. If you believe any content infringes on third-party rights, please contact service@support.mexc.com for removal. MEXC makes no guarantees regarding the accuracy, completeness, or timeliness of the content and is not responsible for any actions taken based on the information provided. The content does not constitute financial, legal, or other professional advice, nor should it be considered a recommendation or endorsement by MEXC.

You May Also Like

Today’s Wordle #1630 Hints And Answer For Friday, December 5

Today’s Wordle #1630 Hints And Answer For Friday, December 5

The post Today’s Wordle #1630 Hints And Answer For Friday, December 5 appeared on BitcoinEthereumNews.com. How to solve today’s Wordle. SOPA Images/LightRocket via Getty Images Friday is here at long last. It’s the first Friday of December. In my hometown, First Friday is a big deal. There’s an art walk, live music. Local retailers will often have free beverages for shoppers (sometimes boozy, but in these chillier times it can be hot cocoa). It’s a nice way to kick off the month. I’ll be home playing games or watching my shows, of course, but then I’m a homebody to my very core. Speaking of games, let’s solve today’s Wordle! It’s 2XP Friday so double your points! Looking for Thursday’s Wordle? Check out our guide right here. Today’s Bonus Wordle Now that we can create our own custom Wordles, I’m including a bonus Wordle with each daily Wordle guide. These can be 4 to 7 letters long. Hopefully this is a fun extra challenge. Click the link below to play the Wordle I hand-crafted for you. Today’s Bonus Custom Wordle. This custom Wordle is 7 letters long. The hint: John Lennon urged us to be this kind of person. The clue: This Wordle has a double letter. Yesterday’s bonus Wordle answer was: SYMBOL Play Puzzles & Games on Forbes How To Solve Today’s Wordle How To Play Wordle Wordle game website displayed on a phone screen is seen in this illustration photo taken in Poland on August 6, 2024. (Photo by Jakub Porzycki/NurPhoto via Getty Images) NurPhoto via Getty Images Wordle is a daily word puzzle game where your goal is to guess a hidden five-letter word in six tries or fewer. After each guess, the game gives feedback to help you get closer to the answer: Green: The letter is in the word and in the correct spot. Yellow: The letter is in the word,…
Share
BitcoinEthereumNews2025/12/05 09:16
Edges higher ahead of BoC-Fed policy outcome

Edges higher ahead of BoC-Fed policy outcome

The post Edges higher ahead of BoC-Fed policy outcome appeared on BitcoinEthereumNews.com. USD/CAD gains marginally to near 1.3760 ahead of monetary policy announcements by the Fed and the BoC. Both the Fed and the BoC are expected to lower interest rates. USD/CAD forms a Head and Shoulder chart pattern. The USD/CAD pair ticks up to near 1.3760 during the late European session on Wednesday. The Loonie pair gains marginally ahead of monetary policy outcomes by the Bank of Canada (BoC) and the Federal Reserve (Fed) during New York trading hours. Both the BoC and the Fed are expected to cut interest rates amid mounting labor market conditions in their respective economies. Inflationary pressures in the Canadian economy have cooled down, emerging as another reason behind the BoC’s dovish expectations. However, the Fed is expected to start the monetary-easing campaign despite the United States (US) inflation remaining higher. Investors will closely monitor press conferences from both Fed Chair Jerome Powell and BoC Governor Tiff Macklem to get cues about whether there will be more interest rate cuts in the remainder of the year. According to analysts from Barclays, the Fed’s latest median projections for interest rates are likely to call for three interest rate cuts by 2025. Ahead of the Fed’s monetary policy, the US Dollar Index (DXY), which tracks the Greenback’s value against six major currencies, holds onto Tuesday’s losses near 96.60. USD/CAD forms a Head and Shoulder chart pattern, which indicates a bearish reversal. The neckline of the above-mentioned chart pattern is plotted near 1.3715. The near-term trend of the pair remains bearish as it stays below the 20-day Exponential Moving Average (EMA), which trades around 1.3800. The 14-day Relative Strength Index (RSI) slides to near 40.00. A fresh bearish momentum would emerge if the RSI falls below that level. Going forward, the asset could slide towards the round level of…
Share
BitcoinEthereumNews2025/09/18 01:23