mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-29 18:46:59 +00:00
Widen NS-605 to the two remaining direct-install sites in the hindsight plugin, which still shelled out to 'uv pip install --python sys.executable' and therefore failed (EROFS/EACCES) on immutable hosted images with sealed venvs, and lost packages on redeploy: - post_setup dependency install (~L835): install_specs() with ok / blocked-reason / stderr handling matching honcho/mem0. - initialize()-time hindsight-client auto-upgrade (~L1240): install_specs(); blocked installs log the gate reason with the manual command instead of a raw subprocess error, and init proceeds. Audited every other memory plugin (supermemory, byterover, holographic, openviking, retaindb) for direct pip/uv install subprocess calls: none remain — their deps flow through plugin.yaml pip_dependencies or lazy_deps.ensure(). Tests: TestClientAutoUpgradeRoutesThroughLazyDeps — upgrade goes through install_specs with the exact spec (regression guard asserts no subprocess.run), blocked upgrade is non-fatal and surfaces the gate reason. Updated TestPostSetupEnvEncoding stubs to the new install path. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_byterover_provider.py | ||
| test_config_schema.py | ||
| test_hindsight_config_schema.py | ||
| test_hindsight_provider.py | ||
| test_holographic_auto_extract.py | ||
| test_holographic_retrieval.py | ||
| test_holographic_shutdown_closes_db.py | ||
| test_holographic_store.py | ||
| test_honcho_config_schema.py | ||
| test_mem0_backend.py | ||
| test_mem0_providers.py | ||
| test_mem0_setup.py | ||
| test_mem0_v3.py | ||
| test_memory_lazy_install.py | ||
| test_openviking_provider.py | ||
| test_openviking_shutdown.py | ||
| test_retaindb_provider.py | ||
| test_supermemory_provider.py | ||