core/config_paths.py resolves a single override so tests and multiple instances can run against isolated temp config/db without touching user data.