9ae089d71b
Rolled partial file appends back to their pre-write size and marked malformed resumed sessions for an atomic rewrite. Retried transient persistence failures from in-memory state and surfaced the first failure in the interactive TUI. Fixes #8596