# NousResearch/hermes-agent · Repeated config/credential disk reads causing slowness

## Open now

- Nothing open on GitHub.

Multiple efforts to cache or memoize config and credential loading functions that are called dozens of times during model picker discovery, causing significant latency. The work spans CLI, credential pool, and config layers.

## TL;DR

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

- #31556: \[Performance\] /model picker takes ~17s due to load_config() called 69 times
- #59055: Centralize Config Propagation and Cache Disk-Read Operations

## Prior & competing PRs

- **#74294: fix(cron): scrub ALL GitHub auth-header curl blocks — multi-skill cron jobs no longer false-block (salvage #31671)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `tests/tools/test_cronjob_tools.py`, `tools/cronjob_tools.py`
- **#31587: fix(cli): cache load_config() during /model picker discovery**. closed without merge
  - maintainer direction: category `stale_abandoned`; implication `active`
- **#31671: perf(credential-pool): cache _load_config_safe() result to avoid 69× deepcopy**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `9b8b054c2d`, `#74294`
- **#85850: perf(model_switch): memoise config and credential-pool loads in list_authenticated_providers**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`

## Fix status

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