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.235 Home All releases olderv2.1.234 v2.1.236newer
Claude Code v2.1.235

Transcript compaction rewritten against the new session storage layer

Under the hood
Useful2 Signal2
Elsewhere

Compacting a long session now rewrites transcripts through the storage layer atomically instead of editing the file in place.

What

Compacting a long session transcript now goes through the storage backend, replacing records under a precondition and publishing atomically, instead of editing the transcript file in place. Failures are reported with named reasons.

Details
  • Bail reasons include snapshot_mid_line for a partially written tail, shared_inode for a hardlinked target, and source_changed when another writer wins the race; these arrive on tengu_transcript_compact_failed.
  • Reads page forward rather than loading the whole transcript.
  • When a compaction reclaims little space, the threshold that triggers the next one doubles. Successful runs report byte counts before and after.
  • Applies only on the newer storage path; no user-facing setting.
Evidence

tengu_transcript_compact_failed

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

See this entry in the whole of v2.1.235 →