Yadda 3.0.0: BDD in the Age of AI Agents
TL;DR Highlight
Claude Code shipped Yadda 3.0 in about a day, showing executable specs matter for agents
Who Should Read
A developer running several coding agents who needs a way to verify the output actually matches the requirements
Core Mechanics
- Claude wrote most of Yadda 3.0
- The modernisation used Claude Code with Opus 4.8 with very few human interventions.
- It took roughly a day from start to npm publish while the author did other work in parallel.
- The work was split into phases
- The phases were removing obsolete features, toolchain, mechanical formatting, source modernisation, API exploration, examples and CI, then docs and TypeScript definitions.
- Each phase was planned before implementation.
- Code and tests were never changed in the same step
- If an agent changes both, a green suite is weaker evidence because it can redefine what counts as correct.
- The existing comprehensive test suite acted as a firm external constraint.
- The bottleneck is human coordination, not coding
- The author could comfortably run three tasks at once, sometimes four or five.
- Beyond that, context on each agent was lost, so he sees orchestration as the next key layer.
- Executable specs become a contract for agents
- A wiki cannot say whether the system really does something, but an executable spec can.
- Implementation, testing and review agents and CI can all use the same spec.
- AI makes the costly part of BDD cheap
- Transcripts, discussions and requirements turn into candidate specs easily, so humans check language and behaviour.
- Since v3.1.0, specs can be written in GitHub-flavoured Markdown.
Community Reactions
- Opinion questioning why BDD uses natural language
- The abstraction layer is good, but natural language seems an odd and expensive choice.
- The commenter saw non-technical people use specs only once, with a traditional DSL.
- Experience adding BDD to AI codebases, mostly positive
- It was added to two codebases, one engineered and one vibecoded.
- High-level API and UI tests forced a first cleanup, such as standardised DB access and a single API SDK.
- Opinion that the spec-from-discussion flow is brilliant or a snake eating its tail
- Turning project discussions into BDD rails for AI could be either, but is worth a try.
How to Apply
- Turn one meeting note into a candidate spec
- Pick a requirements doc or meeting note today and have an LLM rewrite it as Given/When/Then scenarios.
- Edit the terms yourself so they match your domain language.
- Separate code and test edits in agent tasks
- When asking for a refactor, split production-code changes and test changes into separate steps.
- Put a rule in the prompt that existing tests must not be edited during the code step.
- Break large jobs into phased epics
- Order phases as removal, toolchain, formatting, source changes, docs, and ask for a plan before each.
- Commit mechanical formatting separately from behavioural changes.
- Start parallel agents at three
- Use git worktree to give each agent an isolated copy.
- Note where you start losing context and set your parallel limit there.
Try It
# Paste into a Claude or ChatGPT chat (simplified version of the article's idea: requirements → executable spec draft)
Turn the requirements below into a BDD spec draft. Use domain terms consistently, and write sentences that describe intent rather than procedural scripts. Use GitHub-flavoured Markdown.
# Feature: feature name
## Scenario: scenario name
- list of sentences
Requirements:
{{meeting notes or requirements}}
At the end, list any inconsistent or ambiguous terms separately.
Next step: give the accepted spec to an implementation agent and tell it to write code that satisfies the spec without modifying tests.Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques