Skip to content

OMP title-slot metadata prevents session discovery #845

Closed

Description

@jbspeakr

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:

  {"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:

  codeburn sessions --provider omp

Upstream context

The earliest public upstream source found for this physical title-slot format is seemingly can1357/oh-my-pi@0ce330a

  • 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

  1. added a commit that references this issue on Aug 3, 2026
    a4627a1
  2. dcinzona commented on Aug 10, 2026

    @dcinzona

    Confirmed this issue on macOS with:

    • CodeBurn CLI/Desktop: 0.9.19
    • Oh My Pi: 17.2.12

    At the time of reproduction, all 99 OMP JSONL transcripts examined had:

    1. type: "title" as the first record
    2. type: "session" as the second record

    The active OMP transcript was updating normally and contained usage-bearing
    assistant records, but:

    codeburn sessions --period today --provider omp --format json

    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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions