Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.269 ·

Context-compaction pipeline reorders trailing-thinking preservation ahead of the strip plan

Conversation compaction now preserves trailing thinking blocks before computing what to strip

TierUnder the hoodhow much it should matter to you
Useful2my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaCompactionwhat it touches
KindBug Fixesin v2.1.269,
Under the hood

Conversation compaction now preserves trailing thinking blocks before computing what to strip

What

When converting the transcript into API messages, Claude Code now first applies trailing-thinking preservation (keeping the model's most recent reasoning, or 'thinking', blocks) and only then computes the plan for which thinking blocks to strip, based on that already-preserved result. Previously the strip plan was computed directly from the raw messages.

Why

Ordering it this way means the strip plan takes the preserved trailing thinking into account, rather than being computed before that preservation happens.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe evidence doesn't say what practical difference in compacted output this reordering produces.

See this entry in the whole of v2.1.269 →