The single biggest quality jump in vibe coding is closing the loop: an agent that generates code and never runs it is guessing; an agent that generates, runs, reads the failure and fixes it is engineering. Rule three is the important one — under pressure, agents will happily edit a failing assertion until the suite is green. Naming that failure mode out loud prevents it more often than you’d think.

If the repo has no test setup at all, the right first step is a one-liner runner (even node --test), not a framework migration.