Files
hermes-agent/tests/hermes_cli
ruochu88s aa0b228c2c test(profiles): default-export tests write through the fixture home, not get_profile_dir("default")
get_profile_dir("default") re-resolves the platform-native root at call time; when pytest's
basetemp sits inside the operator's Hermes home the per-test sandbox counts as "under the
native home" and these two tests overwrote the live config.yaml / .env / MEMORY.md with their
stubs. Write through the profile_env fixture's home instead.

Taken from #111096 by @ruochu88s (the autouse native-home override and the session tripwire
from that PR are not included; the basetemp relocation in tests/conftest.py closes the class).
2026-09-15 05:24:39 -07:00
..