# NousResearch/hermes-agent · Copilot raw token warning fires too repeatedly

## Open now

- Nothing open on GitHub.

A bug causes the 'Copilot token exchange degraded to RAW token' warning to repeat on every auxiliary call instead of once per token. Fixes scope the token exchange and its warning to run only when Copilot is selected and warn at most once per token.

## 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 #117008. Verify it addresses your case.
- **Recommended:** read PR #117008 (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: `resolved` · deciding PR(s): `pr-117008`. 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

- #114740: \[Bug\]: 'Copilot token exchange degraded to RAW token' WARNING repeats on every auxiliary call with a gh-CLI credential and no Copilot subscription

## Prior & competing PRs

- **#117008: fix(auth): Copilot token exchange (and its RAW-token warning) runs only when copilot is selected, warned once per token (#114740, salvage #114999)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/auxiliary_client.py`, `agent/credential_pool.py`, `hermes_cli/auth.py`, `hermes_cli/runtime_provider.py`, `tests/agent/test_auxiliary_client.py`, `tests/agent/test_credential_pool.py`, `tests/hermes_cli/test_runtime_provider_resolution.py`
- **#114999: fix(auth): prevent repeated copilot raw token exchange warnings (#114740)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `f4c83fea4485`, `#117008`, `#114740`, `#114999`

## Fix status

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