Skip to content

Commit 11982b6

Browse files
committed
fix(code-generation): forbid relaxing defined quality targets
1 parent 4853256 commit 11982b6

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

aidlc-rules/aws-aidlc-rule-details/construction/code-generation.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,13 @@ This stage generates code for each unit of work through two integrated parts:
200200
- **UPDATE CHECKBOXES**: Mark [x] immediately after completing each step
201201
- **STORY TRACEABILITY**: Mark unit stories [x] when functionality is implemented
202202
- **RESPECT DEPENDENCIES**: Only implement when unit dependencies are satisfied
203+
- **HONOR QUALITY TARGETS**: Measurable quality targets defined in NFR Requirements
204+
or NFR Design (e.g. test coverage thresholds, performance budgets) are inputs to
205+
Code Generation, not suggestions. Generated tests and configuration MUST aim to
206+
meet them. NEVER relax, lower, or disable a previously defined quality target
207+
(including threshold settings in test or build configuration) to make a step
208+
"pass". If a target cannot be met, surface the gap explicitly in the completion
209+
message instead of silently weakening the target.
203210

204211
### Automation Friendly Code Rules
205212
When generating UI code (web, mobile, desktop), ensure elements are automation-friendly:

0 commit comments

Comments
 (0)