mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-02 03:31:39 +00:00
readSessionBranch filtered out every entry lacking a string or number timestamp. Sessions written before entry timestamps existed (version 1) have ids and parentIds synthesized by the legacy migration but no entry timestamp, so all entries were dropped and the exported bundle reported transcriptEventCount 0. The transcript event builder already defaults a missing timestamp via normalizeTimestamp, so the filter clause was both wrong and redundant. Drop it; entry identity plus the canonical-entry check is what the branch walk needs.