{"repo":"NousResearch/hermes-agent","public_id":"65123","display_label":"UTF-8 BOM handling when reading .env and user files","summary":"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.","subsystem":"hermes_cli","counts":{"members":3,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":1,"merged_prs":1,"attempt_prs":1},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":81967,"merged_at":"2026-08-08T19:32:23+00:00"},"resolution":{"state":"unresolved","by":null},"freshness":{"state":"verified","last_verified_at":"2026-08-08T19:32:23+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[{"issue_number":65123,"pr_number":81967,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false,"pr_merged_at":"2026-08-08T19:32:23+00:00"}],"members":[{"kind":"issue","number":65123,"title":"A UTF-8 BOM in .env silently drops the first key","url":null,"state":"closed"},{"kind":"pr","number":65124,"title":"fix(cli): read .env as utf-8-sig so a BOM doesn't drop the first key","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#81967","number":81967}],"category":"merged_via","implication":"superseded"},"merged":false},{"kind":"pr","number":81967,"title":"fix: BOM-tolerant user-file reads + encoding-footgun closures (PLW1514 was already gated)","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["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","tools/xai_http.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}