A project that lives for months would otherwise grow the SQLite file without limit, even though the model only ever reads the most recent messages. Pruning the oldest rows on every write keeps a project to a fixed budget without touching what the context is built from.