# NousResearch/hermes-agent · Profile auth add silently drops credentials bug

## Open now

- Nothing open on GitHub.

A bug where adding credentials to a profile-scoped auth store silently discards them when the root store has no matching rows. The members cover the problem report and fixes for this edge case.

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

- #125501: hermes -p <profile> auth add openai-codex reports success but silently discards the credential when the root store has no Codex rows

## 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`
  - 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`
- **#125512: fix(auth): persist profile \`auth add\` for single-use OAuth providers when root has no rows**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#125501`, `#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`

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