# NousResearch/hermes-agent · Config YAML writer: long keys and read-error handling

## Open now

- 1 issue, 0 PRs open on GitHub.
- #120682: \[Bug\]: config writer folds long scalars at width 80 - a space-containing config KEY is emitted as invalid YAML and the backend refuses to start

The members concern config.yaml handling: one bug report and one fix address long, space-containing mapping keys being folded at width 80 and producing invalid YAML. A third item covers a transient read error affecting config.yaml contents. The first two share a theme; the third is related but distinct, and no outcome is stated here.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #120343. Verify it addresses your case.
- **Recommended:** read PR #120343 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## 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

- #120682: \[Bug\]: config writer folds long scalars at width 80 - a space-containing config KEY is emitted as invalid YAML and the backend refuses to start

## Prior & competing PRs

- **#120343: fix(config): a transient read error no longer wipes config.yaml (explicit nulls kept, no phantom agent section; salvage #105828, #119846)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `gateway/slash_commands.py`, `hermes_cli/auth.py`, `hermes_cli/config.py`, `hermes_cli/config_effective.py`, `hermes_cli/config_read_errors.py`, `hermes_cli/web_routers/config_env.py`, `hermes_cli/xai_retirement.py`, `tests/hermes_cli/test_config.py`, `tests/hermes_cli/test_config_save_integrity.py`, `tests/hermes_cli/test_resolve_provider_corrupt_config.py`, `tests/hermes_cli/test_xai_retirement.py`, `tests/test_utils_atomic_roundtrip_yaml_save.py`, `tui_gateway/server.py`, `utils.py`
- **#120685: fix(config): preserve long YAML mapping keys**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#120682`, `#120343`

## Fix status

- Merged to main in PR #120343 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-23`.
- Subsystem: `hermes_cli`
