Claude Code session retention is 30 days by default for CLI transcripts, with Desktop exceptions. Build a four-layer archive and retrieval contract.
AI coding agent backups need versioned, isolated copies and tested restores. Build a recovery contract that proves the workspace can work again.