UTF-8 BOM handling when reading .env and user files
Cluster 65123 · hermes cli. Data as of
Nothing open on GitHub. Fix merged in #81967 on 8 Aug 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #81967. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- Nothing open on GitHub.
The members concern a UTF-8 byte order mark in .env files causing the first key to be dropped, with proposed changes to read files with a BOM-tolerant encoding (utf-8-sig). One member also mentions broader BOM-tolerant reads for user files and encoding-related cleanups, but the details are not given in the titles.
Open issues0
Open PRs0
Fixes on record
-
#81967 fix: BOM-tolerant user-file reads + encoding-footgun closures (PLW1514 was already gated)
files:
agent/auxiliary_client.py,agent/credential_sources.py,agent/shell_hooks.py,contributors/emails/[redacted:email],gateway/slash_commands.py,hermes_cli/auth.py,hermes_cli/env_loader.py,hermes_cli/main.py,hermes_cli/send_cmd.py,scripts/check-windows-footguns.py,tests/hermes_cli/test_auth_commands.py,tests/hermes_cli/test_auth_store_windows_encoding.py,tests/hermes_cli/test_env_loader.py,tests/hermes_cli/test_send_cmd.py,tests/tools/test_code_execution.py,tests/tools/test_memory_tool.py,tools/code_execution_tool.py,tools/managed_tool_gateway.py,tools/memory_tool.py,tools/skills_tool.py(+1 more)
1 PR closed without merging
From the close comments: merged via another change 1
-
#65124 fix(cli): read .env as utf-8-sig so a BOM doesn't drop the first key · merged via another change →
#81967
Closed issues · 1
- Closed#65123A UTF-8 BOM in .env silently drops the first key
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.00means 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 LabAt a glance
- Subsystem
- hermes cli
- Merged PRs
- #81967
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 8 Aug 2026