{"version":"2.1.251","anchor":"overwrite-warning-when-a-file-s-current-contents-cannot-be-s","canonical_anchor":"overwrite-warning-when-a-file-s-current-contents-cannot-be-s","heading":"Overwrite warning when a file's current contents cannot be shown","tier":"notice","area":"Permissions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.251\/e\/overwrite-warning-when-a-file-s-current-contents-cannot-be-s","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.251","markdown":"### Overwrite warning when a file's current contents cannot be shown\n\nOverwrite prompts now warn when the existing file can't be shown, and approval is one-time.\n\n**What**\n\nWhen Claude Code asks you to approve overwriting a file whose existing contents cannot be safely displayed, such as binary or odd-character content, the permission prompt now says so and tells you the approval is one-time only.\n\n**Details**\n\n- The preview logic now separates content that is merely too large from content that fails a display-safety check.\n- The notice reads: \"Current contents of ... cannot be shown in full \u2014 the overwrite cannot be reviewed, so approval is one-time only (deny unless expected).\"\n- Unconditional; triggered by the content check itself.\n\n**Evidence**\n\n`Current contents of ${nr(d.file_path)} cannot be shown in full \u2014 the overwrite cannot be reviewed, so approval is one-time only (deny unless expected).`\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5"}