# NousResearch/hermes-agent · Duplicate default profile listing bug and fixes

## Open now

- Nothing open on GitHub.

Multiple reports and fix attempts address a bug where the default profile appears duplicated in profile listings when a 'profiles/default' directory exists. Several parallel fix implementations target the same root cause: the named profile scan should skip the 'default' directory.

## TL;DR

- 7 member(s): 0 open issue(s), 2 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 #41651. Verify it addresses your case.
- **Recommended:** read PR #41651 (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_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.26`: 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

- #30326: Bug: hermes profile list shows duplicate default profile
- #39346: Cron dashboard duplicates default-profile jobs when ~/.hermes/profiles/default exists

## Prior & competing PRs

- **#39348: fix(profiles): skip 'default' directory in named profile scan to prevent duplicates**. closed without merge · fix tier `suggested`
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `f1d3afb15116ecd987cea06877d88b4fc329cd4c`, `#39346`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#41651: fix: batch salvage of 10 low-risk fixes (@islam666)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/context_compressor.py`, `agent/image_routing.py`, `agent/model_metadata.py`, `gateway/platforms/weixin.py`, `hermes_cli/gateway.py`, `hermes_cli/profile_distribution.py`, `hermes_cli/profiles.py`, `hermes_cli/web_server.py`, `plugins/google_meet/meet_bot.py`, `plugins/model-providers/xiaomi/__init__.py`, `providers/base.py`, `run_agent.py`, `scripts/release.py`, `tests/agent/test_custom_providers_vision.py`, `tests/agent/test_model_metadata.py`, `tests/gateway/test_weixin_typing.py`, `tests/hermes_cli/test_profile_distribution.py`, `tests/hermes_cli/test_systemd_optional_directives.py`, `tests/hermes_cli/test_web_server.py`, `tests/run_agent/test_infinite_compaction_loop.py` (+2 more)
- **#30346: fix: avoid duplicate default profile listing**. closed without merge
  - maintainer direction: category `silent_close`; implication `active`
- **#31846: fix(profile): ignore stray profiles/default in profile list**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `f1d3afb15116ecd987cea06877d88b4fc329cd4c`
- **#39608: fix(profiles): skip 'default' in named profiles scan to prevent duplicates**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#41651`

## Fix status

- Merged to main in PR #41651 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-06-08`.
- Subsystem: `hermes_cli`
