feat: Add TDD code generation workflow as optional path#78
Open
DrakeRHEE wants to merge 3 commits intoawslabs:mainfrom
Open
feat: Add TDD code generation workflow as optional path#78DrakeRHEE wants to merge 3 commits intoawslabs:mainfrom
DrakeRHEE wants to merge 3 commits intoawslabs:mainfrom
Conversation
Author
ProblemThrough three rounds of AI-DLC Unicorn Gym sessions, we observed that the Construction phase's Code Generation stage occasionally missed implementing required features. This led to incomplete deliverables and required manual intervention to identify and implement the missing functionality. SolutionIntegrated Test-Driven Development (TDD) methodology as an opt-in extension in the AI-DLC extensions framework. Users can enable TDD during Requirements Analysis, and the extension replaces the standard code generation workflow with a TDD-driven RED-GREEN-REFACTOR cycle. Extension Design
TDD vs Standard Comparison
Test EvidenceKorea Tech TTT Session (January 30, 2026)
Partner Workshop (February 4, 2026)
Changes
|
Contributor
|
@DrakeRHEE Please move this to be an extensions capability. |
294f21a to
0ef9266
Compare
Author
@harmjeff Done :) |
0ef9266 to
8813a79
Compare
Add Test-Driven Development (TDD) as an opt-in extension under extensions/testing/tdd/. Users can enable TDD during Requirements Analysis, and the extension replaces the standard code generation workflow with a TDD-driven RED-GREEN-REFACTOR cycle. Changes: - Add tdd-code-generation.md with full TDD workflow as extension rules - Add tdd-code-generation.opt-in.md for Requirements Analysis opt-in - Per-unit TDD applicability check for multi-unit flexibility - No modifications to core-workflow.md or other existing files Validation: - Internal TTT: TDD group achieved 100% completion with significantly less time and more complete results vs standard approach - Partner workshops: 100% completion rate, near-zero defect outputs - CSAT: 4.6-4.9/5.0 across 120+ participants Co-authored-by: Jeongho Han <hjeongho@amazon.com> Co-authored-by: Hyojin Jung <jhyojin@amazon.com>
1f4a649 to
2d94876
Compare
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.
Add Test-Driven Development (TDD) as an opt-in extension for the Code Generation stage. When enabled, TDD replaces the standard code generation workflow with a RED-GREEN-REFACTOR cycle that prevents feature gaps and ensures high code quality.
Changes:
Design:
Validation:
Co-authored-by: Jeongho Han hjeongho@amazon.com
Co-authored-by: Hyojin Jung jhyojin@amazon.com
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.