# NousResearch/hermes-agent · Gateway handoff fail-closed config loading fixes

## Open now

- Nothing open on GitHub.

These items address a bug where gateway handoffs deliver to the wrong destination when a secondary profile's configuration fails to load, with fixes to ensure the system fails closed in that scenario. Related changes also cover loading secrets off the main loop and honoring profile routes in Discord slash commands.

## 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 #101247. Verify it addresses your case.
- **Recommended:** read PR #101247 (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

- #97693: \[Bug\]: /handoff delivers to the wrong chat when a secondary profile's config fails to load

## Prior & competing PRs

- **#101247: fix(gateway): handoffs fail closed and load secrets off-loop; Discord slash commands honor profile_routes (#97693 #100014 #69178 #91633, salvage #97694 #100049)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `gateway/run.py`, `plugins/platforms/discord/adapter.py`, `tests/gateway/test_discord_slash_commands.py`, `tests/gateway/test_handoff_secondary_profile_adapter.py`, `tests/gateway/test_handoff_watcher_multiprofile.py`, `tests/gateway/test_handoff_watcher_resilience.py`
- **#97694: fix(gateway): fail closed when a secondary profile handoff cannot load its config**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `0437fe66f77`, `#101247`

## Fix status

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