NousResearch/hermes-agent

Anthropic OAuth token rotation and refresh handling

Cluster 92606 · agent. Data as of

1 open item. Fix merged in #98245 on 30 Aug 2026. Check it covers your case.

The short answer

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

These items concern a bug where stale credential files overwrite rotated tokens and shared refresh logic incorrectly consumes single-use tokens, leading to 401 errors and empty pools. The work addresses keeping OAuth sessions valid through token rotation.

Open issues1

  • Issue#92606Anthropic OAuth (hermes_pkce/dashboard_pkce): stale credential file overwrites rotated token and two pool rows share one single-use refresh token -> 401 revoked -> empty pool

Open PRs0

No open pull requests.

Fixes on record

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

  • #98245 Anthropic OAuth: shared-credential refreshes stop burning single-use tokens; dashboard PKCE removed (salvage #87891)

    merged to main

    files: agent/anthropic_adapter.py, agent/anthropic_credentials.py, agent/anthropic_endpoints.py, agent/anthropic_message_convert.py, agent/auxiliary_client.py, agent/credential_persistence.py, agent/credential_pool.py, hermes_cli/auth.py, hermes_cli/web_server.py, tests/agent/test_anthropic_adapter.py, tests/agent/test_anthropic_borrowed_row_authority.py, tests/agent/test_anthropic_credential_persist_failure.py, tests/agent/test_anthropic_keychain.py, tests/agent/test_anthropic_oauth_stress.py, tests/agent/test_anthropic_spent_rotation_verdict.py, tests/agent/test_anthropic_token_scope_isolation.py, tests/agent/test_auxiliary_client.py, tests/agent/test_credential_pool.py, tests/agent/test_credential_pool_anthropic_refresh_race.py, tests/agent/test_credential_pool_oat_authtype.py (+9 more)

1 PR closed without merging

From the close comments: superseded by another PR 1

  • #92619 fix(auth): keep Anthropic OAuth sessions valid after token rotation · superseded by another PR → b4403a9, #98245, #87891
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

Subsystem
agent
Merged PRs
#98245
Closed issues
0
Attempts
1 PR closed without merging
Fix link checked
30 Aug 2026

For your agent

The same facts, typed.