Claude Code deletes session transcripts after 30 days — one setting keeps them 10 years
weswinder · x · 2026-10-09
Claude Code by default wipes your session transcripts after 30 days, permanently. To retain them longer (e.g., 10 years), add "cleanupPeriodDays": 3650 to your settings.. A simple but easily missed config for anyone treating Claude Code sessions as archival records.
More from coding & agent
- Claude Code 2.1.334 ships 15 new flags: task messaging, Computer Use terminal recall, /model search — ClaudeCodeLog · 2026-12-02
- Berkeley's Dimakis: Models Just 10 Months Old Are 'Spectacularly Bad' at Collaboration — AlexGDimakis · 2026-12-02
- Tweakable: open-source malleable apps with a built-in Claude assistant, 65k lines in 4 months — Joke-Just · 2026-12-02
- ansi: an open-source terminal agent harness where every turn is journaled and forkable — remilouf · 2026-12-02
- NVIDIA expands OpenShell for agent permissions; Anthropic, CrowdStrike, Palantir already using it — NVIDIAAI · 2026-12-02
- Everything Is a File: Building an LLM Agent Harness on Plan 9 Principles — remilouf · 2026-12-02