{"version":"2.1.300","anchor":"purge-history-fallback-message-and-tool-result-delivery-stat","canonical_anchor":"purge-history-fallback-message-and-tool-result-delivery-stat","heading":"History purge message says history.jsonl is rewritten directly on failure","tier":"internal","area":"Prompt History","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.300\/e\/purge-history-fallback-message-and-tool-result-delivery-stat","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.300","markdown":"### History purge message says history.jsonl is rewritten directly on failure\n\nWhen purging history, Claude Code's log now says history.jsonl is rewritten directly if replacing its records fails\n\n**What**\n\nWhen Claude Code purges your prompt history, its log message now says that if replacing the records fails, the `history.jsonl` file is rewritten directly instead.\n\nSeparately, when a tool's output has been delivered, Claude Code now keeps that output with the delivered state.\n\n**Why**\n\nThe message points to a fallback for purging history when the usual way of replacing records fails.\n\n- Area: Prompt History\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}