{"repo":"NousResearch/hermes-agent","public_id":"45966","display_label":"Gateway agent cache stale after cross-process session writes","summary":"The members appear to share one theme: the gateway's cached agent can hold stale context when another process appends to the same session. One issue describes the problem, and the pull requests propose ways to invalidate or rebuild the cached agent, with one also mentioning preserving prompt caching.","subsystem":null,"counts":{"members":4,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":1,"merged_prs":1,"attempt_prs":2},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":46237,"merged_at":"2026-06-14T17:35:18+00:00"},"resolution":{"state":"resolved","by":"pr-46237"},"freshness":{"state":"verified","last_verified_at":"2026-06-14T17:35:18+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.5},"fix_edges":[{"issue_number":45966,"pr_number":46237,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-06-14T17:35:18+00:00"}],"members":[{"kind":"issue","number":45966,"title":"Gateway replies with stale context when another process appends to the same session (cross-process agent-cache split-brain)","url":null,"state":"closed"},{"kind":"pr","number":45949,"title":"fix(gateway): rebuild cached agent when a session grows in another process","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#45966","number":45966},{"kind":"pr","value":"#46237","number":46237}],"category":"superseded_by_pr","implication":"superseded"},"merged":false},{"kind":"pr","number":46095,"title":"fix(gateway): invalidate agent cache on cross-process session writes (#45966)","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#45966","number":45966},{"kind":"pr","value":"#46237","number":46237}],"category":"merged_via","implication":"superseded"},"merged":false},{"kind":"pr","number":46237,"title":"fix(gateway): cross-process agent-cache coherence (#45966) + preserve prompt caching","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["gateway/run.py","tests/gateway/test_agent_cache.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}