The discriminatorSpaces are valid. Look for a colon immediately before the final slash in the path passed to realpath.

Correct the platform boundary.

Native chooser

Returns an AppleScript alias.

→
POSIX conversion

May leak a terminal HFS separator.

→
fs.realpath

Rejects the malformed spelling.

Prove it without moving the folder.

osascript \
  -e 'set selectedFolder to choose folder' \
  -e 'POSIX path of selectedFolder'

Preserve the exact output, then compare only the terminal :/ spelling. Do not rename the volume or edit the workspace registry.

Keep internal colons

The normalization is terminal and narrow.

Keep realpath strict

Workspace identity still resolves symlinks and missing paths.

Keep the failing path

The mount spelling is the primary diagnostic evidence.

A fixed release must pass both layers.

  1. AdapterOrdinary output stays unchanged; terminal :/ becomes /.
  2. CancellationEmpty and user-cancel paths retain current semantics.
  3. RegistryThe normalized directory realpaths and reuses the same identity.
  4. UI restartThe workspace remains selectable after a cold Host restart.

Primary evidence.

Preserve the path that failed.

The canonical guide includes exact probes, reversible recovery options, false-fix warnings, acceptance tests, and a minimal upstream report.

Read and star on GitHub