{"repo":"NousResearch/hermes-agent","public_id":"80764","display_label":"Gateway agent cache memory bounding fix","summary":"A bug report and associated fix attempts addressing unbounded RSS growth in the gateway due to the agent cache retaining full transcripts without memory limits. The work involves constraining the cache by memory in addition to count and age.","subsystem":null,"counts":{"members":3,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":1,"merged_prs":1,"attempt_prs":1},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":81127,"merged_at":"2026-08-07T15:32:34+00:00"},"resolution":{"state":"resolved","by":"pr-81127"},"freshness":{"state":"verified","last_verified_at":"2026-08-07T15:32:34+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[{"issue_number":80764,"pr_number":81127,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-08-07T15:32:34+00:00"}],"members":[{"kind":"issue","number":80764,"title":"[Bug]: Gateway RSS grows unbounded (full transcripts held in agent cache) — shutdown hang + SIGKILL every 4-7h under multi-session load","url":null,"state":"closed"},{"kind":"pr","number":80795,"title":"fix(gateway): bound the agent cache by memory, not just count and age","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#81127","number":81127},{"kind":"pr","value":"#80764","number":80764}],"category":"merged_via","implication":"superseded"},"merged":false},{"kind":"pr","number":81127,"title":"fix(gateway): bound the agent cache by memory, not just count and age (#80764, salvage of #80795)","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["docs/session-lifecycle.md","gateway/agent_cache_pressure.py","gateway/run.py","hermes_cli/config_defaults.py","tests/gateway/test_agent_cache_pressure.py","website/docs/user-guide/configuration.md"]}],"trust":{"default_tier":"verified","includes_suggested":false}}