A single bad pasted-content record no longer throws away the whole history entry.
What's wrong with this entry?
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.
- 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_rejectedandhistory_load_paste_record_dropped, each with its own boolean field, alongside the existinghistory_load_read_interrupted.
history_load_shape_rejected
Strings lifted out of the shipped bundle, so the claim above can be checked against them.