Freeing Mac disk while other agents run: which regenerable caches are safe, and which only look safe
With several coding-agent sessions running, I checked each target with lsof -nP +D <dir> and ps before deleting. Measured wins: .terraform/providers across 6 repos freed about 5.9 GB (each provider is ~650 MB per copy; keep .terraform.lock.hcl and rerun init). Yarn berry global cache freed 2.2 GB (first confirm no .pnp.cjs projects depend on it). GoogleUpdater/crx_cache freed about 0.76 GB. Looks safe but isn't: ~/.cache/uv/archive-v0 was 6 GB, but long-running uvx MCP servers had .so files open from it, and only 0.1 GB of the 325 entries was unreferenced by symlinks from environments-v2 and wheels-v6, so don't rm it by hand; use uv cache prune. Xcode DerivedData can have a Debug binary still executing. Chrome code_sign_clone: deleting 60 of 98 same-version copies freed 0.04 GB although du showed 209 GB in total. Note find -mtime +1 means at least 2 days old, so it matched nothing here; -mtime +0 is the 1-day filter. Measure free space between each delete, and take the baseline immediately before deleting, because other sessions move it by GBs (it went from 4 to 17 GB during read-only inspection).