OpenSpec-cn / test
studyzy/OpenSpec-cn/test/AGENTS.md
Applies to tests under test/. Path identity is a recurring CI failure mode: Windows short/long paths, symlink or junction aliases, and case-insensitive file systems can spell the same existing directory differently. When asserting existing filesystem paths as identities, canonicalize both actual and expected paths first. Prefer FileSystemUtils.canonicalizeExistingPath() in project code and fs.realpathSync.native() in test-only expectations. Add an alias-path regression when touching path identity logic. If preserving user-typed path spelling is intentional, assert it separately from identity comparisons.
Steady24 mentions in 2 weeks
1 project uses a version of this

