# NousResearch/hermes-agent · Memory provider system prompt block gating fix

## Open now

- Nothing open on GitHub.

A bug where the memory provider's system_prompt_block() was injected unconditionally while the associated tools were gated by platform toolset configuration, causing agents to receive instructions for tools not present in their tool surface. The fix gates the system prompt block on the same toolset check used for tool injection.

## TL;DR

- 6 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 4 PR(s) closed without merging.
- A fix was merged to main in PR #94446. Verify it addresses your case.
- **Recommended:** read PR #94446 (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: `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.33`: 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.

## Closed / duplicate issues

- #81014: Memory provider system_prompt_block() injected unconditionally while provider tools are gated by platform_toolsets — agent receives instructions for tools that don't exist in its tool surface

## Prior & competing PRs

- **#94446: Memory provider prompt guidance no longer appears when its tools are gated off (#81014, salvage #81058)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/memory_manager.py`, `agent/system_prompt.py`, `tests/agent/test_memory_provider.py`, `tests/agent/test_system_prompt.py`
- **#81058: fix(agent): gate memory provider system_prompt_block on toolset config (#81014)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `8172be0e8e64e60562494bbeb09252f2c3772b62`, `#94446`
- **#81068: fix(memory): gate system_prompt_block() on the same toolset check as tool injection (#81014)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#81058`
- **#81078: fix(agent): gate memory provider system_prompt_block on tool availability (#81014)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#81058`
- **#81089: fix(memory): gate provider system-prompt block on the toolset gate**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#81058`

## Fix status

- Merged to main in PR #94446 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-25`.
- Subsystem: `agent`
