# NousResearch/hermes-agent · Config file path bugs and test isolation fixes

## Open now

- 1 issue, 2 PRs open on GitHub.
- #14714: save_config_value() writes first-run user changes into repo cli-config.yaml
- PR #14848: fix(cli): persist first-run config edits to user home
- PR #15436: fix(cli): always write user config to ~/.hermes/config.yaml, never to repo cli-config.yaml (#14714)

Multiple issues and fixes address config values being incorrectly written to the repo-root cli-config.yaml instead of the user home directory, plus related test pollution and Windows path-handling problems.

## TL;DR

- 7 member(s): 1 open issue(s), 1 closed issue(s), 2 open PR(s), 0 merged PR(s), 3 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.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.

## Open related issues

- #14714: save_config_value() writes first-run user changes into repo cli-config.yaml

## Closed / duplicate issues

- #57147: Test suite writes cli-config.yaml into the repo root (gitignored, silently breaks later config tests)

## Prior & competing PRs

- **#14848: fix(cli): persist first-run config edits to user home**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `cli.py`, `tests/cli/test_cli_save_config_value.py`
- **#15436: fix(cli): always write user config to ~/.hermes/config.yaml, never to repo cli-config.yaml (#14714)**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#14848`, `#14714`
  - files: `tests/cli/test_cli_save_config_value.py`
- **#57182: fix(tests): stop config.set model tests writing cli-config.yaml into the repo root**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#57147`
- **#57885: fix(tests): skip/adapt 6 environment-dependent tests on native Windows**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`
- **#61571: fix(agent): match Windows drive-letter paths in extract_image_refs**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#34374`

## Fix status

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