User finds their AI agent quietly ate 54GB of disk with unused git worktrees

itsOmSarraf_ · x · 2026-11-20

A user complained their AI agent was "eating up my storage": disk analysis showed the tmp folder at 54GB, almost entirely git worktrees the agent created for various projects.

The screenshot shows the agent earnestly replying that these are the user's files, not its data, and offering to delete the unused worktrees. A classic agent hygiene failure — anyone running agents on real projects should check their tmp folder.

Original post →

More from coding & agent

coding & agent channel →