docs(contributing): symlink fixtures must skip, not fail, without the privilege

main
No checks reported

Commit

Suhaan Thayyil3d ago

This branch fixes the two tests that failed on an ordinary Windows account and adds an AST guard, but the guard can only see fixtures built through internal/agentsetup's symlinkForTest -- the one form that is fatal. internal/sem has 75 symlink fixture sites and no shared helper to anchor a guard on, and they are clean today by three different conventions, none of which is written down anywhere a contributor would meet it.

Writing the rule down is what carries to the next test. The audit behind the numbers: 23 of the 75 sites are in files that are never compiled on Windows, 34 skip when os.Symlink is refused, 17 sit under a Windows skip or a probe, and the one remaining is a background goroutine that returns on refusal after the test has already probed.