Add "AI is backfilling your tests, and it's a regression" post#16
Merged
Conversation
# Problem AI agents default to writing tests after the implementation is already done, backfilling assertions against code that exists rather than designing against code that doesn't yet. This quietly breaks the red-green-refactor cycle and turns a green test suite into a formality instead of a verdict. # Solution New engineering post arguing that TDD's real value was never the tests themselves but the design step that writing a test first forces you through. The post traces how AI erodes that discipline by default, then describes how the Oracle (the team's contextual code review knowledge base) identified the pattern and now instructs agents to write failing tests before writing any implementation. The constraint that makes TDD valuable for humans turns out to make it valuable for agents for exactly the same reason: committing to an interface before committing to an implementation shapes better architecture. Adds the markdown source, the generated HTML, index listing entries on both the home page and the engineering index, a new sitemap entry, and updated lastmod timestamps. # Notes Sitemap lastmod for the root and engineering index pages bumped to 2026-06-24 as part of the build output.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
AI agents default to writing tests after the implementation is already done, backfilling assertions against code that exists rather than designing against code that doesn't yet. This quietly breaks the red-green-refactor cycle and turns a green test suite into a formality instead of a verdict.
Solution
New engineering post arguing that TDD's real value was never the tests themselves but the design step that writing a test first forces you through. The post traces how AI erodes that discipline by default, then describes how the Oracle (the team's contextual code review knowledge base) identified the pattern and now instructs agents to write failing tests before writing any implementation. The constraint that makes TDD valuable for humans turns out to make it valuable for agents for exactly the same reason: committing to an interface before committing to an implementation shapes better architecture.
Adds the markdown source, the generated HTML, index listing entries on both the home page and the engineering index, a new sitemap entry, and updated lastmod timestamps.
Notes
Sitemap lastmod for the root and engineering index pages bumped to 2026-06-24 as part of the build output.