co-mono/packages
Mario Zechner 2f64df1e52 fix(coding-agent): prevent duplicate session headers when forking from pre-assistant entry
createBranchedSession() wrote the file and set flushed=true even when the
branched path had no assistant message. The next _persist() call saw no
assistant, reset flushed=false, and the subsequent flush appended all
in-memory entries to the already-populated file, duplicating the header
and entries.

Fix: defer file creation when the branched path has no assistant message,
matching the newSession() contract. _persist() creates the file on the
first assistant response.

closes #1672
2026-02-27 22:18:26 +01:00
..
agent Add [Unreleased] section for next cycle 2026-02-26 01:10:55 +01:00
ai fix(ai): handle redacted_thinking blocks, skip interleaved beta for adaptive models, drop temperature with thinking 2026-02-27 21:53:25 +01:00
coding-agent fix(coding-agent): prevent duplicate session headers when forking from pre-assistant entry 2026-02-27 22:18:26 +01:00
mom Add [Unreleased] section for next cycle 2026-02-26 01:10:55 +01:00
pods Release v0.55.1 2026-02-26 01:10:09 +01:00
tui Add [Unreleased] section for next cycle 2026-02-26 01:10:55 +01:00
web-ui Add [Unreleased] section for next cycle 2026-02-26 01:10:55 +01:00