NousResearch/hermes-agent

config.yaml corruption when deleting sole key under commented section

Cluster 164823 · hermes cli · Bug. Data as of

1 open item. Fix merged in #164880 on 6 Dec 2026. Check it covers your case.

The short answer

1open issue
0open PRs
3items grouped
Known?
Yes. 3 related items grouped here, 0 issues already closed.
Fix event
A fix was merged to main in PR #164880. Check it covers your case. No release data is tracked. Fix link checked: 6 Dec 2026.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.

All three members concern config.yaml becoming invalid or unloadable when the only key under a commented section is removed, including during a v56 to v57 migration involving delegation: (a stray {} is reported). Two are fix-oriented pull requests and one is a bug report; their outcomes are not stated in the titles.

Open issues1

  • Issue#164823[Bug]: v56 -> v57 config migration corrupts config.yaml (stray `{}` at column 1) when deleting sole key under commented `delegation:`

Open PRs0

No open pull requests.

Fixes on record

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

  • #164880 fix(config): an update or settings change no longer leaves config.yaml unloadable when it empties a commented section

    merged to main

    files: contributors/emails/[redacted:email], hermes_yaml.py, tests/hermes_cli/test_config_migration_57_delegation_iterations.py, tests/test_hermes_yaml.py, tests/utils/test_roundtrip_yaml_comment_properties.py, tests/utils/test_roundtrip_yaml_next_section_comments.py, tests/utils/test_utils_atomic_roundtrip_yaml_save.py, utils/files.py

1 PR closed without merging

From the close comments: done elsewhere 1

  • #164831 fix(config): keep YAML valid when deleting sole key under commented section · done elsewhere → 2d54ad8, #164880
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 1.00: 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.

For your agent

The same facts, typed.