The install/upgrade E2E lanes moved from GitHub-hosted runners to Blacksmith (3bcc2910ab,
764d1f322c) and their first runs there went red. Neither failure is in Hermes; both are
host differences the probes assumed away:
- Blacksmith ships /etc/profile.d/blacksmith.sh, which exports HOME back to the runner user's
passwd home for every login shell. The `bash -lic` probes in test_install_fresh.py and
hosts/_hosts.py then read /home/runner's rc files instead of the sandbox HOME the installer
edited, so `command -v hermes` failed and ~/.local/bin was "missing". Login-shell probes now
mask any /etc/profile.d script that exports HOME with /dev/null inside the existing bwrap
sandbox (empty tuple elsewhere, so other hosts run unchanged).
- Blacksmith's Windows image computes the SAFER NORMALUSER token with BUILTIN\Administrators
still enabled (GitHub's marks it deny-only), so the harness control in test_paths_and_acls.py
correctly refused to vouch for the token. The probe now derives the standard-user token with
CreateRestrictedToken (Administrators deny-only, max privileges dropped), the same shape as
UAC's filtered token, so it no longer depends on the host's SAFER policy.
The stable-channel default from #139311 stays as it is; the sandbox harnesses already pin
their fresh installs to main through HERMES_INSTALL_CHANNEL (f9bdaa303e).