You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Repo instruction files are skipped on Windows when the repo is on a volume with no drive letter ("customization path changed to a reparse point") #5496
Bug: No repo instruction files load when the repo is on a volume that has no drive letter and is reached through a folder mount point. The repo's own files are regular files. The CLI shows no error in the session.
Environment: Windows, Copilot CLI 1.0.113.
Setup:
The repo is at C:\workspace\worktree\<project>\<repo>.
C:\workspace is a separate NTFS volume with no drive letter. It is mounted at that folder only.
.github, .github\instructions and .github\copilot-instructions.md are regular files and directories. Get-Item shows no LinkType for them.
Actual: The session log (~/.copilot/logs/process-*.log) has this warning for every instruction file in the repo: .github\copilot-instructions.md and every .github\instructions\*.instructions.md file. None of them loaded. AGENTS.md and CLAUDE.md are also not loaded.
[WARNING] [rust:rt_customization_loader::repo_instruction_discovery] Cannot read contained instruction file {"path":"C:\\workspace\\worktree\\<project>\\<repo>\\.github\\copilot-instructions.md","error":"customization path changed to a reparse point"}
Repro: Use a spare NTFS volume that has no drive letter.
Mount it at a folder: Add-PartitionAccessPath -DiskNumber <n> -PartitionNumber <m> -AccessPath C:\mnt-test.
Copy .github\copilot-instructions.md and a few .github\instructions\*.instructions.md files into C:\mnt-test\repo, then run git init there.
Run copilot instruction list from that folder. The repo's own instructions are missing.
Add a drive letter to the same volume: Add-PartitionAccessPath -DiskNumber <n> -PartitionNumber <m> -AccessPath Z:\. Change nothing else, and run the same command again. The instructions now load.
Remove the letter again. They go missing again.
I repeated this several times. The result changed with the letter each time. A real copilot -p session logged the warning above when there was no letter, and logged none when there was one. Results for identical content:
Location
Instructions listed?
Plain folder on C:
Yes
Volume mounted at C:\mnt-test, no drive letter
No
Same volume and same path, drive letter added
Yes
Same volume with a drive letter only (Z:\repo), no mount folder
Yes
The failure did not depend on how deep the repo is or which mount folder is used. It also affected AGENTS.md and CLAUDE.md.
Expected: Instruction files load. A volume without a drive letter is a normal setup, and it should not fail the containment check.
Impact: The model silently lacks all repo instructions. The only evidence is in the log file.
Workaround: Give the volume a drive letter. I confirmed this on a spare volume. I have not tried it on the volume that holds my repo.
Suggested fix: Resolve the repo root once, then check containment against the resolved path. Also show a visible warning when instruction files are skipped.
Not tested: Dev Drive, other file systems, or other causes tied to the volume.
changed the title [-]Repo instruction files are skipped on Windows when the repo is under a volume mount point ("customization path changed to a reparse point")[/-][+]Repo instruction files are skipped on Windows when the repo is on a volume with no drive letter ("customization path changed to a reparse point")[/+]on Nov 18, 2026
Activity
[-]Repo instruction files are skipped on Windows when the repo is under a volume mount point ("customization path changed to a reparse point")[/-][+]Repo instruction files are skipped on Windows when the repo is on a volume with no drive letter ("customization path changed to a reparse point")[/+]