# NousResearch/hermes-agent · gh CLI auth detection fix for older versions

## Open now

- Nothing open on GitHub.

These items address a regression where doctor incorrectly warns about missing GITHUB_TOKEN when the gh CLI version is older than 2.52, which lacks --json flag support. The fix adds a fallback to plain gh auth status for those older versions.

## 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 #98063. Verify it addresses your case.
- **Recommended:** read PR #98063 (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-98063`. 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

- #98051: doctor still warns 'No GITHUB_TOKEN' when gh < 2.52 (--json unsupported) — fix from #16115 regresses on older gh CLI

## Prior & competing PRs

- **#98063: fix(doctor): gh CLI auth is detected on every gh version (#98051, salvage #95162)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `contributors/emails/[redacted:email]`, `hermes_cli/doctor_state.py`, `tests/hermes_cli/test_doctor.py`
- **#98302: fix(cli): fall back to plain gh auth status for gh < 2.52 (#98051)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#98063`

## Fix status

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