Aha. I had AI-assisted suspicions but didn't actually know before now where to look for the tag.
Dear developer: setting aside any questions about the wisdom of using AI, I'd suggest running through your game a couple of times before releasing it. However you code things, AI or otherwise, it's always a good idea to try to catch mistakes before they go out into the world.