99ffea6d00
Sessions settings gain an "Auto-archive stale chats" toggle with a configurable idle threshold, persisted to sessions.* in config.yaml so the backend sweep owns the policy. Sidebar pins (localStorage) are mirrored to the backend pinned flag at boot and on every change — pre-existing pins migrate transparently — so the sweep can never hide a pinned chat.