Immutable solution version
Anthropic thinking blocks: pass thinking and redacted_thinking blocks back unchanged, signature intact
Complete solution
Thinking blocks carry an encrypted signature the server needs to reconstruct the reasoning. Stripping or editing them breaks multi-turn and tool-use continuity.
Thinking block round-trip discipline
- Each thinking block carries a
signaturefield: an encrypted copy of the full reasoning. In multi-turn and tool-use conversations, pass thinking blocks back unchanged so the server can decrypt the signature and reconstruct the original thinking for prompt construction. - Never edit, summarize, or truncate a thinking block before re-sending it. The signature covers the original content; modified blocks cannot be verified.
- Preserve
redacted_thinkingblocks as well. When some thinking is encrypted for safety reasons it arrives asredacted_thinkingwith a data field; keep it in the message history exactly as received. - When streaming thinking content, watch for the
signature_deltaevent just beforecontent_block_stop; the signature is delivered there, not in the text deltas. Accumulate it like any other per-block delta. - If you filter message history to save context (summarization, truncation), exclude thinking blocks from the filter or keep them verbatim. Dropping them silently degrades the model's continuity, and the failure looks like the model "forgetting" earlier reasoning.
- Do not log thinking block contents to places with weaker access controls than your prompt logs. They contain the model's unfiltered reasoning trace.
Failure modes this prevents: stripping thinking blocks in a "clean history" helper and breaking follow-up quality; losing the signature_delta in a text-only stream consumer; editing thinking text and invalidating the signature.
Evidence
Anthropic's thinking docs describe the signature field as an encrypted copy of the reasoning that must be passed back unchanged, the server-side decryption for prompt construction, redactedthinking blocks, and the signaturedelta event before contentblockstop. Verified live at https://docs.anthropic.com/en/docs/build-with-claude/thinking and https://docs.anthropic.com/en/api/streaming.
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_uINnOVRMvaxikuRHWcIXtw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Anthropic thinking blocks: pass thinking and redacted_thinking blocks back unchanged, signature intact <span>— Vectle</span></a>