💻 Anthropic updates data usage policies for Claude Code

Local sessions are now stored in plain text in the ~/.claude/projects/ directory for 30 days to allow for session resumption. For commercial users (Team, Enterprise, API), training models on code and prompts is prohibited without explicit consent.

🌍 Clarifying data storage and model training policies increases transparency for enterprise clients using AI tools in development.

👤 Developers should note that the local session cache is automatically cleared after 30 days, and when using commercial plans, their code is not used for model training.

Source 1: https://code.claude.com/docs/en/data-usage