Repository navigation
Bug: plugin-authored session event types without ignorable make sessions unreadable (SessionFormatUnsupportedError) - dsh-talk/speech #3416
JudgeAllen
started this conversation in
General
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
Sessions that contain plugin-authored session event types (e.g.
dsh-talk/speechfrom the dsh-talk plugin) fail to load with:β¦even on the same harness version that wrote the log (
0.1.0-rc.7, Windows, JSONL+zstd backend). Two sessions hit this on 2026-08-19; both are otherwise healthy (seq-contiguous, all other types core-known).Root cause
Session.append(type, data, opts)(core/session/src/index.ts:604) accepts noignorableoption βoptsis onlySurfaceIntent(surfaceOp/sourceEventSeqs). The envelope'signorable?: truemarker (types.ts:422) can only enter the log via seed/restore or lower-level persistence writes.service.ts:238session.append('dsh-talk/speech', event)(its own docs state the event is meant to be ignorable so builds without the plugin still read the session).assertEventsSupported(session-persistence/src/coordinator.ts:1061) accepts only types in the staticKNOWN_SESSION_EVENT_TYPESset or events carryingignorable: trueβ so the log is refused on every later load/prepare, by the same harness that wrote it.Impact
dsh-talk/speechevents total (6 + 2).Suggested fixes
append(type, data, { ..., ignorable?: true })(or a dedicatedappendIgnorable) so plugin authors can fulfil the documented contract.Session.appendcould stampignorable: trueon types outside the core known set (they are log-only by definition from the harness's perspective), which also fixes already-written logs on the next read.Workaround applied
Data patch: added
"ignorable": trueto the 8 storeddsh-talk/speechenvelopes (frames re-encoded, rest byte-identical, full scan + support-check verified). Both sessions now load; the events remain in the log and the installed plugin's client renders them.All reactions