<!-- KeepSnappy docs for keepsnappy CLI 0.1.0-alpha.35 -->

# Your data

> What KeepSnappy receives from your CI and your test build, what the AI steps send, and how long KeepSnappy keeps it.

[The `keepsnappy` command](https://keepsnappy.com/docs/glossary.md#the-keepsnappy-command) in your CI and the SDK in your [measuring build](https://keepsnappy.com/docs/glossary.md#measuring-build) send:

- commit data: branch, commit hash, commit subject line, author name and date, pull request number and link;
- device data: the phone model, its OS version, the test device's own identifier (a simulator's UDID or a phone's serial) and an install identifier made by the SDK (the iOS vendor id or the Android ID);
- measurements: timings, render counts, memory, request counts, CPU profiles and React render traces;
- app structure: screen names, component names, file paths from your source maps, and the names of tapped elements.

Source code is removed from the source maps before upload. A tapped element with no test id and no accessibility label is named by the first 40 characters of its text. To turn that off, set the SDK plugin's `tapText` option to `false` ([plugin options](https://keepsnappy.com/docs/sdk.md#plugin-options)). KeepSnappy collects no screenshots, videos or typed text.

The [AI steps](https://keepsnappy.com/docs/ask-the-ai.md) are optional. They run in your own CI with your own AI key, and your AI provider receives the diff. KeepSnappy never receives the diff. It stores the AI's answers, with fenced code, quoted diff lines and secrets taken out. A name or a short piece of code in the AI's own words can remain ([what leaves your CI](https://keepsnappy.com/docs/ai-in-ci.md#what-leaves-your-ci)).

## The Metro dependency graph

A release bundle or export with the SDK in it also saves the Metro dependency graph. The file has the source map's name with `.metro-graph.json.gz` added and sits next to the map, or next to the bundle without a map. It lists which of your files import which, by paths relative to your repository, without file contents, and never goes into the app. The source map upload sends it with the map, and [AI review](https://keepsnappy.com/docs/ai-review.md) follows it from a slower place to the changed files. If the graph can't be saved, the build goes on and Metro prints `KeepSnappy: could not save the Metro dependency graph`. Set `KEEPSNAPPY_METRO_GRAPH=0` for the build to stop saving it, or for the upload to stop sending it ([the build switch](https://keepsnappy.com/docs/sdk.md#the-build-switch)).

## How long data is kept

Until 31 December 2026, KeepSnappy deletes nothing, and the rules below take effect on that day.

Raw measurements, such as the batches and profile files that the SDK and the `keepsnappy` command sent, are deleted 30 days after their session's newest data arrived. KeepSnappy keeps them longer, for up to 13 months, while it still needs them to judge later changes: for `main`'s newest sessions, which pull requests are compared with, and for every session with a **Worse** or **Slightly worse** result.

Results and account data are kept until you ask to delete them ([Leaving KeepSnappy](https://keepsnappy.com/docs/leaving.md#5-ask-for-your-data-to-be-deleted)). The [privacy policy](https://keepsnappy.com/privacy) has the details.

All KeepSnappy docs for agents: https://keepsnappy.com/llms.txt
