# NousResearch/hermes-agent · Honcho auth config file concurrency and OAuth cleanup

## Open now

- Nothing open on GitHub.

These items concern bugs and fixes around honcho.json handling during API-key setup and OAuth-to-API-key transitions, including stale OAuth state not being cleared, concurrent writer safety, and refresh-token rotation edge cases.

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

- #97990: hermes honcho setup apikey mode doesn't clear stale OAuth block, auth silently stays broken

## Prior & competing PRs

- **#109326: Honcho honcho.json survives concurrent writers and shared refresh-token rotation (salvage #97364)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `contributors/emails/123063793+FestoneX@users.noreply.github.com`, `hermes_cli/profile_cmd.py`, `hermes_cli/web_routers/memory_providers.py`, `plugins/memory/honcho/__init__.py`, `plugins/memory/honcho/cli.py`, `plugins/memory/honcho/oauth.py`, `plugins/memory/honcho/session_auth.py`, `tests/hermes_cli/test_web_memory_providers_honcho_write.py`, `tests/honcho_plugin/test_auth_recovery.py`, `tests/honcho_plugin/test_cli.py`, `tests/honcho_plugin/test_oauth.py`, `tests/test_honcho_client_config.py`
- **#97364: fix(honcho): oauth persistence never rewrites honcho.json from an empty read; adopt a sibling's rotation after a 401**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`
- **#97999: fix(honcho): switching setup to API-key auth retires the OAuth grant**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `135221e216`, `#109326`, `#97364`, `#97990`

## Fix status

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