NousResearch/hermes-agent

Preserve YAML formatting and comments on config writes

Cluster 107511. 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
3items grouped
Known?
Yes. 3 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 items address a shared problem: writing to config files can silently reformat list indentation or strip comments unrelated to the changed value. The work involves a comment-preserving writer and CI guards to prevent regressions.

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

1 PR closed without merging

From the close comments: done elsewhere 1

  • #107537 fix(config): preserve unrelated YAML list indent on config set · done elsewhere → 43504da, #118918, #92554, #63039, #50698
Closed issues · 1
  • Closed#107511hermes config set can silently reformat/reindent unrelated YAML list sections in the same file
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.67: 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
1 PR closed without merging
Fix link checked
22 Sep 2026

For your agent

The same facts, typed.