PSA: Claude Code silently deletes local history older than 30 days
fobax · reddit · 2026-08-30
A user discovered that Claude Code silently and permanently deletes local session transcripts older than 30 days by default (cleanupPeriodDays: 30) without warning or a trash bin. To prevent this, users can modify /.claude/settings. and set cleanupPeriodDays to 3650. Multiple GitHub issues exist regarding this behavior.
More from coding & agent
- Dev shows agents auto-verifying and sending SAFE fundraising docs in parallel — Scobleizer · 2026-11-30
- Ex-Citadel MD: AI will automate equity long-short workflows within 3 years; job seekers should build eval suites — _AustinCalvert_ · 2026-11-30
- Why Google bans users: wrapping Gemini CLI in Claude Code violates consumer ToS — thomasahle · 2026-11-30
- After two Claude account bans, a dev switches to Google AI and moves his Anthropic stock bets to Google — yangyi · 2026-11-30
- Antigravity remote control may not be enabled for enterprise accounts — gharik · 2026-11-30
- How Much Agent Swarm Hype Is Just Distributed Systems Rediscovered? — edgarpavlovsky · 2026-11-30