NousResearch/hermes-agent

OAuth refresh token rotation race condition fix

Cluster 120815. Data as of

Nothing open on GitHub. Fix merged in #121257 on 24 Sep 2026. Check it covers your case.

The short answer

0open issues
0open PRs
4items grouped
Known?
Yes. 4 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #121257. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #121257. That is separate from the fix event.
Still open
Nothing open on GitHub.

These items address a bug where a stale credential pool could overwrite a newer rotated refresh token with a spent one, causing lost logins. The work involves binding credential verdicts to token generation to prevent stale processes from undoing a valid token rotation.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #121257 Stale processes can no longer undo a credential-pool token rotation (#120815, salvage #120943)

    merged to main

    files: agent/credential_pool.py, agent/credential_pool_admin.py, hermes_cli/auth.py, tests/agent/test_credential_pool_anthropic_refresh_race.py, tests/agent/test_credential_pool_profile_oauth_fork.py, tests/agent/test_credential_pool_terminal_refresh_visibility.py, website/docs/user-guide/features/credential-pools.md

2 PRs closed without merging

From the close comments: merged via another change 2

  • #120816 fix(auth): a stale credential pool never writes a spent refresh token over a newer rotation · merged via another change → f847ef8, 214c01f, f24a1d7, #120815, #121257
  • #120943 fix(auth): bind credential verdicts to token generation · merged via another change → 95ef81c, 214c01f, f24a1d7, #121257
Closed issues · 1
  • Closed#120815[Bug]: a stale credential pool writes a spent OAuth refresh token over a newer rotation and the login is lost
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Merged PRs
#121257
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
24 Sep 2026

For your agent

The same facts, typed.