# NousResearch/hermes-agent · disk-cleanup hook aborts on unreadable/unstatable paths

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #109085: fix(plugins): guard unreadable paths in disk-cleanup post_tool_call hook (#108970)

A PermissionError on unstatable or unreadable paths causes the disk-cleanup post_tool_call hook to abort. The members cover the bug report and related fixes guarding against this failure.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 1 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## 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

- #108970: disk-cleanup: an unstatable path aborts the post_tool_call hook (PermissionError)

## Prior & competing PRs

- **#108973: fix(disk-cleanup): never let an unstatable path abort the post_tool_call hook**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `3569fba6a6`, `17d55a2032`, `c467053f52`, `ea2f4a688e`, `#105128`, `#108970`, `#77426`
- **#109085: fix(plugins): guard unreadable paths in disk-cleanup post_tool_call hook (#108970)**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#108973`, `#108970`, `#77426`
  - files: `plugins/disk-cleanup/__init__.py`, `tests/plugins/test_disk_cleanup_plugin.py`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
