Files
sor/Shared/legal.md
T
acacb1e03f Add server architecture initial plan and legal TODO
- Draft full server architecture in Server/initial-plan.md covering all
  services: Gateway, Auth, Game, Chat, Collection, Bazaar, Admin,
  Leaderboard, Content, Web, and CDN/Asset Pipeline
- Tech stack decisions: PostgreSQL, Redis, NATS, gRPC, Ceph (RADOSGW),
  Kubernetes, Stripe (implemented but disabled)
- Chat persistence: 30-day PostgreSQL hot window, cold archive to remote MySQL
- Leaderboard: Redis Sorted Sets for live rankings, PostgreSQL for history
- Asset pipeline: Admin card builder → Ceph origin → CDN → client
- Create Shared/legal.md with prioritized legal TODO list covering TOS,
  EULA, Privacy Policy, GDPR, Stripe/PCI compliance, CCPA, Cookie Policy,
  and COPPA

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-02-23 23:46:06 -05:00

105 lines
5.4 KiB
Markdown

# Legal TODO
This file tracks all outstanding legal, compliance, and policy requirements. None of these need to be resolved before internal development, but all must be addressed before any public launch or real-money feature enablement.
---
## Priority Order
| Priority | Item | Required Before |
|---|---|---|
| P0 | Privacy Policy | Any user data collection (even closed beta) |
| P0 | Terms of Service | Any public access |
| P0 | EULA | Thick client distribution |
| P1 | GDPR compliance | Any users in the EU/EEA |
| P1 | Stripe / payment compliance | Real-money feature enablement |
| P2 | CCPA compliance | Any users in California |
| P2 | Cookie Policy | Web client / website |
| P3 | COPPA | If under-13 users are permitted |
---
## Terms of Service (TOS)
- [ ] Draft TOS covering: account rules, prohibited conduct, content ownership, service availability, suspension/termination rights
- [ ] Define what constitutes a bannable offense (feeds into Admin tooling)
- [ ] Address virtual currency: no real-world cash value, no refunds on earned currency, Stripe purchase refund policy
- [ ] Jurisdiction and governing law (choose state/country for dispute resolution)
- [ ] Age requirement (minimum age — likely 13, or 18 for real-money purchases)
---
## End User License Agreement (EULA)
- [ ] Required before thick client is distributed publicly
- [ ] Cover: license grant (limited, non-transferable), restrictions (no reverse engineering, no cheating tools, no redistribution), termination
- [ ] Embedded in installer or presented on first launch with required acceptance
- [ ] Separate from TOS or combined — TBD
---
## Privacy Policy
- [ ] Required before any user data is collected (name, email, IP, gameplay data)
- [ ] Must cover: what data is collected, how it is used, how long it is retained, with whom it is shared (Stripe, any analytics), how users can request deletion
- [ ] Chat log retention policy must be explicitly stated (30-day hot, long-term cold archive — reason and access policy must be disclosed)
- [ ] Contact information for privacy requests
---
## GDPR (EU/EEA)
- [ ] **Right to erasure (Right to be forgotten)**: must be able to delete all user PII on request; define which data can be truly deleted vs. anonymized (e.g., transaction records may need to be kept for financial/legal reasons)
- [ ] **Data portability**: must be able to export a user's data in machine-readable format on request
- [ ] **Consent**: define consent flow for data collection; explicit opt-in for marketing
- [ ] **Data retention limits**: document and enforce retention periods per data category (auth data, gameplay data, chat logs, transaction records)
- [ ] **DPA (Data Processing Agreement)**: required if using any EU-based users with third-party processors (Stripe, any analytics)
- [ ] **Chat archive**: cold archive in remote MySQL — GDPR deletion requests must propagate to cold storage; design the deletion pipeline before launch
- [ ] Appoint a Data Protection contact point (can be internal)
---
## Stripe / Payment Compliance
- [ ] Stripe account setup and terms acceptance (Stripe Connected Accounts or standard Stripe account — TBD on business entity)
- [ ] **PCI DSS**: Stripe handles card data; our scope is SAQ A (minimal) as long as we never touch raw card numbers. Confirm no card data touches our servers.
- [ ] **Refund policy**: define refund rules for hard currency purchases (Stripe chargebacks, voluntary refunds)
- [ ] **Subscription vs. one-time**: confirm no subscription billing at launch (simplifies compliance)
- [ ] **Age gate**: real-money purchases must be restricted to users meeting minimum age requirement
- [ ] **Regional restrictions**: some jurisdictions restrict virtual currency purchases or loot boxes (Belgium, Netherlands, etc.) — review before enabling real-money features globally
- [ ] Stripe integration is **implemented but disabled** in Bazaar service; enable only after all payment compliance items are checked off
---
## CCPA (California)
- [ ] Privacy Policy must include CCPA-specific disclosures (right to know, right to delete, right to opt-out of sale of personal information)
- [ ] "Do Not Sell My Personal Information" link/flow on website if applicable
- [ ] Verify whether data sharing with Stripe constitutes a "sale" under CCPA (generally no, if it's a service provider relationship)
---
## Cookie Policy
- [ ] Required for the website (Web service)
- [ ] Identify all cookies: session cookies, analytics cookies, any third-party embeds
- [ ] Consent banner for EU visitors (GDPR cookie consent)
- [ ] Keep minimal — avoid third-party tracking cookies if possible
---
## COPPA (Under-13 Users)
- [ ] Decision needed: do we allow users under 13?
- **Option A**: Minimum age 13, enforce at registration with DOB or age gate. Simplest compliance path.
- **Option B**: Allow under-13 with verifiable parental consent. Significant compliance overhead.
- [ ] Recommendation: minimum age 13 (standard for online gaming). Real-money features age-gated to 18.
---
## Notes
- All legal documents should be reviewed by a qualified attorney before public release.
- Internal development and closed testing do not require finalized legal docs, but privacy policy and TOS should be in place before any external users access the system.
- The Admin service audit log design should account for GDPR deletion requirements — logged actions referencing a deleted user should anonymize the user reference, not block deletion.