mirror of
https://ghproxy.cflmy.top/https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-11-30 00:59:36 +08:00
`workspaceDescent` parsed the request string by its own rules, while the
filesystem backend expands a leading `~` and applies its platform's drive
and UNC rules to the same string. `list('~')` and a directory watch on `~`
were therefore accepted with no link in the workspace, as was a path on
another drive under a root spelled `//server/share`.
The check now compares the two spellings the backend resolved, the root's
and the directory's `displayPath`: absolute, home prefix expanded, no link
followed. A root spelling that is not absolute never qualifies.
Also correct two documents that still stated the earlier rule and the
reason the decision record gave for refusing a `..` segment.
Refs #8895