{"version":"2.1.300","anchor":"artifact-file-tools-sparse-checkout-path-matching-refactor","canonical_anchor":"artifact-file-tools-sparse-checkout-path-matching-refactor","heading":"Claude is told that a local file copy is for reading only","tier":"internal","area":"File Editing","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.300\/e\/artifact-file-tools-sparse-checkout-path-matching-refactor","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.300","markdown":"### Claude is told that a local file copy is for reading only\n\nClaude now gets a message that a `local_file` is read-only, how to copy it before editing, and that `project_write` refuses it\n\n**What**\n\nClaude Code now gives Claude a message saying that a `local_file` is for reading only. The message explains how to copy the file before editing it, and that the `project_write` tool will not accept it as a local path.\n\nThe code that adjusts file names when matching paths was also split out on its own.\n\n**Why**\n\nThis steers Claude away from trying to edit a read-only copy of a file and toward making an editable copy first.\n\n- Area: File Editing\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}