Anthropic OAuth token rotation bugs across profiles

NousResearch/hermes-agent · cluster 100339

Data as of

Nothing open on GitHub. Fix merged in #100929. Check it covers your case.

The short answer

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

These issues and pull requests address problems with single-use Anthropic OAuth refresh tokens being cloned across profiles, causing sibling profiles to lose access after the first rotation, and agent initialization failing hard instead of refreshing expired tokens.

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.

  • #100929 Profiles never fork single-use OAuth grants: clone-all strips them, borrowed rotations write through to root (#100339, supersedes #100389/#100703)

    merged to main

    files: agent/anthropic_credentials.py, agent/credential_pool.py, hermes_cli/auth.py, hermes_cli/auth_commands.py, hermes_cli/profiles.py, tests/agent/test_credential_pool_profile_oauth_fork.py, tui_gateway/methods_profiles.py, website/docs/user-guide/profiles.md

3 PRs closed without merging

From the close comments: done elsewhere 1 · duplicate 1 · other 1

  • #100389 fix(auth): stop cloned Anthropic OAuth from stranding sibling profiles · done elsewhere → 37f3ba1, #100929
  • #100598 fix(auth): sync Anthropic single-use OAuth rotation across profiles and auto-refresh on init (#100339) · duplicate → #100389, #100339
  • #100703 fix(auth): refresh expired Anthropic pool tokens on init · other → #100929
Closed issues · 1
  • Closed#100339Profile-cloned Anthropic OAuth credentials strand sibling profiles after first rotation (single-use refresh token), and agent init hard-fails instead of refreshing
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.40: 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
#100929
Closed issues
1
Attempts
3 PRs closed without merging
Fix link checked
2 Sep 2026

For your agent

The same facts, typed.