Found during a disk audit (2026-07-25): ~/.agent-farm/logs held 29,728 PTY session log files totaling 19 GB, 97% of them older than 30 days — only ~300 files had been touched in the past week. Logs accrete forever; nothing rotates, caps, or expires them.
Proposal:
- Retention policy (e.g. delete session logs N days after their session ends; N=30 default, configurable).
- Enforced by Tower on a periodic sweep (it already runs an orphan sweep) or at workspace start.
codev doctor could report total log footprint as a health line.
On the audited machine this was the 4th-largest disk consumer, ahead of most caches.
Found during a disk audit (2026-07-25):
~/.agent-farm/logsheld 29,728 PTY session log files totaling 19 GB, 97% of them older than 30 days — only ~300 files had been touched in the past week. Logs accrete forever; nothing rotates, caps, or expires them.Proposal:
codev doctorcould report total log footprint as a health line.On the audited machine this was the 4th-largest disk consumer, ahead of most caches.