Agent worktree
Last updated 1 November 2026
What it is, where it lives on your Mac, and whether it’s safe to delete.
Check before deleting
Only if you're sure you don't need it. A git worktree an agent made. Unpushed work lives only here, so it goes to the Recycling Yard first.
Where it is
Wherever it is on your disk: DiskCity recognises it by what's inside (for example a project's own files), not by one fixed path.
Is it safe to delete?
Only if you're sure you don't need it. A git worktree an agent made. Unpushed work lives only here, so it goes to the Recycling Yard first.
This is your own data, not a cache: once it’s gone from the Trash, nothing brings it back.
How to remove it
- In Terminal, run
git statusinside it, and commit anything you want to keep. - Make sure its branch is pushed or merged:
git log @{upstream}..lists commits that exist only here. Unpushed work lives only in this folder. - Leave anything opened or changed less than 30 days ago (for a folder, its newest file counts). DiskCity waits that long too.
- Move the folder to the Trash, then run
git worktree prunein its repository so git forgets it.
What DiskCity does with it
DiskCity never deletes it outright: if you approve, it waits 30 days in the Recycling Yard first. Even with Autopilot on, it never removes it without your yes. It only suggests it once it hasn't been used for 30 days.
