# NousResearch/hermes-agent · Gateway scope and session-end commit issues

## Open now

- Nothing open on GitHub.

These items concern profile/scope propagation failures in a multiplexed gateway context, including session-end memory commits being skipped and cleanup routines losing their scope. A cron/cleanup scope-preservation fix is also included.

## 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 #111082. Verify it addresses your case.
- **Recommended:** read PR #111082 (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: `resolved` · deciding PR(s): `pr-111082`. 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

- #110622: \[Bug\]: OpenViking memory provider's on_session_end fails under multiplex — gateway-hosted sessions skip the end-of-session commit (UnscopedSecretError on OPENVIKING_API_KEY)

## Prior & competing PRs

- **#111082: Multiplexed gateway: boot probes, session-end memory commits, execute_code children and the root file gate no longer fail closed outside the profile scope (#110635 #110622 #110303 #110630; salvage #110638 #110307 #110632 #110634)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `contributors/emails/13896935+zyz619963502zyz@users.noreply.github.com`, `contributors/emails/29206394@users.noreply.github.com`, `contributors/emails/7121943+kvnloo@users.noreply.github.com`, `cron/scheduler.py`, `gateway/run_shutdown.py`, `tests/cron/test_scheduler.py`, `tests/gateway/test_finalize_session_off_loop.py`, `tests/gateway/test_shutdown_cache_cleanup.py`, `tests/gateway/test_shutdown_teardown_profile_scope.py`, `tests/tools/test_code_execution_hermes_home.py`, `tests/tools/test_file_write_safety.py`, `tests/tools/test_terminal_tool_requirements.py`, `tools/code_execution_env.py`, `tools/file_tools_write_guards.py`, `tools/registry.py`
- **#110634: fix(cron): preserve cleanup profile scope**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `dce7768cb1`, `45aebc11b0582`, `#111082`, `#110622`

## Fix status

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