# NousResearch/hermes-agent · Preserving config.yaml comments and section banners during Hermes config writes

## Open now

- 1 issue, 2 PRs open on GitHub.
- #126465: \[Bug\]: hermes config unset and config migrations delete the comment block above the next config.yaml section
- PR #126466: fix(config): removing a key no longer deletes the comments above the next section
- PR #144942: config.yaml keeps its section banners on every Hermes write; plain-word list settings and dotted root keys are flagged; plugin settings keep their declared type (#126465, salvage #126466)

The members concern Hermes config handling that removed comment blocks above the next config.yaml section when keys were unset or migrated, along with a fix PR and a related change. The third member also mentions flagging plain-word list settings and dotted root keys and keeping plugin settings' declared types, but the available titles give limited detail on those.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 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_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: 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

- #126465: \[Bug\]: hermes config unset and config migrations delete the comment block above the next config.yaml section

## Prior & competing PRs

- **#126466: fix(config): removing a key no longer deletes the comments above the next section**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `7c6f5d268a`, `eac1b0baef`
  - files: `tests/hermes_cli/test_config_yaml_comment_preservation.py`, `tests/utils/test_utils_atomic_roundtrip_yaml_save.py`, `utils/files.py`
- **#144942: config.yaml keeps its section banners on every Hermes write; plain-word list settings and dotted root keys are flagged; plugin settings keep their declared type (#126465, salvage #126466)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `9fb1305998f858485fe81746f2c984122739b8d7`, `#121445`
  - files: `hermes_cli/config.py`, `hermes_cli/config_check_diagnostics.py`, `hermes_cli/config_container_checks.py`, `hermes_cli/plugins_settings.py`, `pm/plugin_eviction.py`, `pm/publication.py`, `tests/hermes_cli/test_config_set_plugin_setting_types.py`, `tests/hermes_cli/test_config_validation.py`, `tests/hermes_cli/test_config_yaml_comment_preservation.py`, `tests/test_utils_atomic_roundtrip_yaml_save.py`, `tests/test_utils_roundtrip_yaml_comment_placement.py`, `utils.py`, `website/docs/developer-guide/plugins/index.md`, `website/docs/reference/cli-commands.md`, `website/docs/user-guide/configuration.md`

## Fix status

- No merged fix on record.
- Subsystem: `hermes_cli`
- Kind: `bug` (from the open issues' GitHub type labels).
