There is no universal privacy switch. To keep an AI coding assistant from using your game code for model training, identify the exact product, account tier, IDE or CLI, and model provider first. Then disable every available training, model-improvement, content-sharing, and code-telemetry control; prefer a plan with an explicit no-training commitment; remove secrets and unreleased assets from the assistant’s scope; and record the settings for everyone on the project. GitHub Copilot individual users must disable its personal training setting, Cursor users should verify Privacy Mode, Claude Code consumer users should understand the consumer improvement policy and Incognito chats, and Amazon Q users must distinguish Free Tier from Pro.
The practical answer: a training opt-out does not automatically mean your repository stays on your computer. A hosted assistant may still transmit prompts, code snippets, repository context, metadata, or usage signals so it can generate a response. Treat model training, retention, transmission, subprocessors, telemetry, and administrative enforcement as separate questions.
For a commercially sensitive game, start with the narrowest possible workspace, keep credentials and unreleased content out of prompts, and choose a plan whose current documentation gives a clear no-training commitment. Recheck the controls whenever you change accounts, models, IDE extensions, command-line tools, or vendor terms.
What should you do before opening the repository?
Before an assistant indexes or edits the project, inventory every path through which it can see the code. A game may be exposed through an IDE extension, a command-line agent, a web dashboard, a cloud build integration, a pull-request bot, or a separate personal account signed into the same editor.
- Name the exact product and tier. Record the assistant, Free/Pro/Business/Enterprise or equivalent plan, IDE extension, CLI, API or hosted integration, and the account that is authenticated.
- List the data in scope. Include source code, commit history, issue text, design documents, crash logs, prompts, generated outputs, code snippets, repository names, and file paths. Assume context supplied automatically by an editor is still data sent to the service.
- Locate every privacy control. Search the product’s current settings for training, model improvement, content sharing, data sharing, telemetry, retention, privacy mode, and incognito options. A setting in an IDE may not control a separate web or CLI session.
- Remove high-value material. Do not expose API keys, signing certificates, passwords, payment credentials, unreleased art, proprietary algorithms, confidential design documents, partner materials, or production server access tokens.
- Limit workspace scope. Open only the project or subdirectory needed for the task. Exclude secret files, build outputs, player data, private issue exports, and unrelated repositories from the assistant’s workspace.
- Document the decision. Write down the approved assistant, account tier, privacy mode, retention terms, telemetry status, repository scope, and the person responsible for reviewing changes.
This preparation prevents a common mistake: changing one visible toggle while another integration or account continues to process the same project.
What is the difference between stopping training and stopping transmission?
Stopping training limits how a provider may use received data; it does not necessarily stop the data from being sent. A coding assistant can need prompts, code context, repository metadata, or operational signals to provide completions even when those materials are excluded from model training.
| Question | What to verify | Why it matters to a game project |
|---|---|---|
| Training or improvement | Are prompts, outputs, snippets, and context used to train or improve models? Is the control an opt-out, opt-in, or plan-level exclusion? | Training use can create a different risk from ordinary service processing and may be governed by a separate setting. |
| Transmission | What leaves the workstation, through which feature, and which model provider receives it? | A no-training promise does not make a hosted assistant local-only. |
| Retention | How long are prompts, outputs, logs, and account records retained? | Retention affects the exposure window if an account or vendor system is compromised. |
| Subprocessors and routing | Are requests sent to other providers or subprocessors, and do their terms match the main product? | One project can be subject to multiple data-handling policies. |
| Telemetry | Does telemetry contain code, or only usage events such as acceptance or rejection of a suggestion? | Usage analytics can remain enabled after content sharing is disabled. |
| Enforcement | Can an administrator enforce the setting and audit it across accounts, IDEs, and CLIs? | A team policy is ineffective if a personal account can bypass it. |
If your requirement is that code never leaves a controlled environment, a training toggle is insufficient. You need a deployment whose technical documentation demonstrates that inference and storage stay inside infrastructure you control. Do not call a product local or offline without that evidence.
How do I stop GitHub Copilot from training on my code?
Individual Copilot users must disable the personal setting named “Allow GitHub to use my data for AI model training.” Copilot Business and Enterprise customer data is documented as not being used to train models.
GitHub announced on March 25, 2026 that, beginning April 24, 2026, interaction data from Copilot Free, Pro, and Pro+ users would be used to train and improve AI models unless users opted out. GitHub describes interaction data as including inputs, outputs, code snippets, and associated context. That change does not apply to Business and Enterprise users under the documented policy.
- Sign in to the GitHub account that your IDE or CLI uses for Copilot.
- Open your GitHub Copilot settings.
- Find the Privacy section.
- Set Allow GitHub to use my data for AI model training to Disabled.
- Save the change, then repeat the check in any other personal account used on the project.
GitHub’s documentation describes this as an opt-out in personal settings. Business and Enterprise plans do not show the individual training control because the customer-data policy already excludes their data from model training.
Important limitation: disabling model training does not prove that a repository never leaves the machine. Copilot processes prompts, outputs, code snippets, and associated context depending on the feature and access method. Keep secrets out of the workspace and review retention, telemetry, and any other integrations separately.
How do I verify Cursor Privacy Mode for a confidential game?
Turn on and verify Cursor’s Privacy Mode before opening the repository. Cursor’s privacy documentation states that Privacy Mode ensures your code is never used for training by Cursor or other AI model providers.
- Open the Cursor account or application privacy controls before loading the game workspace.
- Confirm that Privacy Mode is enabled for the account and project you will use.
- Check whether a team, enterprise policy, model selection, or external provider changes the effective setting.
- Review the current privacy documentation for retention, subprocessors, logging, and account-specific terms.
- Recheck the mode after reinstalling the editor, changing accounts, or switching model providers.
Privacy Mode addresses training use, but it does not answer every governance question. A project can still have transmission, retention, logging, or routing risks that are outside the training guarantee. For a team, capture a screenshot or written record of the mode and the date it was verified, then make the same requirement part of the development policy.
Can Claude Code use a private game repository to improve models?
For Claude Code used through Anthropic consumer accounts, the consumer privacy policy says chat and coding-session data may be used to improve models. Incognito chats are not used to improve Claude even when Model Improvement is enabled.
This is a consumer-policy statement, not a blanket rule for every deployment. API, enterprise, hosted-platform, or third-party arrangements can have different terms, so identify the account and service that actually receives the coding session.
- Determine whether the session is attached to a consumer Free, Pro, Max, or other consumer account.
- Review the account’s Model Improvement control and the current consumer privacy terms.
- Use an Incognito chat when the policy and workflow permit it and the session must not be used to improve Claude.
- Do not assume Incognito changes retention, transmission, or access by other integrations; verify those issues separately.
- For a team, require an approved account type and deployment rather than allowing developers to choose personal accounts ad hoc.
Incognito is a session-level protection described in the consumer documentation. It should not be generalized to every Claude Code installation or to every provider that can be called from a coding tool.
Is Amazon Q Developer Free Tier safe for a confidential repository?
Amazon Q Developer Pro content is documented as not being used for service improvement or model training. Free Tier content may be used for service improvement, including model training, unless the user opts out in the relevant environment.
The tier distinction is decisive. Record whether the developer is authenticated to Pro or Free Tier, and whether the request comes from an IDE, command-line tool, or another integration.
- Identify the Amazon Q account and subscription tier used by the IDE or CLI.
- For a Pro account, retain the plan record showing the documented no-training treatment of code content.
- For Free Tier use, open the Amazon Q settings in the relevant environment and look for content-sharing controls.
- In VS Code, the documented path is Amazon Q settings, then disable Share Amazon Q content with AWS.
- If the organization manages the environment, check whether an organization-level policy overrides the local setting.
- Verify the setting again after changing IDEs, accounts, or tiers.
AWS also separates content sharing from client-side telemetry. Its IDE documentation says telemetry can include usage signals such as whether recommendations were accepted or rejected and says that this telemetry does not contain actual code. Disabling content sharing therefore does not automatically mean every usage signal is disabled, and telemetry does not necessarily represent code transmission.
Which assistant is safest for an indie game?
The safest documented choice is the one whose exact plan and deployment provide a clear no-training commitment, enforceable controls, and acceptable retention and transmission terms. There is no universal ranking because the same brand can have different rules for personal, team, enterprise, Free Tier, Pro, API, IDE, and CLI use.
| Assistant or deployment | Documented training position | Control or qualification | What still needs review |
|---|---|---|---|
| GitHub Copilot Free, Pro, Pro+ | Interaction data may be used for training and improvement from April 24, 2026 unless opted out. | Disable Allow GitHub to use my data for AI model training in personal Copilot settings. | Prompts, outputs, snippets, associated context, retention, telemetry, and feature-specific transmission. |
| GitHub Copilot Business, Enterprise | Customer data is documented as not used to train AI models. | Plan-level treatment; the individual training setting is not shown. | Transmission, retention, subprocessors, and administrative scope. |
| Cursor | Privacy Mode ensures code is never used for training by Cursor or other AI model providers. | Enable and verify Privacy Mode. | Retention, logging, subprocessors, account terms, and provider routing. |
| Claude Code on consumer accounts | Chat and coding-session data may be used to improve models under the consumer policy. | Incognito chats are not used to improve Claude even when Model Improvement is enabled. | Whether the deployment is consumer, API, enterprise, or third party, plus retention and transmission. |
| Amazon Q Developer Pro | Code content is documented as not used for service improvement or model training. | Use the Pro tier and document the account and environment. | Telemetry, retention, routing, and organization policy. |
| Amazon Q Developer Free Tier | Content may be used for service improvement, including training, unless opted out. | Disable content sharing in the relevant IDE or follow an organization-level policy. | Whether the opt-out covers every environment and what telemetry remains. |
For a solo developer, an explicit documented setting may be enough if the project contains no regulated or exceptionally valuable material. For a team, administrative enforcement and auditability often matter more than a convenient toggle. For highly confidential code, evaluate a toolchain that runs inside infrastructure the team controls and verify its technical architecture rather than relying on a marketing label.
How should an indie studio write its AI coding policy?
Write a one-page policy that names approved accounts, settings, data boundaries, and review triggers. A short, specific rule is easier to follow than a general warning not to leak code.
Include these fields:
- Approved assistant and tier: product name, plan, IDE extension, CLI, and permitted model providers.
- Privacy state: training opt-out, Privacy Mode, Incognito requirement, content-sharing state, and telemetry state.
- Repository scope: allowed directories and explicit exclusions such as secrets, signing material, unreleased assets, production configurations, and confidential design files.
- Account ownership: personal accounts prohibited or approved, team administrator, and incident-response contact.
- Retention and routing: documented retention period, subprocessors, and provider changes that require review.
- Verification schedule: review after vendor policy changes, model-provider changes, account-tier changes, IDE migrations, extension reinstalls, or new integrations.
- Incident procedure: revoke exposed credentials, remove the affected workspace, preserve relevant logs, notify the project owner, and determine whether any confidential material was transmitted.
Require developers to record the date they verified the setting. A policy that cannot show which account and environment were checked is difficult to audit.
What files should never be exposed to a coding assistant?
Keep credentials and irreplaceable unreleased material outside the assistant’s context even when training is disabled. Training controls address a provider’s permitted use; they do not make a secret safe to transmit.
- Cloud, analytics, payment, and backend API keys
- Code-signing certificates, keystores, private keys, and recovery codes
- Passwords, session cookies, access tokens, and database connection strings
- Unreleased game builds, source art, audio masters, narrative scripts, and partner assets
- Proprietary matchmaking, anti-cheat, monetization, or procedural-generation algorithms
- Confidential contracts, licensing terms, employee records, and private issue exports
- Production infrastructure files and deployment credentials
Use repository ignore rules, separate secret stores, environment variables, and narrowly scoped workspaces. Inspect the files that an IDE automatically includes in context; a secret does not become safe merely because it was not pasted into the chat box.
How can you verify that the setting still protects the project?
Verification is a repeatable audit, not a one-time checkbox. Run it after every material change to the account, editor, model provider, or vendor terms.
- Sign in to the account that actually performs the request.
- Confirm the current plan or tier.
- Open the product’s privacy or data settings and record the exact state of training, model improvement, content sharing, and telemetry controls.
- Check the IDE extension and CLI separately if both are installed.
- Review the selected model provider and any third-party routing option.
- Confirm that the workspace still excludes secrets and unrelated repositories.
- Store the verification date and account identity in the team policy.
- Repeat after an extension reinstall, account migration, plan change, new model, or policy update.
If a setting is missing, ambiguous, or different across environments, treat the stricter interpretation as the safe default: do not open confidential code until the vendor’s current terms or an administrator’s policy resolves the uncertainty.
What are the most common privacy mistakes?
Most failures come from scope and account confusion rather than from ignoring a single obvious toggle. The following mistakes are easy to prevent.
- Assuming “opt out” means local-only. It usually addresses training use, not transmission or retention.
- Checking the wrong account. A developer may configure a work account while the IDE remains signed into a personal account.
- Ignoring plan changes. Free, Pro, Business, Enterprise, and API policies can differ materially.
- Forgetting the CLI. A command-line agent can use different credentials or settings from the IDE extension.
- Leaving content sharing enabled. Amazon Q, for example, documents content-sharing controls separately from telemetry.
- Assuming an enterprise promise covers a personal integration. A team policy cannot automatically govern a developer’s unrelated consumer account.
- Opening the whole monorepo. The assistant may receive unrelated tools, prototypes, secrets, or licensed assets.
- Failing to recheck after updates. Vendor terms, model providers, and interface labels can change.
What should you do if confidential code was already sent?
Contain the exposure first, then determine which policy and data path applied. Do not wait for a training question to be resolved before revoking credentials.
- Revoke and rotate any API keys, passwords, tokens, certificates, or signing material that may have been included.
- Remove the sensitive files from the assistant’s workspace and stop further prompts containing the material.
- Record the product, account, tier, IDE or CLI, date, files, and prompts involved.
- Check whether training, content sharing, or model-improvement controls were enabled at that time.
- Notify the project owner or security contact and follow the studio’s incident process.
- Ask the vendor’s documented support or privacy channel about retention and deletion options where appropriate; do not assume deletion is automatic.
- Update ignore rules, workspace boundaries, and the team policy before resuming use.
Whether a code sample was used for training is only one part of the incident. The immediate risks may be credential reuse, retained logs, provider routing, or disclosure of unreleased intellectual property.
Can a local or self-hosted assistant eliminate these risks?
It can reduce dependence on a hosted provider, but “local” is a technical claim that must be verified. Confirm where inference runs, whether updates or telemetry leave the environment, what data is logged, and which components can call external model providers.
A tool may run part of its workflow locally while still sending prompts, embeddings, crash reports, or usage data to a service. Conversely, a controlled internal deployment may offer stronger governance without being completely offline. Base the decision on documented architecture, retention, and network behavior rather than on the product label.
Printable checklist for a confidential game repository
- Identify every assistant, account, tier, IDE extension, CLI, and model provider.
- Disable training, model-improvement, and content-sharing options where available.
- Enable Cursor Privacy Mode, GitHub’s personal Copilot training opt-out, or the relevant Amazon Q and Claude controls when applicable.
- Exclude keys, certificates, passwords, unreleased assets, proprietary algorithms, and confidential documents.
- Open only the directories required for the task.
- Review retention, subprocessors, routing, telemetry, and administrative enforcement.
- Record the settings, account, plan, scope, and verification date.
- Recheck after account, tier, IDE, CLI, model, or policy changes.
- Maintain an incident path for accidental disclosure.
Following this checklist does not make a hosted assistant local, but it separates the risks clearly and prevents a single misunderstood setting from becoming the project’s entire privacy strategy.
Frequently Asked Questions
Can I keep AI autocomplete enabled while blocking model training?
Usually, yes: the documented controls are designed to change how received content may be used, not necessarily to disable the coding feature. You must still verify what prompts and context are transmitted and whether the exact IDE, CLI, and account inherit the same setting.
Does deleting a repository or chat remove copies already processed by an assistant?
Not automatically. Retention and deletion rules are separate from training controls, so check the current policy for the account and deployment involved and document any request through the vendor’s official privacy or support channel.
Is Claude Code Incognito a global privacy switch?
No. The consumer documentation describes Incognito as applying to chats marked Incognito, which are not used to improve Claude even when Model Improvement is enabled. It should not be assumed to cover other sessions, accounts, APIs, or third-party integrations.
Should contractors use their own AI assistant accounts on the game repository?
Only if the studio policy explicitly approves that account type, tier, privacy state, and workspace scope. Personal accounts can bypass team enforcement and may have different training, retention, and routing terms.
What is the first setting to check after changing an IDE?
Check the authenticated account and plan before checking the visible privacy toggle. An IDE migration can silently switch credentials, extensions, or model providers, making a previously verified setting irrelevant.