# NousResearch/hermes-agent · Gateway systemd environment handling of ANSI-C quoted values

## Open now

- 1 issue, 2 PRs open on GitHub.
- #142207: \[Bug\]: Linux/systemd gateway ensure refuses inherited env when any value is ANSI-C quoted (MANPAGER=$'…' and similar)
- PR #142211: fix(gateway): read the systemd manager environment without a quoting grammar
- PR #146704: fix(gateway): decode systemd's $'…' quoting in the user manager environment

One bug report describes the Linux/systemd gateway ensure step refusing inherited environment when any value uses ANSI-C ($'…') quoting, such as MANPAGER. Two pull requests propose different approaches: reading the systemd manager environment without relying on a quoting grammar, or decoding the $'…' quoting. Whether either change is merged or resolves the report is not stated.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 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.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.

## Open related issues

- #142207: \[Bug\]: Linux/systemd gateway ensure refuses inherited env when any value is ANSI-C quoted (MANPAGER=$'…' and similar)

## Prior & competing PRs

- **#142211: fix(gateway): read the systemd manager environment without a quoting grammar**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `hermes_cli/gateway_runtime_service.py`, `hermes_cli/gateway_runtime_service_identity.py`, `tests/hermes_cli/test_gateway_runtime_service.py`, `tests/hermes_cli/test_gateway_runtime_service_environment.py`, `tests/hermes_cli/test_gateway_runtime_service_environment_quoting.py`
- **#146704: fix(gateway): decode systemd's $'…' quoting in the user manager environment**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `d8164f04aec0871424824d28961e3005e62026e1`, `37a0fd6bec1664d424f4ee967ae1835d85e7f876`, `#142579`, `#142211`
  - files: `hermes_cli/gateway_runtime_service_identity.py`, `tests/hermes_cli/test_gateway_runtime_service.py`

## Fix status

- No merged fix on record.
- Subsystem: `hermes_cli`
- Kind: `bug` (from the open issues' GitHub type labels).
