# NousResearch/hermes-agent · Lazy-deps feature activation and Matrix E2EE dependency handling

## Open now

- 2 issues, 2 PRs open on GitHub.
- #62401: \[Bug\]: \[platform.matrix\] Matrix gateway blocked on macOS arm64 with E2EE off — _is_satisfied() ignores the \[encryption\] extra, so a mautrix pin-drift forces an unneeded python-olm build
- #64065: fix(platform.matrix): mark unsupported on macOS so 'hermes update' skips instead of failing
- PR #62433: fix(matrix): split lazy e2ee deps
- PR #93860: fix(matrix): gate only the olm-bound E2EE part to Linux so plaintext Matrix installs on macOS

Most members concern how lazy dependency checks decide a feature is active (presence-only vs. version-aware or primary-package checks), which can cause unneeded refreshes or downgrades. A related subset covers Matrix on macOS and Windows, where the python-olm/E2EE dependency is involved, with proposals to gate or split it or mark the platform unsupported.

## TL;DR

- 12 member(s): 2 open issue(s), 2 closed issue(s), 2 open PR(s), 1 merged PR(s), 5 PR(s) closed without merging.
- A fix was merged to main in PR #72361. Verify it addresses your case.
- **Recommended:** read PR #72361 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `partially_resolved` · deciding PR(s): `pr-72361`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.17`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Open related issues

- #62401: \[Bug\]: \[platform.matrix\] Matrix gateway blocked on macOS arm64 with E2EE off — _is_satisfied() ignores the \[encryption\] extra, so a mautrix pin-drift forces an unneeded python-olm build
- #64065: fix(platform.matrix): mark unsupported on macOS so 'hermes update' skips instead of failing

## Closed / duplicate issues

- #44404: fix(lazy-deps): active_features() presence-only check causes false-positive activation and unnecessary downgrades
- #58458: lazy_deps: shared aiohttp pin marks never-enabled backends active; matrix refresh then fails on Windows (python-olm needs make)

## Prior & competing PRs

- **#72361: fix(lazy_deps): anchor-gated activation stops phantom backend refreshes**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `contributors/emails/[redacted:email]`, `tests/test_project_metadata.py`, `tests/tools/test_lazy_deps.py`, `tools/lazy_deps.py`
- **#44416: fix(lazy-deps): use version-aware check in active_features() to prevent unnecessary downgrades**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#72361`, `#27878`
- **#44461: fix(lazy-deps): use _is_satisfied in active_features() to prevent false-positive activation on transitive installs (#44404)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#44416`, `#44404`
- **#58575: fix(lazy_deps): use sentinel package for active-feature detection**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#54178`
- **#58652: fix(lazy-deps): detect active features by primary package**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#72361`, `#27878`
- **#62433: fix(matrix): split lazy e2ee deps**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `plugins/platforms/matrix/adapter.py`, `tests/gateway/test_matrix.py`, `tests/gateway/test_matrix_plugin_setup.py`, `tests/tools/test_lazy_deps.py`, `tools/lazy_deps.py`
- **#64078: fix(gateway): hide platform.matrix on macOS too (#64065)**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#64078`
- **#93860: fix(matrix): gate only the olm-bound E2EE part to Linux so plaintext Matrix installs on macOS**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `bc2100f43d`, `de613d4c3a`, `d8f1717eb7`, `80b966cc4a`, `#130193`, `#139398`, `#134771`
  - files: `contributors/emails/[redacted:email]`, `hermes_cli/gateway_setup_wizard.py`, `plugins/platforms/matrix/adapter.py`, `pm/__init__.py`, `pyproject.toml`, `tests/gateway/test_matrix.py`, `tests/gateway/test_matrix_deps_rebind.py`, `tests/gateway/test_matrix_encrypted_drop_warning.py`, `tests/gateway/test_matrix_plugin_setup.py`, `tests/hermes_cli/test_gateway_platform_gating.py`, `tests/pm/test_extras.py`, `tests/pm/test_previous_generation_extras.py`, `website/docs/user-guide/messaging/matrix.md`, `website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/messaging/matrix.md`

## Fix status

- Merged to main in PR #72361 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-07-27`.
- Subsystem: `agent`
- Kind: `bug` (from the open issues' GitHub type labels).
