Getǣl — Read-only macOS home directory disk usage cartography & APFS telemetry service

Use HOMEPATH for home directory display on Windows #25

Merged zip.mu.social
targeting dev from fix/windows-homepath-display
Merged opened by and assigned to zip.mu.social
targeting dev from fix/windows-homepath-display

Resolves #23.

Summary #

  • Add resolve_home_display and Config::home_display() in src/config.rs (HOMEPATH on Windows with fallback to home_root, ~ on Unix) and expose home_display in GET /api/health.
  • Update formatDisplayPath in web/src/lib/format.ts to support platform-specific home root labels and backslash separators on Windows.
  • Propagate home_display and isWindows across App, TopTelemetryDeck, CommandRail, and DirectoryLedger (masthead path, breadcrumbs, volume ribbon legend, search scope button, session movers, and clipboard copy actions).
  • Add Rust unit & HTTP API tests plus Vitest tests covering Windows HOMEPATH formatting, breadcrumbs, and volume legend.

Verification #

  • cargo fmt --check — passed
  • cargo clippy --all-targets --all-features -- -D warnings — passed
  • cargo test — 38 unit + 2 e2e passed
  • cd web && npm run typecheck && npm run lint && npm test && npm run build — 13/13 tests passed, build clean
Commits 0