# NousResearch/hermes-agent · Codex token refresh not persisted to global auth store

## Open now

- Nothing open on GitHub.

A bug where profile-scoped Codex token refreshes fail to write updated tokens back to the global authentication store, causing rotation family revocation. Multiple fixes and a salvage attempt address the write-through and reuse behavior of the root grant.

## TL;DR

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

- #87503: \[Bug\]\[auth\] _save_codex_tokens() never writes back to the global auth store, so a profile-scoped refresh revokes the rotation family

## Prior & competing PRs

- **#110024: fix(auth): a Codex refresh under a profile rotates the root grant it borrowed (#87503, salvage #87510)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/auth_codex.py`, `tests/hermes_cli/test_codex_token_writethrough.py`
- **#87510: fix(auth): write profile-refreshed Codex tokens through to the global store**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `66ddd5f83c`, `#110024`, `#87503`
- **#95984: fix(auth): codex singleton root write-through + reuse-rescue (#87503)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `66ddd5f83c`, `#110024`, `#87510`, `#87503`

## Fix status

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