Privacy Policy

Last updated: April 2026

The short version: CodeStrain is privacy-first by design. Your code, prompts, and file contents never leave your device. The server never sees your source code. Period.

1. Who We Are

CodeStrain is operated by TOO HubLab ("HubLab.ai"), an Astana Hub resident entity registered in the Republic of Kazakhstan. This policy applies to the CodeStrain macOS application, CLI tool, and cloud services at codestrain.dev.

2. Data We Collect

2.1 Data Stored Locally (On Your Device Only)

The CodeStrain desktop app collects and stores the following data exclusively on your local machine:

We never store your code, prompts, AI responses, or file contents. The app reads Claude Code JSONL logs to extract metadata only. Content is processed in memory and immediately discarded.

2.2 Data Synced to Server (PRO/TEAM Only)

If you subscribe to CodeStrain PRO or TEAM, the following encrypted feature vectors are synced to our server for ML predictions:

These are numerical features only. No code, no prompts, no file paths, no project names. Feature vectors are encrypted in transit (TLS 1.3) and at rest (AES-256).

2.3 Account Data (PRO/TEAM Only)

2.4 Data We Never Collect

3. How We Use Your Data

4. Data Storage and Security

5. Data Retention

6. Your Rights (GDPR)

Under the General Data Protection Regulation and similar laws, you have the right to:

The FREE tier is fully local with no server component, so GDPR data-subject requests apply only to PRO/TEAM subscribers.

7. Third-Party Services

We do not use analytics trackers, advertising networks, or data brokers.

8. Children

CodeStrain is not directed at children under 16. We do not knowingly collect data from children.

9. Changes to This Policy

We will notify users of material changes via email (PRO/TEAM) or in-app notice. The "Last updated" date at the top reflects the most recent revision.

10. Contact

For privacy inquiries, data requests, or concerns:
Email: privacy@codestrain.dev
Entity: TOO HubLab, Astana Hub, Astana, Kazakhstan