{"repo":"NousResearch/hermes-agent","public_id":"26080","display_label":"Capping auth refresh loops to enable fallback","summary":"These issues and PRs address a scenario where repeated credential refresh attempts on persistent 401/403 errors loop indefinitely, preventing fallback providers from activating. The work involves adding a cap on consecutive refresh attempts for the same credential entry so the fallback path can be reached.","subsystem":"agent","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":53919,"merged_at":"2026-06-28T02:20:07+00:00"},"resolution":{"state":"resolved","by":"pr-53919"},"freshness":{"state":"verified","last_verified_at":"2026-06-28T02:20:07+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.5},"fix_edges":[{"issue_number":26080,"pr_number":53919,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-06-28T02:20:07+00:00"}],"members":[{"kind":"issue","number":26080,"title":"Credential pool refresh loop prevents fallback activation on persistent 401s","url":null,"state":"closed"},{"kind":"pr","number":26092,"title":"fix(agent): stop auth refresh loops from blocking fallback","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#53919","number":53919}],"category":"merged_via","implication":"superseded"},"merged":false},{"kind":"pr","number":26093,"title":"fix(auth): cap consecutive credential refresh attempts to prevent infinite 401 loop","url":null,"state":"closed","close_reason":{"category":"uncategorized","implication":"needs_llm"},"merged":false,"is_fix_pr":true,"fix_tier":"suggested","fix_detail_withheld":true},{"kind":"pr","number":53919,"title":"fix(agent): cap same-entry credential refreshes so fallback can activate (#26080)","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["agent/agent_runtime_helpers.py","agent/conversation_loop.py","tests/run_agent/test_run_agent.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}