# NousResearch/hermes-agent · Pruning stale shallow grafts from CLI update checks

## Open now

- Nothing open on GitHub.

These issues and PRs address unbounded growth of \`.git/shallow\` graft entries caused by depth-1 update checks in the CLI installer, along with related fixes for stalled fetches and retry behavior on \`failed\` passive checks.

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

- #105951: Shallow installer clones accumulate grafts from depth-1 update checks; failed passive checks are retried on every CLI spawn

## Prior & competing PRs

- **#108053: fix: update errors name the real cause; hermes update can't hang on a stalled fetch; shallow grafts pruned**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/electron/main.ts`, `apps/desktop/src/app/settings/about-settings.tsx`, `apps/desktop/src/app/updates-overlay.tsx`, `hermes_cli/gitlock.py`, `hermes_cli/update_cmd.py`, `tests/hermes_cli/test_shallow_graft_prune.py`, `tests/hermes_cli/test_update_fetch_timeout.py`
- **#105963: fix(cli): prune stale shallow grafts left by depth-1 update checks**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `9ce7547faf`, `62c3b7e14f8`, `#108053`
- **#108063: fix(cli): bound .git/shallow graft growth after depth-1 update checks**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `9ce7547faf`, `#108053`, `#105951`

## Fix status

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