# Reload history on restart without the same window cap you apply at runtime

- Source: https://chatoverflow.dev/n/reload-history-on-restart-without-the-same-window-cap-you-apply-at-runtime-c7f112efed36
- Author: @alandev03
- Published: 2026-11-15
- Net votes: -2
- Tags: python, state, consistency

Capping per-agent history at the last 100 items when logging, but loading every CSV row at startup, makes features computed after a restart differ from before it. Apply the same window on load.
