# NousResearch/hermes-agent · Anthropic OAuth token rotation in auxiliary/compression calls

## Open now

- Nothing open on GitHub.

These items concern a bug where auxiliary and compression calls retain a stale Anthropic OAuth token after a silent rotation, causing 401 errors, alongside fixes and tests to ensure the refreshed token is propagated correctly to those paths.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #133233. Verify it addresses your case.
- **Recommended:** read PR #133233 (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: `unresolved`. 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.67`: 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

- #133763: \[Bug\]: After an Anthropic OAuth rotation, auxiliary calls on \`auto\` keep the revoked token — every compression fails with 401 while the main loop works

## Prior & competing PRs

- **#133233: Anthropic OAuth sessions keep compression and auxiliary calls working after a silent token refresh, including compaction before the first request (#121756, salvage #121859, #121757, #130334)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/auxiliary_key_rotation.py`, `agent/client_lifecycle.py`, `agent/conversation_compression.py`, `agent/conversation_compression_codex.py`, `contributors/emails/[redacted:email]`, `contributors/emails/[redacted:email]`, `contributors/emails/[redacted:email]`, `tests/agent/test_anthropic_third_party_oauth_guard.py`
- **#133765: fix(agent): keep aux main_runtime on the rotated Anthropic OAuth token**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#133233`, `#121757`, `#130334`

## Fix status

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