Compaction
When the window fills, the older part of the transcript is replaced by a summary the model writes of itself. The session keeps going; the detail does not. Anything you need to survive that boundary belongs in a file, not in the scrollback.