# NousResearch/hermes-agent · Updater's gh auth token capture polluted by wrapper stdout

## Open now

- 1 issue, 2 PRs open on GitHub.
- #138444: \[Bug\]: updater sends raw \`gh auth token\` stdout as the Bearer token — any stdout-printing wrapper breaks every update with "Invalid header value"
- PR #138457: fix(cli): treat a wrapper-polluted gh auth token capture as no token
- PR #138485: fix(update-check): keep a stdout-printing gh wrapper out of the GitHub credential

The members concern the update check using raw \`gh auth token\` stdout as a GitHub Bearer credential, which can include extra output from a stdout-printing gh wrapper and lead to an "Invalid header value" error. One item is a bug report and two are fix pull requests that propose keeping such output out of the credential or treating it as no token.

## 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

- #138444: \[Bug\]: updater sends raw \`gh auth token\` stdout as the Bearer token — any stdout-printing wrapper breaks every update with "Invalid header value"

## Prior & competing PRs

- **#138457: fix(cli): treat a wrapper-polluted gh auth token capture as no token**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#138444`, `#138444`
  - files: `hermes_cli/github_api.py`, `hermes_cli/source_check.py`, `tests/hermes_cli/test_github_token_capture.py`
- **#138485: fix(update-check): keep a stdout-printing gh wrapper out of the GitHub credential**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `hermes_cli/copilot_auth.py`, `hermes_cli/github_api.py`, `tests/hermes_cli/test_api_key_providers.py`, `tests/hermes_cli/test_gh_cli_token_capture.py`

## Fix status

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