You'll notice
A session's reported working directory is refused if it is network-shaped or its ancestry cannot be verified.
When restoring or adopting a session's reported working directory, Claude Code now rejects absolute or network-shaped paths outright. For other paths, it verifies the local ancestry doesn't resolve through a network path before trusting the cwd, logging a warning and declining to adopt it if verification fails or is inconclusive.