AI coding tools are powerful, but they're trained on decades of mediocre code. Here's how to harness them without inheriting every security mistake we've been making since the 90s.