{"version":"2.1.331","anchor":"published-artifact-files-are-opened-with-a-safer-hardlink-an","canonical_anchor":"published-artifact-files-are-opened-with-a-safer-hardlink-an","heading":"Publishing a file as an artifact uses a stricter check for linked files","tier":"notice","area":"Artifacts","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/published-artifact-files-are-opened-with-a-safer-hardlink-an","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Publishing a file as an artifact uses a stricter check for linked files\n\nFiles published as artifacts are opened through a confined helper with a stricter hard-link check and a new error if a file was swapped\n\n**Unclear.** It is not clear whether the stricter check applies to every publish or only with a specific option or `CLAUDE_CODE_EVAL_CONFINED` set.\n\n**What**\n\nWhen Claude Code publishes a file as an artifact, it now opens the file through a new confined helper. A hard link is a second name for the same file on disk. Before, Claude Code refused any file with more than one such name. The check can now accept a list of hard links that were already checked.\n\nIf a file fails the check, a new error says it is an unchecked hard link or was just replaced, and suggests retrying the publish or publishing a plain copy.\n\n**Why**\n\nThis tightens the limits on which files publishing can reach. If you see the new error, retry, or make an ordinary copy of the file and publish that.\n\n- Area: Artifacts\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}