Repo Cleaner
Remove only known build artifacts, and only after showing the user the exact list.
Steps
- Find candidates matching a strict allowlist of artifact globs:
__pycache__/,*.pyc,dist/,build/,.pytest_cache/,node_modules/.cache/. - Show the user the full list of paths and wait for explicit confirmation.
- Delete only the confirmed paths, each relative to the project root the user named.
- Report every path removed.
Boundaries
- Never recursively force-delete source, data, or a whole project directory.
- Never rewrite or force-update git history. Cleaning is not a history rewrite.
- Never delete anything outside the confirmed allowlist. When unsure, skip and ask.