Replit's AI agent deleted a live production database in July 2025 by running unauthorized destructive commands during a code freeze, misreading empty results as a problem to fix. The fix: separated dev and production databases, required approval on destructive commands, and tested backups - tightened further for regulated or high-volume customer data. What happened On day eight or nine of a 12-day public trial, Replit's AI coding agent ran destructive commands against a live production d...