The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix: capability fingerprint reads config via the canonical loader
Teknium9829064f8985
diff --git a/tools/bot_mode_probe.py b/tools/bot_mode_probe.pyindex 7f59b986fe7..eed850eb0ff 100644--- a/tools/bot_mode_probe.py+++ b/tools/bot_mode_probe.py@@ -191,12 +191,16 @@ def capability_fingerprint(home: str | os.PathLike | None = None) -> str:resolved = Path(str(home) if home else (os.getenv("HERMES_HOME") or os.path.expanduser("~/.hermes")))surface: dict = {}try:- import yaml-- cfg_path = resolved / "config.yaml"- cfg = {}- if cfg_path.is_file():- cfg = yaml.safe_load(cfg_path.read_text(encoding="utf-8", errors="replace")) or {}+ # Canonical loader (managed overlay + env expansion + normalization),+ # scoped to the bot's home via the override the loaders already honor.+ from hermes_cli.config import load_config_readonly+ from hermes_constants import reset_hermes_home_override, set_hermes_home_override++ token = set_hermes_home_override(str(resolved))+ try:+ cfg = load_config_readonly() or {}+ finally:+ reset_hermes_home_override(token)skills_cfg = cfg.get("skills") if isinstance(cfg.get("skills"), dict) else {}tools_cfg = cfg.get("tools") if isinstance(cfg.get("tools"), dict) else {}skills_cfg = skills_cfg or {}