# NousResearch/hermes-agent · Gateway config env variable expansion fix

## Open now

- 1 issue, 2 PRs open on GitHub.
- #72096: Unexpanded ${VAR} in platforms.<name>.extra admin lists enables slash-command gating with an admin set that can never match
- PR #72126: fix(gateway): expand ${VAR} references in gateway config, filter unresolved refs from id lists
- PR #72386: fix(gateway): expand ${VAR} env refs in load_gateway_config (#72096)

These items address a bug where ${VAR} references in gateway configuration were not being expanded, causing issues such as admin lists that could never match. The fixes add expansion of environment variable references and handling of unresolved references in that config.

## TL;DR

- 4 member(s): 1 open issue(s), 0 closed issue(s), 2 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_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.50`: 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

- #72096: Unexpanded ${VAR} in platforms.<name>.extra admin lists enables slash-command gating with an admin set that can never match

## Prior & competing PRs

- **#72126: fix(gateway): expand ${VAR} references in gateway config, filter unresolved refs from id lists**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#72096`
  - files: `gateway/config.py`, `gateway/slash_access.py`, `tests/gateway/test_slash_access.py`, `tests/hermes_cli/test_config_env_expansion.py`
- **#72386: fix(gateway): expand ${VAR} env refs in load_gateway_config (#72096)**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#72126`, `#72096`
  - files: `gateway/config.py`
- **#72879: fix(gateway): expand ${VAR} references in gateway config and warn on unresolved refs**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#72126`

## Fix status

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