Some checks failed
Script lived at scripts/seed/seed_email_templates_core.py and inserted Path(__file__).parent.parent into sys.path — that resolves to scripts/, not the project root, so `from app.core.database import get_db` raises ModuleNotFoundError when run from inside the container. The loyalty sibling already uses parent.parent.parent correctly. Hit during the FR/DE password_reset reseed on prod. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>