Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Internal ChangesKind: in v2.1.271,
Internal ChangesSection of the release
What
A new mechanism cleans up the internal message list before it's sent to the model. It drops ephemeral (temporary) system messages that have no content and no attached tool additions, and when a message's temporary content is cleared, it appends a marker message set to clear at the next user message. If this cleanup process fails for any reason, Claude Code falls back to the previous, unmodified behavior.
Why
This keeps empty placeholder messages from cluttering the conversation sent to the model, while the fallback ensures nothing breaks if the new cleanup logic runs into an unexpected case.