The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(memory): migration note must not imply config.yaml provider keys still apply
salch-cred9d794107b3ac
diff --git a/hermes_cli/memory_provider_migration.py b/hermes_cli/memory_provider_migration.pyindex 380cf5dab63..2d082ac29eb 100644--- a/hermes_cli/memory_provider_migration.py+++ b/hermes_cli/memory_provider_migration.py@@ -79,7 +79,7 @@ def migrate_home(home: Path, *, install: Callable[[str], dict], say: Callable[[sresult = {"ok": False, "error": str(exc)}if result.get("ok"):say(f" ✓ Memory provider '{name}' moved out of core — installed its plugin from the catalog "- f"(your memory.{name} settings and data are unchanged).")+ f"(nothing was removed or modified; the plugin reads its own config — see `hermes memory status`).")return namesay(f" ⚠ Memory provider '{name}' moved out of core and could not be installed automatically: "f"{result.get('error') or 'unknown error'}. Run `hermes plugins install {name}`.")diff --git a/tests/hermes_cli/test_memory_provider_migration.py b/tests/hermes_cli/test_memory_provider_migration.pyindex d655ff939b7..1d0c786e335 100644--- a/tests/hermes_cli/test_memory_provider_migration.py+++ b/tests/hermes_cli/test_memory_provider_migration.py@@ -28,7 +28,10 @@ def test_missing_provider_installs_its_catalog_plugin_and_keeps_config(home, monassert mig.migrate_home(home, install=fake_install, say=said.append) == "honcho"assert calls == ["honcho"]- assert "settings and data are unchanged" in said[0]+ # The message must not imply config.yaml's memory.<name> keys still apply: the+ # plugin reads its own config, so "unchanged settings" reads as "they work" (#124038).+ assert "nothing was removed or modified" in said[0]+ assert "memory.honcho settings" not in said[0]assert "workspace: keep-me" in (home / "config.yaml").read_text()# present now → nothing to do, nothing saidassert mig.migrate_home(home, install=fake_install, say=said.append) is Nonediff --git a/website/docs/user-guide/features/memory-providers.md b/website/docs/user-guide/features/memory-providers.mdindex d14ffb1e3e9..4b1a527148c 100644--- a/website/docs/user-guide/features/memory-providers.md+++ b/website/docs/user-guide/features/memory-providers.md@@ -494,10 +494,14 @@ See the [upstream Hermes integration docs](https://hindsight.vectorize.io/sdks/iHindsight used to ship inside the Hermes tree (and as the `hermes-agent[hindsight]` pip extra). If your `config.yaml` already has `memory.provider: hindsight`, there is nothing to do for most users:- `hermes update` installs the catalog plugin into every profile home that names the provider. In a terminal it asks before preparing the plugin's Python dependencies. Without a terminal (the Desktop app, a script, a service) nobody can answer, so it prepares them unattended when `security.allow_lazy_installs` is on (the default) and otherwise prints the `hermes plugins install hindsight` one-liner.-- If the plugin is still missing on the first agent start (`hermes chat`, the gateway, the Desktop app, …), Hermes installs it, dependencies included, and prints `✓ Memory provider 'hindsight' moved out of core — installed its plugin from the catalog (your memory.hindsight settings and data are unchanged).`+- If the plugin is still missing on the first agent start (`hermes chat`, the gateway, the Desktop app, …), Hermes installs it, dependencies included, and prints `✓ Memory provider 'hindsight' moved out of core — installed its plugin from the catalog (nothing was removed or modified; the plugin reads its own config — see `hermes memory status`).`- With `security.allow_lazy_installs: false`, the agent-start path instead logs one line — ``Memory provider 'hindsight' is not installed; security.allow_lazy_installs is off — run `hermes plugins install hindsight`.`` — and you run `hermes plugins install hindsight` yourself.-What changes on disk: the plugin appears in `~/.hermes/plugins/hindsight/` and `config.yaml` gains `plugins.enabled: [hindsight]`. `memory.provider`, `memory.hindsight.*`, `$HERMES_HOME/hindsight/config.json`, `HINDSIGHT_API_KEY` in `.env` and your memory bank data are untouched. Verify with `hermes memory status` (provider active) and `hermes plugins list` (plugin installed and enabled).+What changes on disk: the plugin appears in `~/.hermes/plugins/hindsight/` and `config.yaml` gains `plugins.enabled: [hindsight]`. `memory.provider`, `$HERMES_HOME/hindsight/config.json`, `HINDSIGHT_API_KEY` in `.env` and your memory bank data are untouched. Verify with `hermes memory status` (provider active) and `hermes plugins list` (plugin installed and enabled).++:::warning Where the plugin reads its config+Hindsight reads **only** `$HERMES_HOME/hindsight/config.json` (per profile home), `~/.hindsight/config.json` (legacy shared), and the `HINDSIGHT_*` variables in `.env` — never `config.yaml`. There is no `memory.hindsight` section in the config schema, and no bundled version of this plugin ever read one: a `memory.hindsight.*` key in `config.yaml` is silently ignored. Edit the plugin's own `config.json` (key table above) or use `hermes memory setup`.+:::---