Claude Code conversation history missing: cleanupPeriodDays

Claude Code deletes session transcripts older than 30 days. Set cleanupPeriodDays in settings.json and archive them without rsync –delete.

November 15, 2026 · 6 min · Eugene Oleinik