# NousResearch/hermes-agent · SystemExit escaping memory provider availability checks

## Open now

- 1 issue, 2 PRs open on GitHub.
- #123042: \[Bug\]: SystemExit from a memory provider's is_available() kills the agent process — except Exception at agent_init.py:1359 does not contain BaseException
- PR #123055: fix(agent): contain SystemExit in memory provider and plugin availability probes (#123042)
- PR #123057: fix(agent): contain SystemExit from memory providers

These members concern a bug where SystemExit raised inside a memory provider's is_available() call is not caught by an except Exception block, potentially killing the agent process. A fix is proposed to broaden exception handling to contain such exits during availability probes.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: 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

- #123042: \[Bug\]: SystemExit from a memory provider's is_available() kills the agent process — except Exception at agent_init.py:1359 does not contain BaseException

## Prior & competing PRs

- **#123055: fix(agent): contain SystemExit in memory provider and plugin availability probes (#123042)**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`
  - files: `agent/agent_init.py`, `agent/memory_manager.py`, `agent/provider_registry.py`, `hermes_cli/doctor_state.py`, `hermes_cli/memory_setup.py`, `plugins/plugin_loader.py`, `tests/agent/test_memory_provider_system_exit.py`
- **#123057: fix(agent): contain SystemExit from memory providers**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `agent/agent_init.py`, `tests/agent/test_memory_provider_unavailable_warning.py`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
