{"repo":"NousResearch/hermes-agent","public_id":"75588","display_label":"Context compressor index clamping and bounds fixes","summary":"These issues and pull requests address out-of-range index errors in the context compressor, focusing on clamping tail-cut and summary-scan boundaries to prevent IndexError conditions. Related fixes also touch failure cooldown persistence and query/token handling within the compression logic.","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":75884,"merged_at":"2026-08-01T06:16:59+00:00"},"resolution":{"state":"resolved","by":"pr-75884"},"freshness":{"state":"verified","last_verified_at":"2026-08-01T06:16:59+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.5},"fix_edges":[{"issue_number":73298,"pr_number":75884,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-08-01T06:16:59+00:00"},{"issue_number":74136,"pr_number":75884,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-08-01T06:16:59+00:00"},{"issue_number":75588,"pr_number":75884,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-08-01T06:16:59+00:00"}],"members":[{"kind":"issue","number":75588,"title":"[Bug] Short tool-only suffix can make context compressor scan past messages","url":null,"state":"closed"},{"kind":"pr","number":75604,"title":"fix(agent): clamp tail-cut boundary and summary-scan indices to prevent IndexError","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#75884","number":75884},{"kind":"pr","value":"#75588","number":75588}],"category":"merged_via","implication":"superseded"},"merged":false},{"kind":"pr","number":75635,"title":"fix(context-compressor): clamp out-of-range tail-cut and summary-scan bounds (#75588)","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#75604","number":75604},{"kind":"pr","value":"#75588","number":75588}],"category":"duplicate_of","implication":"duplicate"},"merged":false},{"kind":"pr","number":75884,"title":"fix(compression): index clamps, persisted failure cooldown, user-query preservation, thinking-token estimates","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["agent/context_compressor.py","agent/model_metadata.py","contributors/emails/[redacted:email]","gateway/run.py","tests/agent/test_budget_reasoning_details_exclusion.py","tests/agent/test_compressor_tail_cut_oob_fix.py","tests/agent/test_compressor_zero_user_guard.py","tests/gateway/test_session_hygiene.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}