Debug reproduction loop
Reproduces the bug first, then tests one hypothesis at a time until the cause is proven.
How each pass goes
- Write a failing reproduction.
- Form one hypothesis and test it.
- Fix the proven cause and keep the reproduction as a test.
Stops when
The reproduction passes and stays as a regression test.
Starter prompt
Reproduce this bug first with a failing test or script. Then loop: state one hypothesis, run one experiment to test it, record the result. When a cause is proven, fix it, make the reproduction pass, and keep it as a regression test.