In prod the package is installed in a venv, so __file__.parents[4] doesn't reach the repo root. Use CWD (repo root in both dev and prod via systemd WorkingDirectory) with REPO_ROOT env var override. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>