witcheer's Wingtips #66: sessions.auto_prune

Republished in his own words, with credit.

Back to wingtips

#66 · sessions.auto_prune

· Maintenance & updates · CLI / Desktop / Gateway

Hermes Wingtips #66: sessions.auto_prune

every conversation you have with Hermes Agent is kept, so you can resume it or search it later. over time, a busy gateway or cron setup collects a lot of ended sessions that nobody will open again.

so what happens to them?

Hermes now tidies up for you: sessions that have ended and sat untouched for a long while are removed when Hermes starts, and the database gives the space back when there is enough to reclaim. anything open, pinned or mid-conversation stays put, and your recent history stays searchable.

if you would rather keep every session forever, it is one command:

hermes config set sessions.auto_prune false

and if you like the cleanup but want a wider window, sessions.retention_days.

All tips are written by witcheer and collected here with credit. Card images stay on his X posts.

witcheer says each tip ran on a real Hermes box before it shipped. Hermes changes fast, so check your version and the linked doc.