pub fn save_project_settings(
cwd: &Path,
settings: &Settings,
) -> Result<(), String>Expand description
Persist project-scoped settings under .rpi/settings.json, preserving an
existing native .pi/settings.json as the raw fallback on the first save.