# NousResearch/hermes-agent · Profile env isolation bug in gateway credentials

## Open now

- 2 issues, 0 PRs open on GitHub.
- #64210: _apply_env_overrides auto-activates SMS/Twilio from inherited env vars; fails non-retryable and kills the whole gateway
- #66930: bug(gateway): bare profiles (no .env, no platform config) inherit Matrix credentials from root ~/.hermes/.env via _apply_env_overrides
- _Broad area: open items may be separate problems._

A bug where named or bare gateway profiles incorrectly inherit credentials (including SMS/Twilio settings) from the root ~/.hermes/.env via _apply_env_overrides, with a related fix and a report of downstream non-retryable failures caused by the unintended activation.

## TL;DR

- 3 member(s): 2 open issue(s), 0 closed issue(s), 0 open PR(s), 0 merged PR(s), 1 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_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.45`: 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

- #64210: _apply_env_overrides auto-activates SMS/Twilio from inherited env vars; fails non-retryable and kills the whole gateway
- #66930: bug(gateway): bare profiles (no .env, no platform config) inherit Matrix credentials from root ~/.hermes/.env via _apply_env_overrides

## Prior & competing PRs

- **#67027: fix(gateway): isolate named profile env credentials**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`

## Fix status

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