scripts/deploy.sh backs up the database (pg_dump), checks out the release, runs npm ci, prisma migrate deploy and generate, builds the frontend, restarts the PM2 apps and health-checks them. Any failure puts back the previous code and build, and restores the dump if new migrations had run. deployment.md §12 now uses it. tsconfig.tsbuildinfo leaves git so builds don't leave the tree dirty. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>