# NousResearch/hermes-agent · Fix inaccurate update-check commit-behind counts

## Open now

- Nothing open on GitHub.

These items address bugs where shallow git fetches and missing merge-base data caused the update checker to report incorrect or fabricated commit-behind counts. Fixes involve changing fetch depth and using the compare API for accurate results.

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

- #84591: Update indicator stuck at "1 commit behind" (placeholder) after --depth 1 check breaks merge-base on shallow installer checkouts

## Prior & competing PRs

- **#86257: fix(update-check): stop fabricating '+1' behind-counts; recover exact counts via compare API**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/electron/main.ts`, `apps/desktop/electron/update-count.test.ts`, `apps/desktop/electron/update-count.ts`, `apps/desktop/src/app/settings/about-settings.tsx`, `apps/desktop/src/app/shell/hooks/use-statusbar-items.tsx`, `apps/desktop/src/global.d.ts`, `apps/desktop/src/i18n/ar.ts`, `apps/desktop/src/i18n/en.ts`, `apps/desktop/src/i18n/ja.ts`, `apps/desktop/src/i18n/types.ts`, `apps/desktop/src/i18n/zh-hant.ts`, `apps/desktop/src/i18n/zh.ts`, `apps/desktop/src/lib/version-status.test.ts`, `apps/desktop/src/lib/version-status.ts`, `apps/desktop/src/store/updates.test.ts`, `apps/desktop/src/store/updates.ts`, `contributors/emails/gkd2323c@users.noreply.github.com`, `contributors/emails/[redacted:email]`, `hermes_cli/banner.py`, `hermes_cli/main.py` (+2 more)
- **#84597: fix(cli): stop using --depth 1 for update-check fetches on shallow installer checkouts**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#85179`, `#86257`, `#80157`

## Fix status

- Merged to main in PR #86257 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-14`.
- Subsystem: `hermes_cli`
