{"version":"2.1.334","anchor":"read-tool-gives-skill-based-hint-for-binary-files-history-p","canonical_anchor":"read-tool-gives-skill-based-hint-for-binary-files-history-p","heading":"Clearer hints for binary files, and history purges can now be refused","tier":"notice","area":"Tools","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/read-tool-gives-skill-based-hint-for-binary-files-history-p","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Clearer hints for binary files, and history purges can now be refused\n\nReading a binary file can now give a tailored hint, and purging history first checks whether it should refuse\n\n**Unclear.** It is not clear what makes a history purge get refused.\n\n**What**\n\nTwo separate changes:\n\n- Binary files: the Read tool cannot open binary files, meaning files that are not plain text. Its error used to give one fixed suggestion. It now chooses between a hint written for the situation and the general suggestion to use a skill or a shell command.\n\n- History purge: purging history, and removing it with `--all`, now runs a check first. If the check refuses, Claude Code reports `history_rewrite_refused` and does not go ahead.\n\n**Why**\n\nA request to purge history can now be refused. If that happens, the purge did not run.\n\n- Area: Tools\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}