Experiment: coding agent that reads regression tests first ships zero regressions

rseroter · x · 2026-11-24

Bill Echlin ran parallel builds of the same features with two AI coding agents: one studied regression tests before designing ('rails'), the other only ran them. On a change threatening existing behavior, the rails agent passed 58/58 while run-only broke 12 and reworked. Rails showed no benefit on small non-threatening changes, and a blind comparison oddly preferred the run-only code. Takeaway: running catches breaks, reading prevents them — but old tests don't make new code good. Four changes, signal not proof.

Original post →

More from coding & agent

coding & agent channel →