b1c132bc9a
* claim: #9417 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Assistant: drop earlier thinking blocks when history is trimmed (#9417) Claude signs each thinking block against the conversation before it. Once drop_old_views swaps an older view for a note, or trim_history drops the oldest messages, every later block stops matching and the API refuses the request with HTTP 400 "Invalid signature in thinking block". For the Anthropic protocol, a trim now also removes the thinking and redacted_thinking blocks from earlier replies, which the API allows. A reply that was only thinking keeps a short note. Requests where nothing was trimmed are sent unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>