By Vero SecurityBuilt and funded by Vero Security, the AI Security Engineering platform.Read the charter

Preserving agent transcripts before the retention sweep

Claude Code writes each session to a plaintext JSONL transcript under ~/.claude/projects, including tool calls and tool results. It deletes these files after cleanupPeriodDays, 30 by default. Copy the transcript, subagent folder and tool-results folder off the machine first, and treat the copy as sensitive because it may hold secrets.

Read in this order

  1. OfficialExplore the .claude directory (Claude Code docs)Maps transcript, file-history and debug paths, the cleanup period and the plaintext storage warning.

Save your progress

We email you a sign-in link. No password.

By signing in you agree to the terms. The privacy policy explains how we use your details.

Join the AI security engineering community

Free. Roadmap updates, chapters near you, and first word when credentials open.

We’ll email you community updates. Unsubscribe anytime. By sending this you agree to the terms. The privacy policy explains how we use your details.