2/ first, a test harness. tests used to be a chore. i used to add just enough tests, after the fact, to get some of the upside without incurring the tediousness of testing everything and keeping tests updated. with ai, test driven development is effortless and essential. tests limit the mistakes the agent can make and allows you to ship with confidence. every code change writes tests first across all "ranges" unit, api, integration, and browser.