# NousResearch/hermes-agent · Codex credential pool rotation on 400 errors

## Open now

- Nothing open on GitHub.

These items address a bug where the Codex credential pool fails to rotate to the next account when a ChatGPT account receives an HTTP 400 model entitlement rejection. The group includes the bug report and related fix attempts.

## 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 #115760. Verify it addresses your case.
- **Recommended:** read PR #115760 (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-115760`. 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

- #71970: Codex credential pool does not rotate on account-specific model entitlement HTTP 400

## Prior & competing PRs

- **#115760: fix(agent): Codex pool rotates to the next account on a ChatGPT-account model entitlement 400 (#71970, salvage #71973)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/agent_runtime_helpers.py`, `agent/credential_pool.py`, `agent/credential_pool_model_cooldowns.py`, `agent/error_classifier.py`, `agent/fallback_cooldown.py`, `contributors/emails/[redacted:email]`, `tests/agent/test_codex_model_entitlement_rotation.py`, `tests/agent/test_entitlement_fail_closed.py`, `tests/agent/test_error_classifier.py`, `website/docs/user-guide/features/credential-pools.md`
- **#71973: fix(agent): rotate Codex credentials on model entitlement rejection**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `f07afac38bc8`, `#115760`, `#71970`, `#71973`

## Fix status

- Merged to main in PR #115760 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-19`.
- Subsystem: `agent`
