Bound the terminal spool and the history store !3

merged merged by cmc on 2026-09-04 04:50 UTC · krz/ambient-companions:fix/spool-history-bounds into main