NousResearch/hermes-agent

Preserve user comments in config.yaml writes

Cluster 92554. Data as of

Nothing open on GitHub. Fix merged in #118918 on 22 Sep 2026. Check it covers your case.

The short answer

0open issues
0open PRs
4items grouped
Known?
Yes. 4 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #118918. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #118918. That is separate from the fix event.
Still open
Nothing open on GitHub.

These issues and PRs address a bug where writing to config.yaml—via commands like config set and plugins enable/disable—strips or replaces user-authored comments. Work involves a comment-preserving writer and related fixes across multiple CLI operations.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #118918 config.yaml comments survive every writer: one comment-preserving writer + CI guard (#92554, #63039, #50698, #107511)

    merged to main

    files: .github/workflows/lint.yml, hermes_cli/AGENTS.md, hermes_cli/auth.py, hermes_cli/backup.py, hermes_cli/config.py, hermes_cli/credential_lifecycle.py, hermes_cli/profile_channels.py, hermes_cli/profiles.py, plugins/platforms/telegram/adapter.py, scripts/check_config_yaml_writers.py, tests/gateway/test_dm_topics.py, tests/hermes_cli/test_config.py, tests/hermes_cli/test_config_yaml_comment_preservation.py, tests/hermes_cli/test_model_provider_persistence.py, tui_gateway/server.py, utils.py

2 PRs closed without merging

From the close comments: done elsewhere 2

  • #92652 fix(config): preserve config.yaml comments in plugins enable/disable · done elsewhere → 43504da, #118918, #92554, #63039, #50698
  • #105271 fix(cli): preserve comments in whole-document config.yaml writes · done elsewhere → 43504da, #118918, #92554, #63039, #50698
Closed issues · 1
  • Closed#92554Writing config.yaml destroys all user comments (config set strips them; plugins enable replaces them with default boilerplate)
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.50: the share of item 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.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Merged PRs
#118918
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
22 Sep 2026

For your agent

The same facts, typed.