# NousResearch/hermes-agent · Incorrect commit counts from updater on shallow installs

## Open now

- Nothing open on GitHub.

These items concern the CLI update command reporting misleading numbers of new commits (e.g. 'Found 9980 new commit(s)') on shallow or diverged git installs, apparently because it relies on rev-list counts. One member describes the problem, and the others are titled as proposed fixes to avoid or skip those counts; their outcomes are not stated.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #86318. Verify it addresses your case.
- **Recommended:** read PR #86318 (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-86318`. 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.50`: 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

- #53479: CLI updater still trusts rev-list counts for shallow/diverged installs

## Prior & competing PRs

- **#86318: fix(update): stop reporting bogus 'Found 9980 new commit(s)' on shallow installs**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/update_cmd.py`, `tests/hermes_cli/test_update_apply_shallow_count.py`
- **#53498: fix(update): avoid bogus shallow commit counts in cmd_update**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#53494`, `#53479`, `#50784`
- **#53512: fix: skip bogus shallow update counts**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#53498`, `#53479`

## Fix status

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