docs/design/2026-08-09-desktop-default-workspace.md
The Tauri app currently blocks first launch on a folder picker because its bundled qwen serve process needs a primary workspace. The previous Electron app instead created a protected Qwen conversation workspace and let users add projects after entering the app.
Desktop resolves its primary workspace in this order:
QWEN_DESKTOP_WORKSPACEdesktop-state.json~/Documents/Qwen, matching the Electron app and created on first launchOnly the default directory is created automatically. A missing environment-provided or saved workspace continues through the existing recovery page rather than recreating a user project path.
The default remains the stable daemon primary. Project directories continue to use the Web Shell's existing dynamic workspace registration and switching, so adding a project does not restart Node. The bootstrap folder picker remains available only for recovery.
Existing Tauri users retain their saved primary workspace. Existing Documents/Qwen content is reused without migration or deletion. The runtime command, daemon, Web Shell, and Local Control lifecycle remain unchanged.