# NousResearch/hermes-agent · Windows abandoned pm-runtime lease file cleanup

## Open now

- Nothing open on GitHub.

These members center on abandoned pm-runtime lease files on Windows, which the bug report says accumulate and are not pruned, alongside a Python delete hook associated with \`hermes cron\`/\`gateway\` exiting 1. The two fix-titled pull requests appear to address reclaiming or removing such leases, one noting it should be done without dropping the lock.

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

- #142528: \[Bug\]: Windows: abandoned pm-runtime lease files are never pruned (1,546 accumulated) and a Python delete hook makes \`hermes cron\`/\`gateway\` exit 1

## Prior & competing PRs

- **#139788: fix(pm): remove abandoned Windows leases without dropping the lock**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/runtime_state.py`, `tests/pm/test_runtime_gc.py`, `tests/pm/test_runtime_lease_cleanup.py`
- **#142628: fix(cli): reclaim abandoned pm-runtime lease files on Windows**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `662867c5289`, `#139788`, `#142528`

## Fix status

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