# NousResearch/hermes-agent · Anthropic OAuth token rotation bugs across profiles

## Open now

- 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.

## TL;DR

- 5 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 3 PR(s) closed without merging.
- A fix was merged to main in PR #100929. Verify it addresses your case.
- **Recommended:** read PR #100929 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-100929`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.40`: the share of member 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.

## Closed / duplicate issues

- #100339: Profile-cloned Anthropic OAuth credentials strand sibling profiles after first rotation (single-use refresh token), and agent init hard-fails instead of refreshing

## Prior & competing PRs

- **#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 · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - 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`
- **#100389: fix(auth): stop cloned Anthropic OAuth from stranding sibling profiles**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `37f3ba110a`, `#100929`
- **#100598: fix(auth): sync Anthropic single-use OAuth rotation across profiles and auto-refresh on init (#100339)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#100389`, `#100339`
- **#100703: fix(auth): refresh expired Anthropic pool tokens on init**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#100929`

## Fix status

- Merged to main in PR #100929 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-02`.
