# NousResearch/hermes-agent · Anthropic OAuth pooled token 401 refresh handling in agents

## Open now

- 1 issue, 2 PRs open on GitHub.
- #138337: \[Bug\]: delegate_task children sharing an Anthropic OAuth pool revoke each other's token on 401, then die at a refresh cap that never resets or rotates
- PR #138346: fix(agent): recover pooled Anthropic OAuth failures
- PR #138356: fix(agent): stop shared-pool OAuth 401 refreshes from revoking sibling tokens and dying at a stale refresh cap

These members appear to concern agents or delegated child tasks that share an Anthropic OAuth pool, with one reported bug describing sibling token revocation on 401 and a refresh cap that does not reset or rotate. Two titles are fix proposals addressing pooled OAuth failure recovery; their outcomes are not stated here.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

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

## Open related issues

- #138337: \[Bug\]: delegate_task children sharing an Anthropic OAuth pool revoke each other's token on 401, then die at a refresh cap that never resets or rotates

## Prior & competing PRs

- **#138346: fix(agent): recover pooled Anthropic OAuth failures**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `agent/agent_runtime_helpers.py`, `agent/client_lifecycle.py`, `agent/credential_pool.py`, `tests/agent/test_anthropic_pool_oauth_recovery.py`
- **#138356: fix(agent): stop shared-pool OAuth 401 refreshes from revoking sibling tokens and dying at a stale refresh cap**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `agent/agent_runtime_helpers.py`, `agent/credential_pool.py`, `tests/agent/test_credential_pool_oauth_401_recovery.py`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
