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.20 ·

Message Structure Repair

Entry
JSON All of v2.1.20
EntryKind: in v2.1.20,
ChangesSection of the release
What

Automatic repair of malformed tool result pairings in conversation history.

Details
  • Detects and repairs missing tool_result blocks
  • Logs: ensureToolResultPairing: repaired missing tool_result blocks (X -> Y messages)
  • Prevents conversation corruption from improperly paired tool uses
Evidence

Repair logging at line 469512

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

Feedback