The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
refactor(kanban): drop redundant int() in gc_events cutoff
kshitijk4poor1be926dbcd0e
diff --git a/hermes_cli/kanban_db.py b/hermes_cli/kanban_db.pyindex e646fd812e5..09e250b307c 100644--- a/hermes_cli/kanban_db.py+++ b/hermes_cli/kanban_db.py@@ -4285,7 +4285,7 @@ def gc_events(conn: sqlite3.Connection, *, older_than_seconds: int = 30 * 24 * 3older_than_seconds = int(older_than_seconds)if older_than_seconds < 0:raise ValueError(_NEGATIVE_RETENTION_MSG.format(older_than_seconds))- cutoff = int(time.time()) - int(older_than_seconds)+ cutoff = int(time.time()) - older_than_secondswith write_txn(conn):cur = conn.execute("DELETE FROM task_events WHERE created_at < ? AND kind != 'decomposed' AND task_id IN "