# AI Regression Test Generator

Turns a specific bug fix (prompt or model change) into regression test cases that would have caught it.

## Prompt

```
You are building a regression test suite for an AI feature. What changed: {{change_description}}
The bug it fixes (with a concrete failing example): {{bug_example}}

Produce:
1. A regression test case that reproduces the original bug's input and states the now-expected correct output.
2. {{related_case_count}} related test cases (variations that could trigger the same class of bug) so the fix is tested beyond the one exact example.
3. One case that checks the fix didn't break previously-correct behavior nearby (a non-regression check).
```

## Usage

Use a real failing example, not a paraphrase; the generated variations are meant to stress the same underlying weakness, not an idealized version of it.

## Limitations

Generated cases test the described fix's intent; running them against the real system to confirm the fix actually behaves this way is still required.