diff --git a/PRIVACY.md b/PRIVACY.md index fac232c1..6cc40cc5 100644 --- a/PRIVACY.md +++ b/PRIVACY.md @@ -1,6 +1,6 @@ # Mobile Dev Privacy Policy -Last updated: 23 November 2026 +Last updated: 25 November 2026 ## 1. Who we are and what this policy covers @@ -36,6 +36,12 @@ Depending on the tools you use, Mobile Dev processes: - Native and Metro logs, including messages, timestamps, app/process metadata, and stack traces. - App CPU, memory, thread, FPS, and frame-timing measurements and saved recordings. +- App Intelligence project paths, screen names and routes, project-relative source + and asset paths, package names, static import relationships, and analysis + diagnostics when you generate or query a source graph. +- Testing Studio project paths and configuration, element trees, recorded steps, generated + test source, runner output, and locally kept unsaved recordings when you record, + edit, or run an e2e test. - App storage keys, values, database rows, and file metadata when you inspect storage. Results are filtered before reaching the host or panel: recognized sensitive fields, credential-like values, and binary values are redacted. These @@ -82,14 +88,15 @@ uploads of your app's recorded CPU/memory/FPS samples. Error and crash reports include a random installation ID, persistent across updates and restarts, and a random process-session ID. They are not derived from -your name, email, OpenAI account, device ID, or machine name. Because the +your name, email, host account, device ID, or machine name. Because the installation ID links reports over time, we treat it as pseudonymous information, not a guarantee of anonymity. These IDs are excluded from performance metrics and span attributes. The reporting code excludes MCP arguments/results, screenshots, screen video, -app log content, typed/pasted text, app storage contents, profile contents, and -device performance recordings. It scrubs common secrets, email addresses, URLs, +app log content, typed/pasted text, App Intelligence graph contents, test source +and step contents, app storage contents, profile contents, and device performance +recordings. It scrubs common secrets, email addresses, URLs, and local home paths from error text. Session Replay, minidumps, and profiling are disabled in the configured Sentry integrations. Scrubbing is a safeguard, not a reason to put secrets into your test data. @@ -107,11 +114,13 @@ input tools are not recorded. Analytics events exclude MCP arguments and results, app and device content, device names and identifiers, project paths, and account details. Anal receives requests with IP-derived location disabled and excludes the IP address from -analytics records. Each connected session creates or updates a pseudonymous -installation profile with the same random installation ID, host, plugin -version, and operating system type. We use this ID to link events to the -installation. We do not combine analytics with other data about you or use them -for advertising. +analytics records. +Each connected session also creates or updates a pseudonymous installation profile +using that same random installation ID, host, plugin version, and operating system +type. We use this ID to link events to the installation. +Profiles contain no names, email addresses or account details. A persistent ID and +usage history are not a guarantee of anonymisation. We do not combine these +analytics with other data about you or use them for advertising. ### Updates and support @@ -178,10 +187,12 @@ and [OpenAI's privacy policy](https://openai.com/policies/privacy-policy/). | Product analytics in Anal | Contact us for the retention period that applies to your records. | | Product analytics in Mixpanel | Up to 24 months, then deleted. | | Local live logs | Held in bounded memory buffers. A server log session expires after five minutes without reads or keep-alives; closing the session stops collection. Copies already attached to the host follow the host's retention. | -| Saved performance recordings | Stored under `~/Library/Application Support/mobile-dev/recordings` until you remove them; the recording store has no automatic age-based expiry. | -| TraceSift integration results/references and the chosen project folder | Stored under `~/.tracesift/integrations/mobile-dev` by default, or the corresponding `TRACE_SIFT_HOME` directory, until removed. Original profiles and the TraceSift service's own data are separate. | +| Saved App Intelligence graphs and project history | Stored under `~/Library/Application Support/mobile-dev/app-intelligence` until you clear a graph or remove the files. Clearing a graph keeps the project in the recent-project list. | +| Testing Studio project history and unsaved recordings | Stored under `~/Library/Application Support/mobile-dev/testing` until you delete a recording or remove the files. Saving a recording into the project removes the local draft it replaced; the draft store keeps at most 30 recordings. Tests saved into the project's `tests/` folder follow your repository's retention. | | agent-device session state, logs and artifacts | Kept in a `mobile-dev-agent-device-` directory in the system temporary folder after a session, so they stay readable, until the operating system or you remove them. | | agent-device's iOS test runner | Built from the plugin's included source and cached in `~/.agent-device/apple-runner` until you remove it. | +| Saved performance recordings | Stored under `~/Library/Application Support/mobile-dev/recordings` until you remove them; the recording store has no automatic age-based expiry. | +| TraceSift integration results/references and the chosen project folder | Stored under `~/.tracesift/integrations/mobile-dev` by default, or the corresponding `TRACE_SIFT_HOME` directory, until removed. Original profiles and the TraceSift service's own data are separate. | | Installation ID | Stored at `~/Library/Application Support/mobile-dev/telemetry/anonymous-user-id` until you remove it. Process-session IDs last for the process; copies in sent reports follow Sentry retention. | | Native crash-report caches | Pending reports can persist between runs under `~/Library/Caches/mobile-dev/sentry` or `/data/local/tmp/mobile-dev-sentry` on Android and be sent on a subsequent start. They can be removed after stopping the relevant processes. | | Temporary app-storage database copies | Created locally for inspection and removed by the operation's cleanup handler. An interrupted process may leave temporary files for OS/manual cleanup. | @@ -189,8 +200,8 @@ and [OpenAI's privacy policy](https://openai.com/policies/privacy-policy/). Sentry's [data retention periods](https://docs.sentry.io/security-legal-pii/security/data-retention-periods/) apply to active telemetry data. Sentry separately [reports deleting production event-data backups](https://www.sentry.help/en/articles/13965019-how-frequently-is-data-backed-up) 30 or 90 days after backup creation, depending on the data type; that guidance does not specify an Application Metrics-specific backup period. Active-data expiry does not imply immediate removal from backups. -Uninstalling the plugin does not necessarily remove saved recordings, identifiers, -crash caches, TraceSift files, host messages, or backups. GitHub, the host, your +Uninstalling the plugin does not necessarily remove saved recordings, testing drafts, +identifiers, crash caches, TraceSift files, host messages, or backups. GitHub, the host, your operating system, and your own backup tools manage their copies separately. ## 6. Your choices and rights diff --git a/README.md b/README.md index c269fa3b..f0633bca 100644 --- a/README.md +++ b/README.md @@ -117,8 +117,9 @@ What the Claude version runs on your Mac, besides its Node.js server: - **A Node.js launcher and a session check** in the Claude Code plugin, which find Node.js and start the server. -It sends plugin errors and aggregate measurements to Sentry, as described under -[Privacy and support](#privacy-and-support), and nothing else to Callstack; +It sends plugin errors and aggregate measurements to Sentry and basic product +analytics to Anal, as described under [Privacy and support](#privacy-and-support), +and nothing else to Callstack; profiles go only to the TraceSift service on your Mac. ### T3 Code @@ -274,9 +275,14 @@ Mobile Dev reports plugin errors, crashes, usage counters, sampled traces, and aggregate plugin performance measurements to Sentry by default. App logs, screenshots, input content, tool payloads, app storage contents, profiles, and device performance recordings are excluded from that telemetry. Errors and -crashes use a randomly generated persistent installation ID. Set -`MOBILE_DEV_TELEMETRY=off` in the MCP launch environment and restart the plugin -processes to disable reporting. For the Mac app, start it with +crashes use a randomly generated persistent installation ID. Release builds also +send basic product analytics to Anal at `anal.margelo.com`: that a session started +or a tool was called, with the tool's name, whether it succeeded, the host, the +plugin version, the operating system type, and the same installation ID. Analytics +exclude tool arguments and results, app and device content, device names, project +paths, and account details. Set `MOBILE_DEV_TELEMETRY=off` in the MCP launch +environment and restart the plugin processes to disable reporting, or set +`MOBILE_DEV_ANALYTICS=off` to disable only product analytics. For the Mac app, start it with `open --env MOBILE_DEV_TELEMETRY=off "Mobile Dev.app"`. Tool results and content sent to chat are handled by the host separately. Read the [Privacy Policy](PRIVACY.md) and [Terms of Service](TERMS.md), or see diff --git a/TERMS.md b/TERMS.md index 94e3a55a..7f56f3f8 100644 --- a/TERMS.md +++ b/TERMS.md @@ -82,9 +82,10 @@ Naming them does not imply endorsement. ## 5. Privacy The [Privacy Policy](PRIVACY.md) explains local processing, tool results supplied -to the host, Sentry diagnostics enabled by default, saved data, and your controls. -You can disable new telemetry by setting `MOBILE_DEV_TELEMETRY=off` in the MCP -launch environment and restarting the plugin processes. Agreeing to these terms +to the host, Sentry diagnostics and product analytics enabled by default, saved data, and +your controls. You can disable new telemetry by setting `MOBILE_DEV_TELEMETRY=off` +in the MCP launch environment and restarting the plugin processes, or only +product analytics with `MOBILE_DEV_ANALYTICS=off` or `DO_NOT_TRACK=1`. Agreeing to these terms does not substitute for consent where the law requires it. ## 6. Updates, availability, and ending use diff --git a/apps/claude/README.md b/apps/claude/README.md index a95a3529..02d416bc 100644 --- a/apps/claude/README.md +++ b/apps/claude/README.md @@ -90,9 +90,15 @@ Mobile Dev reports plugin errors, crashes, usage counters, sampled traces, and aggregate plugin performance measurements to Sentry by default. App logs, screenshots, input content, tool payloads, app storage contents, profiles, and device performance recordings are excluded from that telemetry. Errors and crashes use a -randomly generated persistent installation ID. Nothing else goes to Callstack, and -profiles go only to the TraceSift service on your Mac. Set `MOBILE_DEV_TELEMETRY=off` -in the environment Claude starts from, then restart Claude, to turn reporting off. +randomly generated persistent installation ID. Mobile Dev also sends basic product +analytics to Anal at `anal.margelo.com`: that a session started or a tool was called, +with the tool's name, whether it succeeded, the host, the plugin version, the +operating system type, and the same installation ID. Analytics exclude tool arguments +and results, app and device content, device names, project paths, and account details. +Nothing else goes to Callstack, and profiles go only to the TraceSift service on your +Mac. Set `MOBILE_DEV_TELEMETRY=off` in the environment Claude starts from, then restart +Claude, to turn reporting off, or `MOBILE_DEV_ANALYTICS=off` to turn off only product +analytics. Read the [Privacy Policy](PRIVACY.md) and [Terms of Service](TERMS.md). For help, email [hello@callstack.com](mailto:hello@callstack.com) or see diff --git a/website/src/content/docs/docs/privacy.md b/website/src/content/docs/docs/privacy.md index ae254de0..9f4475fa 100644 --- a/website/src/content/docs/docs/privacy.md +++ b/website/src/content/docs/docs/privacy.md @@ -3,7 +3,7 @@ title: Privacy Policy description: Read how Mobile Dev processes local development data, shares results with your host, collects diagnostics, and provides privacy controls. --- -Last updated: 23 November 2026 +Last updated: 25 November 2026 ## 1. Who we are and what this policy covers @@ -91,15 +91,15 @@ uploads of your app's recorded CPU/memory/FPS samples. Error and crash reports include a random installation ID, persistent across updates and restarts, and a random process-session ID. They are not derived from -your name, email, OpenAI account, device ID, or machine name. Because the +your name, email, host account, device ID, or machine name. Because the installation ID links reports over time, we treat it as pseudonymous information, not a guarantee of anonymity. These IDs are excluded from performance metrics and span attributes. The reporting code excludes MCP arguments/results, screenshots, screen video, app log content, typed/pasted text, App Intelligence graph contents, test source -and step contents, app storage contents, profile contents, and device performance recordings. It scrubs common -secrets, email addresses, URLs, +and step contents, app storage contents, profile contents, and device performance +recordings. It scrubs common secrets, email addresses, URLs, and local home paths from error text. Session Replay, minidumps, and profiling are disabled in the configured Sentry integrations. Scrubbing is a safeguard, not a reason to put secrets into your test data. @@ -192,6 +192,8 @@ and [OpenAI's privacy policy](https://openai.com/policies/privacy-policy/). | Local live logs | Held in bounded memory buffers. A server log session expires after five minutes without reads or keep-alives; closing the session stops collection. Copies already attached to the host follow the host's retention. | | Saved App Intelligence graphs and project history | Stored under `~/Library/Application Support/mobile-dev/app-intelligence` until you clear a graph or remove the files. Clearing a graph keeps the project in the recent-project list. | | Testing Studio project history and unsaved recordings | Stored under `~/Library/Application Support/mobile-dev/testing` until you delete a recording or remove the files. Saving a recording into the project removes the local draft it replaced; the draft store keeps at most 30 recordings. Tests saved into the project's `tests/` folder follow your repository's retention. | +| agent-device session state, logs and artifacts | Kept in a `mobile-dev-agent-device-` directory in the system temporary folder after a session, so they stay readable, until the operating system or you remove them. | +| agent-device's iOS test runner | Built from the plugin's included source and cached in `~/.agent-device/apple-runner` until you remove it. | | Saved performance recordings | Stored under `~/Library/Application Support/mobile-dev/recordings` until you remove them; the recording store has no automatic age-based expiry. | | TraceSift integration results/references and the chosen project folder | Stored under `~/.tracesift/integrations/mobile-dev` by default, or the corresponding `TRACE_SIFT_HOME` directory, until removed. Original profiles and the TraceSift service's own data are separate. | | Installation ID | Stored at `~/Library/Application Support/mobile-dev/telemetry/anonymous-user-id` until you remove it. Process-session IDs last for the process; copies in sent reports follow Sentry retention. | diff --git a/website/src/content/docs/docs/terms.md b/website/src/content/docs/docs/terms.md index 9889e1d0..6dc60d2b 100644 --- a/website/src/content/docs/docs/terms.md +++ b/website/src/content/docs/docs/terms.md @@ -85,9 +85,10 @@ Naming them does not imply endorsement. ## 5. Privacy The [Privacy Policy](/docs/privacy) explains local processing, tool results supplied -to the host, Sentry diagnostics enabled by default, saved data, and your controls. -You can disable new telemetry by setting `MOBILE_DEV_TELEMETRY=off` in the MCP -launch environment and restarting the plugin processes. Agreeing to these terms +to the host, Sentry diagnostics and product analytics enabled by default, saved data, and +your controls. You can disable new telemetry by setting `MOBILE_DEV_TELEMETRY=off` +in the MCP launch environment and restarting the plugin processes, or only +product analytics with `MOBILE_DEV_ANALYTICS=off` or `DO_NOT_TRACK=1`. Agreeing to these terms does not substitute for consent where the law requires it. ## 6. Updates, availability, and ending use