# NousResearch/hermes-agent · Profile-scoped OAuth credentials silently not persisted

## Open now

- Nothing open on GitHub.

These issues and fixes concern a bug where OAuth credentials added to a profile scope are reported as saved but are actually discarded, particularly when the root credential store is empty. The work addresses the underlying persistence logic to ensure such credentials are properly stored.

## TL;DR

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

- #103694: Profile-scoped OAuth add for single-use providers prints Added but persists nothing

## Prior & competing PRs

- **#134574: fix(auth): a profile's own auth add login is saved and kept, never forking root's grant (salvage #126551)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/credential_pool.py`, `agent/credential_pool_admin.py`, `hermes_cli/auth_commands.py`, `hermes_cli/auth_oauth_grants.py`, `tests/agent/test_credential_pool_profile_oauth_fork.py`, `website/docs/user-guide/profiles.md`, `website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/profiles.md`
- **#101827: fix(auth): persist first profile OAuth row with empty root**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#103694`, `#134574`, `#126551`, `#134574`
- **#103707: fix(auth): stop fresh profile OAuth grants from being discarded**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#134574`, `#101827`, `#134574`
- **#103712: fix(auth): persist profile single-use OAuth credentials when root store is empty (#103694)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#134574`, `#126551`, `#134574`, `#101827`
- **#126551: fix(auth): profile-scoped auth add with an empty root saves the credential instead of dropping it (salvage #103712 + #101827)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#134574`, `#101827`, `#134574`

## Fix status

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