You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After uninstalling a plugin that writes custom session events, old sessions become completely unreadable — a single unknown event poisons the whole log and there is no recovery path in the UI.
Repro
Install a plugin that appends session events (e.g. @loserfox/distill writes session/distill-review-request).
Uninstall the plugin.
Restart and try to open any session that contains such an event.
Result:
history unavailable for session "...": SessionFormatUnsupportedError: session contains
event type "session/distill-review-request" (seq 76818) unknown to this harness and not
marked ignorable; refusing to interpret the log
Resume fails with the same error.
Workaround (manual, fragile)
Hand-edit the zstd session log: add "ignorable": true to the unknown event and re-compress with frames aligned to complete JSONL records (line-aligned, not byte-chunked). Deleting the event is invalid — the committed region requires contiguous seqs (seq gap ... expected 76818, got 76819).
Suggestions
Plugin-authored session events should be ignorable by default (or namespaced/versioned so the harness can safely skip unknown ones).
Offer a built-in recovery action in the UI (e.g. "skip unknown events and open" / quarantine view) instead of a hard refusal.
In the error, identify which plugin wrote the unknown event and hint "reinstall the plugin to read this history".
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Summary
After uninstalling a plugin that writes custom session events, old sessions become completely unreadable — a single unknown event poisons the whole log and there is no recovery path in the UI.
Repro
@loserfox/distillwritessession/distill-review-request).Result:
Resume fails with the same error.
Workaround (manual, fragile)
Hand-edit the zstd session log: add
"ignorable": trueto the unknown event and re-compress with frames aligned to complete JSONL records (line-aligned, not byte-chunked). Deleting the event is invalid — the committed region requires contiguous seqs (seq gap ... expected 76818, got 76819).Suggestions
ignorableby default (or namespaced/versioned so the harness can safely skip unknown ones).All reactions