Scanner: cwd is read from every complete line in the transcript prefix
(Claude often opens with cwd-less records); alreadyImported compares with
normalizeProjectPathForComparison against one shell snapshot instead of
exact-match lookups.
Wizard: remote paths target the machine the user just connected instead of
the local primary — agent probes, terminal, keybindings, and import all
follow it; per-driver cards pick the most usable instance; probes still
pending show Checking instead of an Install button; import retries skip
already-landed paths and the chooser resets on target switch; an unmount
during an in-flight terminal open now reaps the created PTY; copy falls
back when the Clipboard API is missing (plain-HTTP LAN).
FirstRunGate: freshness is judged only against primary-environment state,
so a saved remote's project can't masquerade as the cwd bootstrap.
UI consistency: connection cards expose aria-pressed and a focus ring,
ready status uses success tokens, the back control is the Button primitive.
Co-Authored-By: Claude Fable 5 <[email protected]>