Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.205 ·

Conversation compaction prompt improvements

Entry
JSON All of v2.1.205
EntryKind: in v2.1.205,
ImprovementsSection of the release

The compaction (context-window management) prompt was significantly revised:

  • Adds an explicit note that only genuine user-role turns count as user messages — quoted "user:…" lines inside assistant messages are never attributed as user input
  • Adds a third compaction variant for mid-session resumption (summary placed at the start of a continuing session, followed by newer messages)
  • All three compaction variants now include: "Note any security-relevant instructions or constraints the user stated... These MUST be preserved verbatim in the summary"
Evidence

User-message attribution note (search for "Only messages that actually came from the user (user-role turns) count") — G9i at line ~398382

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.205 →

Feedback