Privacy Policy

Last updated: January 2025

1. Introduction

Doctective ("we", "our", or "us") is committed to protecting your privacy. This Privacy Policy explains how we collect, use, and safeguard your information when you use our documentation automation service.

2. Information We Collect

Account Information

When you sign up for Doctective, we collect:

  • Your GitHub username and email address
  • Your GitHub profile information (name, avatar)
  • Authentication tokens for API access

Repository Data

When you connect repositories to Doctective, we access:

  • Repository names and metadata
  • Source code files for analysis
  • Commit history and pull request information
  • File structure and dependencies

Usage Data

We automatically collect:

  • Pages visited and features used
  • Device and browser information
  • IP address and approximate location
  • Error logs and performance data

3. How We Use Your Information

We use your information to:

  • Provide and improve the Doctective service
  • Analyze your code to generate documentation
  • Create and update documentation via pull requests
  • Send important service notifications
  • Respond to support requests
  • Detect and prevent fraud or abuse

4. Data Storage and Security

Your data is stored securely using industry-standard encryption. We use Supabase for database hosting and implement security best practices including encrypted connections, access controls, and regular security audits.

We do not permanently store your source code. Code is analyzed in memory and only the extracted documentation metadata is retained.

5. Third-Party Services

We use the following third-party services:

  • GitHub: For authentication and repository access
  • Supabase: For database and authentication infrastructure
  • Stripe: For payment processing
  • Vercel: For hosting and analytics
  • Sentry: For error tracking and monitoring
  • PostHog: For product analytics

These services have their own privacy policies and handle data according to their terms.

6. Data Sharing

We do not sell your personal information. We may share data only:

  • With your consent
  • To comply with legal obligations
  • To protect our rights or safety
  • With service providers who assist in operating our service

7. Your Rights

You have the right to:

  • Access your personal data
  • Correct inaccurate data
  • Delete your account and associated data
  • Export your data
  • Opt out of non-essential communications

To exercise these rights, contact us at support@doctective.app or disconnect your GitHub account from the service.

8. Data Retention

We retain your data for as long as your account is active. When you delete your account, we remove your personal information and repository analysis data within 30 days. Some aggregated, anonymized data may be retained for analytics purposes.

9. Cookies

We use essential cookies for authentication and session management. We also use analytics cookies to understand how users interact with our service. You can manage cookie preferences through your browser settings.

10. Children's Privacy

Doctective is not intended for users under 13 years of age. We do not knowingly collect information from children under 13.

11. Changes to This Policy

We may update this Privacy Policy from time to time. We will notify you of significant changes by email or through a notice on our website.

12. Contact Us

If you have questions about this Privacy Policy or our data practices, please contact us at support@doctective.app.