How I broke AI (and how it almost broke me).