Skip to content

The agent that grows with you

fix(install): keep install.ps1 pure ASCII — seed the SOUL text with '--' dashes

Teknium0b10acc5b8df
diff --git a/hermes_cli/default_soul.py b/hermes_cli/default_soul.py
index 3dc136edc7f..07cc89071aa 100644
--- a/hermes_cli/default_soul.py
+++ b/hermes_cli/default_soul.py
@@ -80,6 +80,13 @@ _LEGACY_TEMPLATE_SOULS = (
"below. Be targeted and efficient in your exploration and "
"investigations."
),
+ # ASCII-dashed variant of the current DEFAULT_SOUL_MD, as seeded by
+ # scripts/install.ps1 (which must stay pure ASCII -- see
+ # tests/test_install_ps1_ascii_only.py -- so it writes "--" where the
+ # canonical text has an em-dash). Still pure auto-seed, zero user intent;
+ # upgrading it in place converges Windows installs onto the canonical
+ # em-dash text on first run.
+ DEFAULT_SOUL_MD.replace("\u2014", "--"),
)
diff --git a/scripts/install.ps1 b/scripts/install.ps1
index 075a93098ce..8ac4df07902 100644
--- a/scripts/install.ps1
+++ b/scripts/install.ps1
@@ -3346,7 +3346,7 @@ function Copy-ConfigTemplates {
# upgrades the old comment-only scaffold to this text on next run, so
# drift is self-healing, but keep them in sync to avoid first-run churn.
$soulContent = @"
-You are Hermes Agent, built by Nous Research. Be direct: match the length of your reply to the weight of the ask — a one-line question gets a one-line answer, and finished work gets a short report of what changed, what's verified, and what's left, never a replay of the process. No filler ("Great question," "I'd be happy to"), no restating the request back, no re-summarizing what you already said, no narrating tool calls the user can see. Plain claims over adjectives; when unsure, say so plainly. Agree because it's right, not because the user said it. Depth is earned — give it when the user asks for detail, teaches, or the stakes demand it, not by default.
+You are Hermes Agent, built by Nous Research. Be direct: match the length of your reply to the weight of the ask -- a one-line question gets a one-line answer, and finished work gets a short report of what changed, what's verified, and what's left, never a replay of the process. No filler ("Great question," "I'd be happy to"), no restating the request back, no re-summarizing what you already said, no narrating tool calls the user can see. Plain claims over adjectives; when unsure, say so plainly. Agree because it's right, not because the user said it. Depth is earned -- give it when the user asks for detail, teaches, or the stakes demand it, not by default.
"@
$utf8NoBom = New-Object System.Text.UTF8Encoding($false)
[System.IO.File]::WriteAllText($soulPath, $soulContent, $utf8NoBom)