fn app_data_dir_from_home(home: &Path) -> PathBufExpand description
When dirs::data_dir() is unavailable, resolve under the home directory — never use the
process working directory. A cwd-based path changes with how the app is launched (Finder vs
Terminal vs IDE), so prefs and DB would appear to “reset” every run.