# NousResearch/hermes-agent · Partial clone packfile accumulation causing unbounded growth

## Open now

- Nothing open on GitHub.

A bug causes each lazy fetch in a partial clone to create a new packfile that is never consolidated or garbage collected, leading to the .git directory growing to tens of gigabytes. The members address this by folding or compacting accumulated packfiles after fetch operations.

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

- #129712: Updater/blobs workflow creates one packfile per lazy fetch, never gc's — .git grows to tens of GB (39 GiB observed)

## Prior & competing PRs

- **#131679: A partial clone's .git stops growing: lazy-fetch packs fold on update and the commit-graph loop is off (#129712, salvage #129724, #127721)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/gitlock.py`, `hermes_cli/update_cmd.py`, `hermes_cli/update_cmd_check.py`, `scripts/install.ps1`, `scripts/install.sh`, `tests/hermes_cli/test_gitlock.py`, `website/docs/getting-started/updating.md`
- **#129714: fix(desktop): compact partial clone packs after fetch**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `4e3fcd5cd7e`, `#131679`
- **#129724: fix(update): fold lazy-fetch packfiles so a partial clone's .git stops growing**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `add654131ff`, `4e3fcd5cd7e`, `#131679`

## Fix status

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