Skip to content

Commit d0362fe

Browse files
Update Claude Code docs - 2025-08-28 | Updated: data-usage.md,github-actions.md legal-and-compliance.md,security.md
1 parent 580a96c commit d0362fe

5 files changed

Lines changed: 46 additions & 28 deletions

File tree

docs/data-usage.md

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,46 @@
66

77
### Data training policy
88

9-
By default, Anthropic does not train generative models using code or prompts that are sent to Claude Code.
9+
**Consumer users (Free, Pro, and Max plans)**:
10+
Starting August 28, 2025, we're giving you the choice to allow your data to be used to improve future Claude models.
1011

11-
We aim to be fully transparent about how we use your data. We may use feedback to improve our products and services, but we will not train generative models using your feedback from Claude Code.
12+
We will train new models using data from Free, Pro, and Max accounts when this setting is on (including when you use Claude Code from these accounts).
13+
14+
* If you're a current user, you can select your preference now and your selection will immediately go into effect.
15+
This setting will only apply to new or resumed chats and coding sessions on Claude. Previous chats with no additional activity will not be used for model training.
16+
* You have until September 28, 2025 to make your selection.
17+
If you're a new user, you can pick your setting for model training during the signup process.
18+
You can change your selection at any time in your Privacy Settings.
19+
20+
**Commercial users**: (Team and Enterprise plans, API, 3rd-party platforms, and Claude Gov) maintain existing policies: Anthropic does not train generative models using code or prompts sent to Claude Code under commercial terms, unless the customer has chosen to provide their data to us for model improvement (e.g. [Developer Partner Program](https://support.anthropic.com/en/articles/11174108-about-the-development-partner-program)).
1221

1322
### Development Partner Program
1423

1524
If you explicitly opt in to methods to provide us with materials to train on, such as via the [Development Partner Program](https://support.anthropic.com/en/articles/11174108-about-the-development-partner-program), we may use those materials provided to train our models. An organization admin can expressly opt-in to the Development Partner Program for their organization. Note that this program is available only for Anthropic first-party API, and not for Bedrock or Vertex users.
1625

17-
### Feedback transcripts
26+
### Feedback using the `/bug` command
1827

19-
If you choose to send us feedback about Claude Code, such as transcripts of your usage, Anthropic may use that feedback to debug related issues and improve Claude Code's functionality (e.g., to reduce the risk of similar bugs occurring in the future). We will not train generative models using this feedback. Given their potentially sensitive nature, we store user feedback transcripts for only 30 days.
28+
If you choose to send us feedback about Claude Code using the `/bug` command, we may use your feedback to improve our products and services. Transcripts shared via `/bug` are retained for 30 days.
2029

2130
### Data retention
2231

23-
You can use an API key from a zero data retention organization. When doing so, Claude Code will not retain your chat transcripts on our servers. Users' local Claude Code clients may store sessions locally for up to 30 days so that users can resume them. This behavior is configurable.
32+
Anthropic retains Claude Code data based on your account type and preferences.
33+
34+
**Consumer users (Free, Pro, and Max plans)**:
35+
36+
* Users who allow data use for model improvement: 5-year retention period to support model development and safety improvements
37+
* Users who don't allow data use for model improvement: 30-day retention period
38+
* Privacy settings can be changed at any time at [claude.ai/settings/data-privacy-controls](claude.ai/settings/data-privacy-controls).
2439

25-
### Privacy safeguards
40+
**Commercial users (Team, Enterprise, and API)**:
2641

27-
We have implemented several safeguards to protect your data, including:
42+
* Standard: 30-day retention period
43+
* Zero data retention: Available with appropriately configured API keys - Claude Code will not retain chat transcripts on servers
44+
* Local caching: Claude Code clients may store sessions locally for up to 30 days to enable session resumption (configurable)
2845

29-
* Limited retention periods for sensitive information
30-
* Restricted access to user session data
31-
* Clear policies against using feedback for model training
46+
Learn more about data retention practices in our [Privacy Center](https://privacy.anthropic.com/).
3247

33-
For full details, please review our [Commercial Terms of Service](https://www.anthropic.com/legal/commercial-terms) and [Privacy Policy](https://www.anthropic.com/legal/privacy).
48+
For full details, please review our [Commercial Terms of Service](https://www.anthropic.com/legal/commercial-terms) (for Team, Enterprise, and API users) or [Consumer Terms](https://www.anthropic.com/legal/consumer-terms) (for Free, Pro, and Max users) and [Privacy Policy](https://www.anthropic.com/legal/privacy).
3449

3550
## Data flow and dependencies
3651

docs/docs_manifest.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
"data-usage.md": {
4040
"original_url": "https://docs.anthropic.com/en/docs/claude-code/data-usage",
4141
"original_md_url": "https://docs.anthropic.com/en/docs/claude-code/data-usage.md",
42-
"hash": "d157523a5107e7df9b74f33ed64e7f8e412d1bab392bfc014c50d3dede896da2",
43-
"last_updated": "2025-08-26T18:05:49.590143"
42+
"hash": "9139b9154f824f29435e6dad39254735d8940dcc472842ba2859ef7f150b350a",
43+
"last_updated": "2025-08-28T18:05:48.215843"
4444
},
4545
"devcontainer.md": {
4646
"original_url": "https://docs.anthropic.com/en/docs/claude-code/devcontainer",
@@ -51,8 +51,8 @@
5151
"github-actions.md": {
5252
"original_url": "https://docs.anthropic.com/en/docs/claude-code/github-actions",
5353
"original_md_url": "https://docs.anthropic.com/en/docs/claude-code/github-actions.md",
54-
"hash": "ec4be02dbd612ac58c3f6e65ab912e74e0bd9631a7227ceec16e6af10775cbe7",
55-
"last_updated": "2025-08-26T21:03:56.904748"
54+
"hash": "de4f4b56f46236c29eb47e0f6c2b2ef2f31c52b2f436cf9dc3e353e605f80c45",
55+
"last_updated": "2025-08-28T18:05:49.329385"
5656
},
5757
"google-vertex-ai.md": {
5858
"original_url": "https://docs.anthropic.com/en/docs/claude-code/google-vertex-ai",
@@ -93,8 +93,8 @@
9393
"legal-and-compliance.md": {
9494
"original_url": "https://docs.anthropic.com/en/docs/claude-code/legal-and-compliance",
9595
"original_md_url": "https://docs.anthropic.com/en/docs/claude-code/legal-and-compliance.md",
96-
"hash": "a8355db3b48e8a5f9105b504cde190b84b35806762cea3fd2c0821f650c8dc83",
97-
"last_updated": "2025-07-31T03:30:23.368363"
96+
"hash": "0204d2f835282a350861c31c5c3bf2f2d9905861132b528ddf475c2bd95f3386",
97+
"last_updated": "2025-08-28T18:05:53.250892"
9898
},
9999
"llm-gateway.md": {
100100
"original_url": "https://docs.anthropic.com/en/docs/claude-code/llm-gateway",
@@ -165,8 +165,8 @@
165165
"security.md": {
166166
"original_url": "https://docs.anthropic.com/en/docs/claude-code/security",
167167
"original_md_url": "https://docs.anthropic.com/en/docs/claude-code/security.md",
168-
"hash": "0f10cad64e06ffc97bb1fb177aad4efb994c2377c5ec562b8a5ff8e8771c6ba6",
169-
"last_updated": "2025-08-13T15:14:31.276907"
168+
"hash": "445736d87e805abec16b712016d7e3068516b9ba20f4a0e54d62667db1e5948f",
169+
"last_updated": "2025-08-28T18:05:59.943485"
170170
},
171171
"settings.md": {
172172
"original_url": "https://docs.anthropic.com/en/docs/claude-code/settings",
@@ -225,8 +225,8 @@
225225
}
226226
},
227227
"fetch_metadata": {
228-
"last_fetch_completed": "2025-08-28T15:04:53.617452",
229-
"fetch_duration_seconds": 20.090009,
228+
"last_fetch_completed": "2025-08-28T18:06:04.587464",
229+
"fetch_duration_seconds": 20.62796,
230230
"total_pages_discovered": 36,
231231
"pages_fetched_successfully": 37,
232232
"pages_failed": 0,
@@ -236,7 +236,7 @@
236236
"total_files": 37,
237237
"fetch_tool_version": "3.0"
238238
},
239-
"last_updated": "2025-08-28T15:04:53.617484",
239+
"last_updated": "2025-08-28T18:06:04.587490",
240240
"base_url": "https://raw.githubusercontent.com/mnestorov/cc-docs-mirror/main/docs/",
241241
"github_repository": "mnestorov/cc-docs-mirror",
242242
"github_ref": "main",

docs/github-actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ All beta users must make these changes to their workflow files in order to upgra
114114
claude_args: |
115115
--system-prompt "Follow our coding standards"
116116
--max-turns 10
117-
--model claude-4-0-sonnet-20250805
117+
--model claude-sonnet-4-20250514
118118
```
119119
120120
<Tip>

docs/legal-and-compliance.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66

77
### License
88

9-
Claude Code is provided under Anthropic's [Commercial Terms of Service](https://www.anthropic.com/legal/commercial-terms).
9+
Your use of Claude Code is subject to:
10+
11+
* [Commercial Terms](https://www.anthropic.com/legal/commercial-terms) - for Team, Enterprise, and Anthropic API users
12+
* [Consumer Terms](https://www.anthropic.com/legal/consumer-terms) - for Free, Pro, and Max users
1013

1114
### Commercial agreements
1215

@@ -30,4 +33,4 @@ Anthropic manages our security program through HackerOne. [Use this form to repo
3033

3134
***
3235

33-
© Anthropic PBC. All rights reserved. Use is subject to Anthropic's [Commercial Terms of Service](https://www.anthropic.com/legal/commercial-terms).
36+
© Anthropic PBC. All rights reserved. Use is subject to applicable Anthropic Terms of Service.

docs/security.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ Prompt injection is a technique where an attacker attempts to override or manipu
4343

4444
We have implemented several safeguards to protect your data, including:
4545

46-
* Limited retention periods for sensitive information
46+
* Limited retention periods for sensitive information (see the [Privacy Center](https://privacy.anthropic.com/en/articles/10023548-how-long-do-you-store-my-data) to learn more)
4747
* Restricted access to user session data
48-
* Clear policies against using feedback for model training
48+
* User control over data training preferences. Consumer users can change their [privacy settings](https://claude.ai/settings/privacy) at any time.
4949

50-
For full details, please review our [Commercial Terms of Service](https://www.anthropic.com/legal/commercial-terms) and [Privacy Policy](https://www.anthropic.com/legal/privacy).
50+
For full details, please review our [Commercial Terms of Service](https://www.anthropic.com/legal/commercial-terms) (for Team, Enterprise, and API users) or [Consumer Terms](https://www.anthropic.com/legal/consumer-terms) (for Free, Pro, and Max users) and [Privacy Policy](https://www.anthropic.com/legal/privacy).
5151

5252
### Additional safeguards
5353

0 commit comments

Comments
 (0)