<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Compaction on Tokenise</title><link>https://tokenise.rosvetic.com/tags/compaction/</link><description>Recent content in Compaction on Tokenise</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Mon, 26 Oct 2026 07:10:00 +0000</lastBuildDate><atom:link href="https://tokenise.rosvetic.com/tags/compaction/index.xml" rel="self" type="application/rss+xml"/><item><title>Make Claude Code re-read your plan after every compaction: a SessionStart brief that also warns before a stale resume</title><link>https://tokenise.rosvetic.com/posts/session-start-brief-after-compaction/</link><pubDate>Mon, 26 Oct 2026 07:10:00 +0000</pubDate><guid>https://tokenise.rosvetic.com/posts/session-start-brief-after-compaction/</guid><description>&lt;p&gt;Two hours into a refactor, the context window fills and Claude Code compacts. The summary is decent. It also says nothing about the decision you made at minute 20 not to add a dependency, and the next thing the agent does is propose adding one. Or you hit &lt;code&gt;/clear&lt;/code&gt; between tasks, and the fresh session has no idea which branch it&amp;rsquo;s on, what&amp;rsquo;s uncommitted, or that a plan exists.&lt;/p&gt;</description></item><item><title>Claude Code now compacts your idle session before the cache expires. Here's when that saves money and when it costs you</title><link>https://tokenise.rosvetic.com/posts/claude-code-idle-compaction-cache-expiry/</link><pubDate>Fri, 16 Oct 2026 11:03:00 +0000</pubDate><guid>https://tokenise.rosvetic.com/posts/claude-code-idle-compaction-cache-expiry/</guid><description>&lt;p&gt;You step away from a long Claude Code session for lunch. An hour and a bit later you type a one-line follow-up, and that single message reprocesses the whole conversation from scratch, because the one-hour prompt cache lapsed while you were gone. At 400,000 tokens of context on Sonnet 5.5, that one line costs about $1.60 before the model has said anything.&lt;/p&gt;</description></item><item><title>Claude Code waits until 967K tokens to compact. Pick the window yourself</title><link>https://tokenise.rosvetic.com/posts/claude-code-autocompact-window-1m/</link><pubDate>Tue, 13 Oct 2026 11:05:00 +0000</pubDate><guid>https://tokenise.rosvetic.com/posts/claude-code-autocompact-window-1m/</guid><description>&lt;p&gt;A Sonnet 5.5 session that has been running since the morning stand-up is probably carrying several hundred thousand tokens of old file reads, test output and abandoned approaches. Claude Code won&amp;rsquo;t touch that history until it nears the model&amp;rsquo;s limit. For models with a native 1M window, Anthropic&amp;rsquo;s docs put the default compaction point at about 967K tokens.&lt;/p&gt;</description></item></channel></rss>