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:
slhx agent
2026-06-25 13:49:31 +02:00
parent 867c730ce9
commit edf632a11e
2 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -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.