Your Agent Doesn't Know It's in a Container
There's a quiet little failure mode that shows up the moment you bring an AI coding agent into a Dockerized project. You ask it to run the migrations. It cheerfully fires off php artisan migrate on your host machine — where there isn't any PHP, or worse, where there's a stray local MySQL that has nothing to do with your actual app. Nothing happens. Or something happens, which is somehow worse.