Skip to content
Trending storyDeveloping

Claude Code deletes session transcripts after 30 days by default

1 article1 sourcesince Nov 11Last article

Overview

AISummary of 1 article

Ian Johnson says Claude Code's default setting deleted his session transcripts after 30 days, and he lost transcripts he had planned to open source.

He says some of the same work survives in Codex. Migtissera advises setting "cleanupPeriodDays" to 36500 in ~/.claude/settings.json to keep Claude Code sessions. These are reports from X posts; the report does not include Anthropic's response or documentation.

Written by AI from the articles below · updated Nov 11, 8:31 AM ET

Check the sources:

Article timeline

The articles in this story. Times are ET.

Nov 11
  1. Ian Johnson 🔬🤖X
    Claude Code deletes session transcripts after 30 days by default

    AIIan Johnson says he lost transcripts he planned to open source after Claude Code's default setting deleted sessions after 30 days. He says some of the same work survives in Codex. Migtissera advises setting "cleanupPeriodDays" to 36500 in ~/.claude/settings.json to keep Claude Code sessions.

Heat Trend

Current comparable heat
5
Peak comparable heat
10Nov 11, 9:00 AM ET
Change in past 24 hours
–

The trend compares only continuously observed participants, so its scope may be smaller than the current heat total. Hover or tap for hourly heat; use arrow keys with a keyboard.