Found during a disk audit (2026-07-25): a ~/.agent-farm.bak-20260702-113930 directory — created by a state migration on 2026-07-02 — was still on disk three weeks later at 18 GB (a full copy of the agent-farm dir, dominated by the logs it duplicated). Nothing ever deletes these backups.
Proposal:
- Migrations that create a
.bak should record it and reap it after a verification window (e.g. 7 days of successful operation on the migrated state), or
codev doctor should at minimum surface existing .bak dirs with age + size so the human can decide.
Related: the no-rotation issue filed alongside this one — the .bak was so large mostly because the logs inside it had never rotated.
Found during a disk audit (2026-07-25): a
~/.agent-farm.bak-20260702-113930directory — created by a state migration on 2026-07-02 — was still on disk three weeks later at 18 GB (a full copy of the agent-farm dir, dominated by the logs it duplicated). Nothing ever deletes these backups.Proposal:
.bakshould record it and reap it after a verification window (e.g. 7 days of successful operation on the migrated state), orcodev doctorshould at minimum surface existing.bakdirs with age + size so the human can decide.Related: the no-rotation issue filed alongside this one — the .bak was so large mostly because the logs inside it had never rotated.