# NousResearch/hermes-agent · Profile alias scan reads large binaries, causing slowness

## Open now

- Nothing open on GitHub.

Multiple bug reports and fixes addressing a performance problem where the profile alias lookup reads large or binary files in directories like ~/.local/bin, blocking profile listing for many seconds. Proposed solutions include skipping large or extensionless files and caching or offloading the scan.

## TL;DR

- 5 member(s): 0 open issue(s), 3 closed issue(s), 0 open PR(s), 0 merged PR(s), 2 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## 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.41`: 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

- #44032: \[Bug\]: profile alias lookup scans large extensionless binaries in ~/.local/bin
- #45752: fix(profiles): find_alias_for_profile reads every file in ~/.local/bin/ including binaries, blocks list_profiles() for 15+ seconds
- #49663: \[Bug\]: Desktop remote mode times out because /api/profiles scans huge ~/.local/bin binaries during profile alias lookup

## Prior & competing PRs

- **#44060: fix(profiles): skip large extensionless files in alias lookup**. closed without merge · fix tier `suggested`
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `d5eee133eb`, `f64e4f4f57`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#45754: fix(profiles): skip large files in find_alias_for_profile**. closed without merge · fix tier `suggested`
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `d5eee133ebbe0a86d5750af4b60d65fb05273331`, `#44060`, `#42427`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._

## Fix status

- No merged fix on record.
- Subsystem: `hermes_cli`
