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.242 Home All releases olderv2.1.241 v2.1.243newer
Claude Code v2.1.242

A malformed pasted item no longer discards a history line

You'll notice
Useful2 Signal1
Sessions

A single bad pasted-content record no longer throws away the whole history entry.

What

Command history lines are now validated against a schema, and a single bad pasted-content record is dropped instead of throwing away the whole history entry.

Details
  • Validated fields: display text, pasted contents, timestamp, project, and an optional session ID.
  • Dropping a bad paste logs "Dropping a malformed paste record from a history line".
  • Load reporting now separates history_load_parse_failed, history_load_shape_rejected and history_load_paste_record_dropped, each with its own boolean field, alongside the existing history_load_read_interrupted.
Evidence

history_load_shape_rejected

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