From 401de3bf64eb2cb3a88aadb3914c62cbc2c19fb4 Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Tue, 20 Oct 2026 02:40:07 -0700 Subject: [PATCH] refactor(state): keep hermes_state_sessions.py under the file cap after the rebase Main grew the facade by 12 lines; the list-row docstring folds to one line. --- hermes_state_sessions.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hermes_state_sessions.py b/hermes_state_sessions.py index 7135191717..a072ea5eec 100644 --- a/hermes_state_sessions.py +++ b/hermes_state_sessions.py @@ -842,10 +842,7 @@ class SessionSessionsMixin: return self._session_row_dict(row) if row else None def get_session_list_row(self, session_id: str) -> Optional[dict[str, Any]]: - """The picker fields only, without ``get_session``'s prompt/tool JOIN and token flush. - - The live listing reads one row per listed session on the gateway's loop; a full hydration - there is the cost the sweep does not need (title/source/activity/is-it-closed are columns).""" + """Picker columns only: the live listing skips ``get_session``'s prompt/tool JOIN and flush.""" row = self._read_one( "SELECT id, source, title, started_at, ended_at, message_count, model, hidden, archived " "FROM sessions WHERE id = ?",