# NousResearch/hermes-agent · Memory provider workers context and secret binding

## Open now

- Nothing open on GitHub.

These items address a bug where OpenViking background worker threads start without the correct context, causing secret resolution failures and broken memory writes under multiplexed profiles. The work involves refactoring memory providers to spawn context-bound threads and surface secret errors loudly.

## TL;DR

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

## Closed / duplicate issues

- #108995: \[Bug\]: OpenViking background workers start with an empty Context, so a multiplexed secondary profile's memory writes die on UnscopedSecretError

## Prior & competing PRs

- **#109563: refactor(plugins): memory providers spawn context-bound threads and use core config/JSON writers; secret shims fail loud; HERMES_HOME and model-provider thinking/fetch_models copies collapse**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/azure_identity_adapter.py`, `agent/memory_manager.py`, `agent/memory_provider.py`, `agent/reasoning_effort.py`, `hermes_cli/models.py`, `plugins/memory/byterover/__init__.py`, `plugins/memory/hindsight/__init__.py`, `plugins/memory/holographic/__init__.py`, `plugins/memory/honcho/__init__.py`, `plugins/memory/honcho/cli.py`, `plugins/memory/honcho/client.py`, `plugins/memory/honcho/dialectic.py`, `plugins/memory/honcho/oauth.py`, `plugins/memory/honcho/recall_sync.py`, `plugins/memory/honcho/session.py`, `plugins/memory/mem0/__init__.py`, `plugins/memory/mem0/_oss_providers.py`, `plugins/memory/mem0/_setup.py`, `plugins/memory/openviking/__init__.py`, `plugins/memory/retaindb/__init__.py` (+32 more)
- **#108996: fix(memory/openviking): run background workers in the spawner's context**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#109563`

## Fix status

- Merged to main in PR #109563 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-13`.
