The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(disk-cleanup): exclude project directories from test-pattern auto-deletion (#75403)
Baophan005286fe19813c
diff --git a/plugins/disk-cleanup/disk_cleanup.py b/plugins/disk-cleanup/disk_cleanup.pyindex 31f5779b1ff..bd07f844bb4 100755--- a/plugins/disk-cleanup/disk_cleanup.py+++ b/plugins/disk-cleanup/disk_cleanup.py@@ -563,6 +563,11 @@ def guess_category(path: Path) -> Optional[str]:"disk-cleanup", "logs", "memories", "sessions", "config.yaml","skills", "plugins", ".env", "USER.md", "MEMORY.md", "SOUL.md","auth.json", "hermes-agent",+ # User-authored and project trees — never auto-delete files+ # inside these just because they happen to be named test_* or+ # tmp_* (#75403, also #32164, #37721).+ "patches", "projects", "skins", "themes", "contributors",+ "profiles", "backups", "optional-skills",}:return Noneif top == "cron" or top == "cronjobs":