mirror of
https://github.com/bitbaum/openclaw.git
synced 2026-12-04 18:08:45 +01:00
* fix(compaction): scope the transcript byte fuse to the latest compaction window readVisibleTranscriptStats only closed its window at a reset boundary, so once a session compacted, maxActiveTranscriptBytes measured the whole active path and every following turn re-compacted. The preflight fuse now measures the window the model actually sees (since the latest compaction or reset, plus its kept tail); history readers keep their reset-only scope. * test(compaction): cover retained transcript accounting ## Worked on by - @VACInc Co-authored-by: VACInc <3279061+VACInc@users.noreply.github.com> --------- Co-authored-by: VACInc <3279061+VACInc@users.noreply.github.com> Co-authored-by: roboclaw-bot <309084314+roboclaw-bot@users.noreply.github.com>