# NousResearch/hermes-agent · disk-cleanup wrongly deletes workspace project files

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #112860: fix(disk-cleanup): protect $HERMES_HOME/workspace project tree from test-pattern auto-deletion

A bug was reported and fixes were proposed to prevent the disk-cleanup process from auto-deleting files matching test/tmp patterns under $HERMES_HOME/workspace. The members address protecting that directory tree from unintended cleanup.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 1 open PR(s), 1 merged PR(s), 0 PR(s) closed without merging.
- A fix was merged to main in PR #113083. Verify it addresses your case.
- **Recommended:** read PR #113083 (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-113083`. 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

- #112859: \[Bug\]: disk-cleanup deletes test_*/tmp_* files under $HERMES_HOME/workspace at session end

## Prior & competing PRs

- **#113083: fix(disk-cleanup): files under $HERMES_HOME/workspace are never auto-deleted as test scratch (#112859, salvage #112860)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `contributors/emails/[redacted:email]`, `plugins/disk-cleanup/README.md`, `plugins/disk-cleanup/disk_cleanup.py`, `tests/plugins/test_disk_cleanup_plugin.py`, `website/docs/user-guide/features/built-in-plugins.md`
- **#112860: fix(disk-cleanup): protect $HERMES_HOME/workspace project tree from test-pattern auto-deletion**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `a63d6af6833`, `#80842`
  - files: `plugins/disk-cleanup/disk_cleanup.py`, `tests/plugins/test_disk_cleanup_plugin.py`

## Fix status

- Merged to main in PR #113083 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-16`.
- Subsystem: `agent`
