pydantic-model-validator-prod-safety-gate
Add a model_validator(mode='after') to pydantic Settings that checks 7 known dev-default values (localhost passwords, ‘changeme’ secrets, debug flags) and raises a structured error when RDASH_ENV=production. This prevents silent prod boot with dev credentials and surfaces the full misconfiguration list in one structured error rather than scattered runtime failures.