Prod env files now win over root .env so harmonize:db can open gallery_prod after gallery_dev; tour_stops gains updated_at; halls no longer block the overlay on every painting texture. Docs cover the fixes and one-artist image pull from prod; Duccio painting assets synced from TrueNAS.
Co-authored-by: Cursor <cursoragent@cursor.com>
Schema migrates dev to prod only; catalog rows merge by updated_at and images by mtime with union merge and conflict reporting.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add Invoke-Git with safe external command execution and stop using prod LAN URL for dev validateBuild checks.
Co-authored-by: Cursor <cursoragent@cursor.com>
restore-db-data.js: fall back to multi-pass insert when the DB role cannot set session_replication_role, and parse multi-line INSERT values (bios) as whole statements. sync-images-to-prod.ps1: fix SMB root variable typo and fail fast with guidance when the share is not mapped. Document SMB mapping, non-superuser restore, and a troubleshooting table in the release runbook.
Co-authored-by: Cursor <cursoragent@cursor.com>
Align package.json scripts and their references across scripts/, infra/, and db/ SQL with the dev-first workflow naming scheme.
Co-authored-by: Cursor <cursoragent@cursor.com>