mirror of
https://github.com/storytold/soundcraft.git
synced 2026-10-26 03:26:49 -06:00
cli::mcp_automation_roots_take_several_folders built its folders from std::fs::canonicalize, which returns \\?\C:\... on Windows. The server prints its roots without that prefix (file_access::plain), so the stderr check never matched. The test also sent \\?\ paths with `..` in them, which Windows does not normalize, so that call failed with "cannot resolve" instead of "outside the read roots". A test helper now canonicalizes and strips \\?\ (and \\?\UNC\) on Windows, as file_access::plain does, and the test builds every path from it. On macOS and Linux the paths are unchanged.