{"version":"2.1.281","anchor":"existence-check-uses-lstat","canonical_anchor":"existence-check-uses-lstat","heading":"Existence check uses lstat","tier":"internal","area":"File Access","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/existence-check-uses-lstat","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### Existence check uses lstat\n\nA path that is a broken symbolic link now counts as existing when Claude Code checks whether a path exists\n\n**Unclear.** The finding does not say which user-facing actions rely on this existence check.\n\n**What**\n\nClaude Code's internal check for whether a path exists now uses `fs.lstat`. A symbolic link is a small file that points at another file. When its target is missing it is called a dangling symlink, and the check now treats it as existing instead of missing.\n\n**Why**\n\nIn practice, a broken link sitting at a path is now seen as occupying that path rather than being reported as absent.\n\n- Area: File Access\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5"}