Resolves #23.
Summary #
- Add
resolve_home_displayandConfig::home_display()insrc/config.rs(HOMEPATHon Windows with fallback tohome_root,~on Unix) and exposehome_displayinGET /api/health. - Update
formatDisplayPathinweb/src/lib/format.tsto support platform-specific home root labels and backslash separators on Windows. - Propagate
home_displayandisWindowsacrossApp,TopTelemetryDeck,CommandRail, andDirectoryLedger(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
HOMEPATHformatting, breadcrumbs, and volume legend.
Verification #
cargo fmt --check— passedcargo clippy --all-targets --all-features -- -D warnings— passedcargo test— 38 unit + 2 e2e passedcd web && npm run typecheck && npm run lint && npm test && npm run build— 13/13 tests passed, build clean