Vendor replays
Coding agent risks with Prisma: replays and fixes
2 replays involve Prisma: 0 reported incidents and 2 command classes. Each one shows the call, a fix that needs no extra tool, and what KYA did in the replay.
Prisma db push that accepts data loss
Fix: Run prisma migrate dev --create-only to write the migration file without applying it, read the SQL for DROP statements, and then apply it. Keep the production DATABASE_URL out of the agent environment, and give the agent a throwaway database.
Replay result: Held.
Prisma migrate reset with force
Fix: Keep the production DATABASE_URL out of the agent environment, and give the agent a throwaway database for resets. Apply changes to production with prisma migrate deploy, which runs saved migrations and never resets.
Replay result: Held.