CodeBurn’s (v0.9.19) shared Pi/OMP JSONL discovery gate requires the first physical line of a transcript to be a `{"type":"session"}` record. Oh My Pi can write a fixed-width title metadata slot before that header: ```json {"type":"title","v":1,"title":"…","updatedAt":"…","pad":"…"} {"type":"session","version":3,"id":"…","cwd":"…"} ``` As a result, valid OMP transcripts were rejected during discovery and omitted from: ```sh codeburn sessions --provider omp ``` ### Upstream context The earliest public upstream source found for this physical title-slot format is seemingly https://github.com/can1357/oh-my-pi/commit/0ce330ab7910c8fd0895fad1ceb9f06a902a74c9 - Authored: 2026-06-27 13:13 UTC - Committed: 2026-06-28 05:27 UTC - Introduced SESSION_TITLE_SLOT_ENTRY_TYPE = "title" and fixed-width first-line title metadata. ### Expected behaviour Discovery skips blank lines, malformed records, and non-session metadata, then accepts the transcript when it finds a type: "session" record. ### Acceptance criteria - OMP title-first JSONL transcripts are discovered. - Blank lines before the session record do not prevent discovery. - Message-only files with no session record remain excluded. - Pi and OMP retain identical shared discovery behaviour.
Activity
fix(providers): scan bounded leading lines for Pi/OMP session discovery
dcinzona commentedon Aug 10, 2026
Confirmed this issue on macOS with:
At the time of reproduction, all 99 OMP JSONL transcripts examined had:
type: "title"as the first recordtype: "session"as the second recordThe active OMP transcript was updating normally and contained usage-bearing
assistant records, but:
returned:
The installed 0.9.19 build still reads only the first physical line and rejects
the transcript unless that line is
type: "session".It appears #846 / commit a4627a1 fixes the exact problem, but the current npm
and Desktop releases remain at 0.9.19 and predate that fix.
Could you publish a release containing #846?