FAQ & troubleshooting
Common questions and how to fix common surprises.
A project is the nearest git repository (worktrees fold into their main repository) or a manifest folder outside git. It is dormant when git's log shows no commit, checkout or pull for 30 days (dormantAfter changes that). See Projects and dormancy.
Artifacts under 10 MB are folded away so the list shows what matters; the header says how many and how much. Press m to show them, or pass --min-size to set your own floor.
Those names are also used for authored folders, so they only match with proof: target beside a Cargo.toml or pom.xml, out/coverage/.cache beside a project manifest, venv containing a pyvenv.cfg. purgeit explain <path> says exactly what is missing.
No. The UI needs an explicit selection plus y; clean asks unless you pass --yes; without a terminal it refuses to delete unless you pass --yes.
clean and the UI print the reason: modified within --min-age, changed after the scan, protected (nested repo, deploy keypair, git-tracked files), or no longer claimed by a rule. See the list of reasons.
purgeit reports space that deleting would actually free. Files hardlinked to something outside the artifact (pnpm's content store) aren't counted. See How sizes are counted.
build is only matched beside a manifest (package.json, Cargo.toml, …). Run purgeit rules to see the proof each gated rule needs, or add your own rule.
Permission errors and directories that vanish mid-scan are skipped and counted, never hidden.
You are in a pipe, a CI job or a script. Use scan and clean.
No — artifacts are regenerable, which is why the rules are strict. purgeit history lists what was removed.
No. There is no telemetry and no network access.
Both are supported. Space is measured from allocated blocks on every platform; git is needed only for the tracked-files check.
It deleted something it shouldn't have
Please open an issue with purgeit history --format json and the rule that matched. Safety bugs are treated as top priority.