# NousResearch/hermes-agent · Clean up stranded tmp_pack debris in checkpoint stores

## Open now

- Nothing open on GitHub.

These issues and PRs address temporary pack files left behind in checkpoint stores when git gc operations time out. The fix wires cleanup logic to remove such debris, which can accumulate to significant sizes (e.g., ~16 GB observed).

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

- #115410: Checkpoint stores accumulate tmp_pack_* debris after a timed-out git gc (~16 GB observed); clear_stale_tmp_packs is not wired to them

## Prior & competing PRs

- **#116948: fix(checkpoints): prune sweeps tmp_pack debris left by timed-out store gcs (#115410, salvage #115416)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/gitlock.py`, `tests/hermes_cli/test_gitlock_tmp_packs.py`, `tests/tools/test_checkpoint_manager.py`, `tools/checkpoint_manager.py`
- **#115416: fix(checkpoints): sweep tmp_pack debris stranded by timed-out store gcs**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `137cbb78190e`, `#116948`, `#115410`, `#115416`

## Fix status

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