The shell spawned with Directory.current — $HOME for desktop-entry launches, and stale after a project switch since the process CWD never moves. Use the kernel project root, falling back to the process CWD only when no project is open. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>