Commit 072ab33
authored
fix(tasks): require field constraints from data-model.md in generated tasks (#4430)
* fix(tasks): require field constraints from data-model.md in generated tasks
/speckit.tasks mapped data-model.md entities to user stories but never
told the agent to carry field-level constraints (max length, nullable,
enum values, validation rules) into the task text. Left to discretion,
the implementing agent can silently invent its own value instead of the
one recorded in data-model.md.
Fixes #4383
* test(tasks): tighten constraint regression assertion to match verbatim wording
Addresses Copilot review feedback that the prior assertion only checked
for the word 'constraint', so it would still pass if the rule's meaning
were reversed (e.g. constraints permitted to be omitted).1 parent d00176e commit 072ab33
2 files changed
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
200 | 201 | | |
201 | 202 | | |
202 | 203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
0 commit comments