{"version":"2.1.326","anchor":"checkpoint-restore-hard-link-check","canonical_anchor":"checkpoint-restore-hard-link-check","heading":"Checkpoint restore now refuses hard-linked files","tier":"notice","area":"Sessions","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/checkpoint-restore-hard-link-check","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Checkpoint restore now refuses hard-linked files\n\nRestoring files from a checkpoint now refuses files with more than one hard link, along with links and unsafe backups\n\n**What**\n\nClaude Code keeps checkpoints of files so you can rewind changes. A hard link is a second name for the same file on disk. Before restoring a tracked file, Claude Code now also requires that the file has no extra hard links. Before, it checked only the file's real path and name.\n\nA tracked file is now refused when any of these is true:\n\n- It is, or became, a link or some other kind of entry that is not a regular file.\n\n- It sits behind a link inside a folder the sandbox can write to.\n\n- Its backup could not be read safely.\n\n**Why**\n\nThis makes checkpoint restore and rewind safer, because restoring a file can no longer end up writing to some other file that shares it on disk.\n\n- Area: Sessions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}