fn is_default_config_dir(config_dir: &Path) -> boolExpand description
Whether this path is the home directory’s .claude, the default config
dir.
The pre-split machine-wide store is the default config dir’s state, so only that config dir may adopt it. A scratch or second config dir booting first must not take it; such a dir leaves the legacy file in place.