Config precedence and stale env override bugs
Cluster 25402 · environments · Bug. Data as of
3 open items. Fix merged in #77180 on 3 Aug 2026. Check it covers your case.
The short answer
- Known?
- Yes. 8 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #77180. Check it covers your case. No release data is tracked. Fix link checked: 3 Aug 2026.
- Tracker
- The maintainers' tracker marks this
partially resolved, deciding PR #77180. That is separate from the fix event.
Next step: read #77180, then check whether your report is the one still open.
Read #77180Pick up a Lab taskThese issues and fixes address conflicts between config.yaml settings and .env values, where stale environment variables incorrectly override intended configuration. A related cluster covers Docker-specific JSON being parsed regardless of the active terminal backend, causing crashes on non-Docker setups.
Open issues1
- Issue#25402terminal.backend=local can still use Docker when stale Docker config keys remain
Open PRs2
Fixes on record
-
#77180 fix(env): config.yaml terminal.* keys win over stale .env on every reload (#29186)
files:
hermes_cli/env_loader.py,tests/gateway/test_runtime_env_reload_config_authority.py,tests/hermes_cli/test_dump_terminal_backend.py,tests/hermes_cli/test_env_loader.py
3 PRs closed without merging
From the close comments: superseded by another PR 1 · won't fix / by design 1 · other 1
-
#25881 fix(terminal): clear container config when backend is local · won't fix / by design →
#25402,#25412,#23321 -
#26546 fix(gateway): ignore stale docker config for local terminal · other →
2903615,#25402 -
#29372 fix: always export TERMINAL_ENV from config.yaml to prevent stale .env override · superseded by another PR →
#29239
Closed issues · 1
- Closed#29186TERMINAL_ENV in ~/.hermes/.env overrides terminal.backend in config.yaml
How this cluster was grouped
-
Link evidence (
partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text. - Members outside that structural core may belong to a different underlying problem.
-
Pairwise link density
0.23: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.