Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.227 Home All releases olderv2.1.226 v2.1.228newer
Claude Code v2.1.227

Context indicator can follow a worker's own auto-compact settings

You'll notice
Useful3 Signal3
Compaction

The context indicator can use a remote worker's real auto-compact settings so the countdown matches reality.

What

A remote worker can now publish the auto-compact configuration it actually resolved, and the context-usage indicator will use that instead of working it out locally. This makes "% until auto-compact" count down to the point compaction really happens, and switches to "% context used" when the worker says the threshold is not enforced. It only applies when a connected worker sends the frame, and the message is marked internal.

Details
  • The message carries whether auto-compact is enabled, the effective context window, the threshold, whether it is enforced, and where the setting came from: environment, settings, client data, experiment, model default, unknown model, or auto.
  • Adoption is reported as tengu_remote_autocompact_state_adopted.
Evidence

Worker-resolved auto-compact state, emitted by CCR workers at boot

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.227 →