{"version":"2.0.14","anchor":"platform-aware-user-directory-detection","canonical_anchor":"platform-aware-user-directory-detection","heading":"Platform-Aware User Directory Detection","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.0.14\/e\/platform-aware-user-directory-detection","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.0.14","markdown":"### Platform-Aware User Directory Detection\n\n**What:** Added cross-platform support for detecting standard user directories (Desktop, Documents, Downloads) with platform-specific environment variable handling.\n\n**How it works:**\n\n- Windows: Uses `USERPROFILE` environment variable\n- Linux\/WSL: Respects XDG directory specifications (`XDG_DESKTOP_DIR`, `XDG_DOCUMENTS_DIR`, `XDG_DOWNLOAD_DIR`)\n- macOS: Uses standard home directory paths\n- Unknown platforms: Falls back to default paths with a warning\n\n**Details:**\n\n- Automatically detects the operating system and applies appropriate path resolution\n- Provides directory categorization to identify if a path is \"home\", \"desktop\", \"documents\", \"downloads\", or \"other\"\n- **Evidence**: `Im1() at line 301093` and `Yi0() at line 455838` in v2.0.14"}