The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(install): add UTF-8 regression guard for skills_sync child path
kael-odin44649e69f4f5
diff --git a/scripts/install.ps1 b/scripts/install.ps1index 3d4b7b504b5..e02acfff881 100644--- a/scripts/install.ps1+++ b/scripts/install.ps1@@ -2438,9 +2438,10 @@ You are Hermes Agent, an intelligent AI assistant created by Nous Research. You# Force the child python.exe to emit UTF-8 on its stdout/stderr.# On non-UTF-8 Windows locales (CP936/GBK zh-CN) Python defaults# its stream encoding to the active codepage and crashes on glyphs- # like ✓ (U+2713) that the codepage can't encode; the resulting- # non-UTF-8 bytes break this script's JSON result frame on stdout- # and abort the config-templates stage. Scope to this call only.+ # like the checkmark (U+2713) that the codepage can't encode; the+ # resulting non-UTF-8 bytes break this script's JSON result frame on+ # stdout and abort the config-templates stage. Scope to this call+ # only. (Comment kept ASCII per this file's PS 5.1 contract above.)$prevPythonioencoding = $env:PYTHONIOENCODING$prevPythonutf8 = $env:PYTHONUTF8$env:PYTHONIOENCODING = "utf-8"diff --git a/tests/test_hermes_bootstrap.py b/tests/test_hermes_bootstrap.pyindex 6c2ecaf425e..a95bff9127a 100644--- a/tests/test_hermes_bootstrap.py+++ b/tests/test_hermes_bootstrap.py@@ -24,6 +24,7 @@ import osimport subprocessimport sysimport textwrap+from pathlib import Pathimport pytest