docs(requirements): split codegen helper surface
Split the oversized codegen/002 row into helper surface, string-key id, generated-command, and form-target requirements. req: codegen/002 req: codegen/007 req: codegen/008 req: codegen/009
This commit is contained in:
@@ -30,7 +30,7 @@ Keep it stable. Prefer pointers to canonical sources over copied structure, file
|
||||
## Requirements-first TDD
|
||||
|
||||
- Write requirements as desired behavior, not as a snapshot of current behavior.
|
||||
- Keep each requirement row to one checkable obligation; split oversized examples, escape hatches, or negative cases into separate IDs.
|
||||
- Keep each requirement row to one checkable obligation; split oversized examples, escape hatches, or negative cases into separate stable IDs while preserving the original ID's main intent.
|
||||
- First split intent into broad error classes: what can go wrong, and what outcome must hold.
|
||||
- Test the largest risky classes before narrow examples.
|
||||
- Add adversarial tests for malformed, hostile, ambiguous, missing, duplicated, and boundary inputs.
|
||||
|
||||
Reference in New Issue
Block a user