{"repo":"NousResearch/hermes-agent","public_id":"46099","display_label":"Windows Unicode encoding errors in MCP stdio transport","summary":"A bug where MCP stdio transport uses strict Unicode error handling causes UnicodeDecodeError on Windows, with fixes applying a more permissive encoding error handler across MCP and related file I/O paths.","subsystem":"mcp","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":71014,"merged_at":"2026-07-24T22:47:12+00:00"},"resolution":{"state":"resolved","by":"pr-71014"},"freshness":{"state":"verified","last_verified_at":"2026-07-24T22:47:12+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[{"issue_number":37423,"pr_number":71014,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false,"pr_merged_at":"2026-07-24T22:47:12+00:00"},{"issue_number":39029,"pr_number":71014,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false,"pr_merged_at":"2026-07-24T22:47:12+00:00"},{"issue_number":46099,"pr_number":71014,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-07-24T22:47:12+00:00"},{"issue_number":60760,"pr_number":71014,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false,"pr_merged_at":"2026-07-24T22:47:12+00:00"}],"members":[{"kind":"issue","number":46099,"title":"[Bug]: MCP client TextReceiveStream uses errors='strict' — fails on Windows with UnicodeDecodeError","url":null,"state":"closed"},{"kind":"pr","number":46104,"title":"fix(mcp): use encoding_error_handler='replace' for stdio transport","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#71014","number":71014}],"category":"merged_via","implication":"superseded"},"merged":false},{"kind":"pr","number":71014,"title":"fix(windows): residual encoding gaps — MCP stdio, gateway update file-I/O, STT/TTS, desktop spawn, bootstrap ver-stub","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["apps/desktop/electron/backend-env.test.ts","apps/desktop/electron/backend-env.ts","gateway/dead_targets.py","gateway/delivery.py","gateway/platforms/qqbot/adapter.py","gateway/run.py","gateway/slash_commands.py","gateway/status.py","hermes_bootstrap.py","plugins/platforms/discord/adapter.py","plugins/platforms/feishu/adapter.py","plugins/platforms/google_chat/adapter.py","plugins/platforms/google_chat/oauth.py","plugins/platforms/telegram/adapter.py","plugins/platforms/whatsapp/adapter.py","tests/gateway/test_gateway_utf8_encoding.py","tests/test_hermes_bootstrap.py","tests/tools/test_mcp_stdio_encoding_handler.py","tools/mcp_tool.py","tools/transcription_tools.py","tools/tts_tool.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}