telo3-ai 5.0.7 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -791
- package/SKILL.md +36 -657
- package/bootstrap/TELO3.md +17 -0
- package/cli.js +223 -42
- package/hooks/inject-contract.mjs +23 -0
- package/hooks/session-start.example.json +15 -0
- package/index.js +48 -14
- package/package.json +32 -69
- package/references/accessibility-quality.md +92 -272
- package/references/ai-behavior.md +70 -332
- package/references/anti-slop.md +71 -0
- package/references/document-specification.md +110 -419
- package/references/legal-compliance.md +90 -395
- package/references/performance-quality.md +100 -351
- package/references/privacy-compliance.md +88 -464
- package/references/project-audit.md +79 -440
- package/references/security-quality.md +68 -220
- package/references/seo-quality.md +83 -339
- package/references/smart-skill-delegation.md +73 -419
- package/references/token-optimization.md +83 -450
- package/references/ui-quality.md +106 -481
- package/references/workflow.md +91 -447
- package/scripts/postinstall.mjs +27 -0
- package/src/activate.js +159 -0
- package/src/context.js +72 -0
- package/src/find-context.js +41 -0
- package/src/init.js +38 -0
- package/src/install.js +128 -0
- package/src/paths.js +20 -0
- package/src/status.js +30 -0
- package/src/tokens.js +10 -0
- package/src/validate.js +220 -0
- package/src/version.js +12 -0
- package/templates/architecture.md +17 -398
- package/templates/design.md +22 -631
- package/templates/memory.md +13 -351
- package/templates/prd.md +15 -295
- package/templates/rules.md +20 -600
- package/templates/tasks.md +10 -210
- package/AI-CONTEXT.md +0 -272
- package/ONBOARDING-SKILL.md +0 -738
- package/SKILL-METADATA.json +0 -237
- package/scripts/init-project-context.sh +0 -139
- package/scripts/validate-project-context.sh +0 -164
- package/skills/telo3/SKILL.md +0 -315
- package/skills/telo3-context/SKILL.md +0 -272
- package/skills/telo3-onboarding/SKILL.md +0 -738
|
@@ -1,494 +1,118 @@
|
|
|
1
|
-
# Privacy & Data Protection
|
|
1
|
+
# Privacy & Data Protection
|
|
2
|
+
**Load when:** collecting personal data, or adding analytics, cookies, fonts/CDNs, third-party services, session replay, children's access, retention/deletion, or privacy-policy work.
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
Engineering guidance, not legal advice. Privacy laws vary by jurisdiction and change over time; verify current requirements with qualified legal/privacy counsel. Never fabricate compliance claims.
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
## Principles
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
1. Data minimization — collect only what's needed
|
|
9
|
+
2. Transparency — be clear about data practices
|
|
10
|
+
3. User control — give users control over their data
|
|
11
|
+
4. Security — protect data appropriately
|
|
12
|
+
5. Accountability — document decisions and practices
|
|
8
13
|
|
|
9
|
-
|
|
10
|
-
2. **Transparency** — Be clear about data practices
|
|
11
|
-
3. **User Control** — Give users control over their data
|
|
12
|
-
4. **Security** — Protect data appropriately
|
|
13
|
-
5. **Accountability** — Document decisions and practices
|
|
14
|
+
## Data-Mapping Audit
|
|
14
15
|
|
|
15
|
-
|
|
16
|
+
1. **Inventory collection:** account info (email, name, password), profiles, user-generated content, usage data (pages/features), technical data (IP, browser, device), location, analytics, cookies.
|
|
17
|
+
2. **Record purpose per type:** service operation, UX improvement, analytics/insights, marketing/communication, legal/compliance.
|
|
18
|
+
3. **List third-party recipients:** auth (Auth0, Clerk), analytics (Google Analytics, Plausible), error tracking (Sentry), email (SendGrid, Resend), payments (Stripe), hosting (Vercel, AWS), CDNs/external resources, session replay (FullStory, LogRocket).
|
|
19
|
+
4. **Classify sensitivity:**
|
|
20
|
+
- High (extra care): children's, health, financial, biometric, precise location, authentication credentials, private communications.
|
|
21
|
+
- Medium: email addresses, names, IP addresses, usage patterns, non-precise location.
|
|
22
|
+
- Low: anonymous aggregate statistics, public information.
|
|
16
23
|
|
|
17
|
-
##
|
|
24
|
+
## Safeguards
|
|
18
25
|
|
|
19
|
-
###
|
|
26
|
+
### Children's Privacy (e.g., COPPA, U.S.)
|
|
27
|
+
- Determine minimum age; implement age verification and parental consent where legally required; minimize and document children's data.
|
|
28
|
+
- Never knowingly collect children's data in violation of applicable law; never assume all users are adults; never ignore children's privacy laws.
|
|
29
|
+
- Record: minimum age (or "no restriction"), age verification, children's data collected (or "none knowingly"), parental consent status, applicable laws. Legal review needed.
|
|
20
30
|
|
|
21
|
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
- Technical data (IP address, browser, device)
|
|
27
|
-
- Location data
|
|
28
|
-
- Analytics data
|
|
29
|
-
- Cookie data
|
|
31
|
+
### External Fonts & Resources
|
|
32
|
+
- Risk: third-party requests disclose visitor IP addresses and referrers. Audit Google Fonts (fonts.googleapis.com, fonts.gstatic.com), Adobe Fonts, Font Awesome CDN, external CSS/JS, third-party images.
|
|
33
|
+
- Prefer self-hosting (check licensing for self-hosting) or system font stacks (no external request).
|
|
34
|
+
- Document unavoidable third-party requests: CDNs, scripts, and who receives IP addresses.
|
|
35
|
+
- Never claim external fonts are universally illegal.
|
|
30
36
|
|
|
31
|
-
###
|
|
37
|
+
### Session Replay (FullStory, LogRocket, Hotjar, Microsoft Clarity)
|
|
38
|
+
- Risks: records user interactions, may capture sensitive input, may record across sessions, shares data with the provider.
|
|
39
|
+
- Mask password fields, payment information, sensitive personal data (SSN, health info); exclude authentication secrets; configure provider privacy settings appropriately.
|
|
40
|
+
- Never enable invasive recording by default, record sensitive inputs, ignore provider privacy settings, or assume consent is not required.
|
|
41
|
+
- Determine whether consent is required; disclose in privacy policy.
|
|
42
|
+
- Record: tool, what is recorded, masking/exclusions, consent status, policy disclosure. Legal review needed.
|
|
32
43
|
|
|
33
|
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
- Analytics
|
|
37
|
-
-
|
|
38
|
-
-
|
|
44
|
+
### Analytics & Tracking
|
|
45
|
+
- Scope: page analytics (views, referrers), event tracking, user identification, cross-site tracking, advertising tracking.
|
|
46
|
+
- Prefer privacy-friendly: Plausible (no cookies, no personal data), Simple Analytics, Fathom, self-hosted Matomo (configured appropriately).
|
|
47
|
+
- Higher risk: Google Analytics (especially Universal Analytics), Facebook Pixel, third-party advertising trackers.
|
|
48
|
+
- Apply: cookie consent (GDPR, ePrivacy), optional Do Not Track respect, opt-out mechanisms, data retention limits, IP anonymization.
|
|
49
|
+
- Record: tools, data collected, personal data (yes/no), cookies used, consent mechanism, policy disclosure.
|
|
39
50
|
|
|
40
|
-
###
|
|
51
|
+
### Cookies & Local Storage
|
|
52
|
+
- Audit: essential cookies (authentication, security), analytics cookies, marketing cookies, third-party cookies, LocalStorage, SessionStorage.
|
|
53
|
+
- Categories: strictly necessary / functional / analytics / advertising-marketing.
|
|
54
|
+
- EU/EEA: consent required for non-essential cookies (GDPR/ePrivacy); other jurisdictions vary — verify.
|
|
55
|
+
- Record: each cookie/storage item with purpose and consent requirement; consent mechanism; cookie policy status.
|
|
41
56
|
|
|
42
|
-
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
- Email services (SendGrid, Resend, etc.)
|
|
47
|
-
- Payment processors (Stripe, etc.)
|
|
48
|
-
- Hosting providers (Vercel, AWS, etc.)
|
|
49
|
-
- CDNs and external resources
|
|
50
|
-
- Session replay tools (FullStory, LogRocket, etc.)
|
|
57
|
+
### Retention & Deletion
|
|
58
|
+
- Define and document retention periods (account data, usage logs, backups); justify each duration; auto-delete old data where appropriate.
|
|
59
|
+
- Provide user-initiated account deletion; document the process and what happens to data.
|
|
60
|
+
- State whether erasure is immediate or scheduled (within X days) and how backups are handled (excluded from future backups or retained until backup expiry).
|
|
51
61
|
|
|
52
|
-
###
|
|
62
|
+
### Data Security
|
|
63
|
+
- HTTPS in transit; encryption at rest (database); access controls (authentication, authorization); no hardcoded secrets; secure session management; input validation; output encoding.
|
|
64
|
+
- Detailed controls: see `security-quality.md`.
|
|
53
65
|
|
|
54
|
-
|
|
55
|
-
- Children's information
|
|
56
|
-
- Health information
|
|
57
|
-
- Financial information
|
|
58
|
-
- Biometric data
|
|
59
|
-
- Precise location
|
|
60
|
-
- Authentication credentials
|
|
61
|
-
- Private communications
|
|
66
|
+
## Consent
|
|
62
67
|
|
|
63
|
-
|
|
64
|
-
-
|
|
65
|
-
-
|
|
66
|
-
- IP addresses
|
|
67
|
-
- Usage patterns
|
|
68
|
-
- Non-precise location
|
|
68
|
+
- May be required for: non-essential cookies (GDPR), marketing emails (various laws), sensitive data processing, children's data (parental consent), some cross-border transfers.
|
|
69
|
+
- Must be informed (clear explanation), specific (not bundled), freely given (not forced), easily withdrawn.
|
|
70
|
+
- Mechanisms: cookie consent banner, email opt-in checkboxes, granular privacy settings, account settings toggles.
|
|
69
71
|
|
|
70
|
-
|
|
71
|
-
- Anonymous aggregate statistics
|
|
72
|
-
- Public information
|
|
72
|
+
## Cross-Border Transfers
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
- Know where data is stored and processed (US, EU, etc.); consider GDPR; use adequate protection mechanisms (e.g., Standard Contractual Clauses).
|
|
75
75
|
|
|
76
|
-
##
|
|
76
|
+
## Privacy Policy
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
- Disclose: what is collected, why, how used, third-party recipients, retention, user rights (access, deletion), privacy contact, how the policy may change.
|
|
79
|
+
- Must reflect actual practices; never copy-paste a generic policy.
|
|
79
80
|
|
|
80
|
-
|
|
81
|
+
## Checklist
|
|
81
82
|
|
|
82
|
-
|
|
83
|
-
-
|
|
84
|
-
- Implement age verification if required
|
|
85
|
-
- Obtain parental consent where legally required
|
|
86
|
-
- Minimize data collection from children
|
|
87
|
-
- Document children's data practices
|
|
83
|
+
**Data mapping**
|
|
84
|
+
- [ ] All data identified; purpose documented per type; third-party recipients listed; sensitivity assessed
|
|
88
85
|
|
|
89
|
-
|
|
90
|
-
-
|
|
91
|
-
-
|
|
92
|
-
- Ignore children's privacy laws (e.g., COPPA in U.S.)
|
|
86
|
+
**Technical controls**
|
|
87
|
+
- [ ] Security controls implemented; sensitive data masked in logs and analytics
|
|
88
|
+
- [ ] Third-party services configured for privacy; resources self-hosted where practical
|
|
93
89
|
|
|
94
|
-
**
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
**Minimum age:** [Age or "No restriction"]
|
|
99
|
-
**Age verification:** [Implemented / Not required]
|
|
100
|
-
**Children's data collected:** [List or "None knowingly"]
|
|
101
|
-
**Parental consent:** [Required and implemented / Not applicable]
|
|
102
|
-
**Applicable laws:** [e.g., COPPA (U.S.) if applicable]
|
|
103
|
-
**Legal review needed:** Yes
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
---
|
|
107
|
-
|
|
108
|
-
### B. Third-Party Fonts & External Resources
|
|
109
|
-
|
|
110
|
-
**Privacy risk:** External fonts/resources may disclose IP addresses and referrers to third parties.
|
|
111
|
-
|
|
112
|
-
**Audit:**
|
|
113
|
-
- Google Fonts (fonts.googleapis.com, fonts.gstatic.com)
|
|
114
|
-
- Adobe Fonts
|
|
115
|
-
- Font Awesome CDN
|
|
116
|
-
- External CSS/JS
|
|
117
|
-
- Third-party images
|
|
118
|
-
|
|
119
|
-
**Privacy-friendly approaches:**
|
|
120
|
-
1. **Self-host fonts** when practical
|
|
121
|
-
2. **Use system fonts** (no external request)
|
|
122
|
-
3. **Document unavoidable third-party requests**
|
|
123
|
-
4. **Check licensing** for self-hosting
|
|
124
|
-
|
|
125
|
-
**Documentation:**
|
|
126
|
-
```markdown
|
|
127
|
-
## External Resources
|
|
128
|
-
|
|
129
|
-
**Fonts:** [Self-hosted / System fonts / Google Fonts with disclosure]
|
|
130
|
-
**CDNs:** [List]
|
|
131
|
-
**Third-party scripts:** [List]
|
|
132
|
-
**Privacy implication:** [IP addresses shared with: ...]
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
✅ **Good:** "Using system font stack to avoid third-party requests"
|
|
136
|
-
✅ **Good:** "Self-hosting Inter font for privacy"
|
|
137
|
-
❌ **Bad:** Claiming external fonts are illegal universally
|
|
138
|
-
|
|
139
|
-
---
|
|
140
|
-
|
|
141
|
-
### C. Session Replay & Recording Tools
|
|
142
|
-
|
|
143
|
-
**Tools:** FullStory, LogRocket, Hotjar, Microsoft Clarity, etc.
|
|
144
|
-
|
|
145
|
-
**Privacy risks:**
|
|
146
|
-
- Records user interactions
|
|
147
|
-
- May capture sensitive input
|
|
148
|
-
- May record across sessions
|
|
149
|
-
- Shares data with third-party
|
|
150
|
-
|
|
151
|
-
**Before enabling:**
|
|
152
|
-
|
|
153
|
-
✅ **Do:**
|
|
154
|
-
- Mask password fields
|
|
155
|
-
- Mask payment information
|
|
156
|
-
- Mask sensitive personal data (SSN, health info, etc.)
|
|
157
|
-
- Exclude authentication secrets
|
|
158
|
-
- Configure privacy settings appropriately
|
|
159
|
-
- Determine if consent is required
|
|
160
|
-
- Document in privacy policy
|
|
161
|
-
|
|
162
|
-
❌ **Don't:**
|
|
163
|
-
- Enable invasive recording by default
|
|
164
|
-
- Record sensitive inputs
|
|
165
|
-
- Ignore provider privacy settings
|
|
166
|
-
- Assume consent is not required
|
|
167
|
-
|
|
168
|
-
**Documentation:**
|
|
169
|
-
```markdown
|
|
170
|
-
## Session Replay
|
|
171
|
-
|
|
172
|
-
**Tool:** [Name or "Not implemented"]
|
|
173
|
-
**What is recorded:** [Describe]
|
|
174
|
-
**Sensitive data handling:** [Masked / Excluded]
|
|
175
|
-
**User consent:** [Required / Opt-out provided / Not applicable]
|
|
176
|
-
**Privacy policy disclosure:** [Yes / Needed]
|
|
177
|
-
**Legal review needed:** Yes
|
|
178
|
-
```
|
|
179
|
-
|
|
180
|
-
---
|
|
181
|
-
|
|
182
|
-
### D. Analytics & Tracking
|
|
183
|
-
|
|
184
|
-
**Types:**
|
|
185
|
-
- Page analytics (page views, referrers)
|
|
186
|
-
- Event tracking (button clicks, features used)
|
|
187
|
-
- User identification
|
|
188
|
-
- Cross-site tracking
|
|
189
|
-
- Advertising tracking
|
|
190
|
-
|
|
191
|
-
**Privacy considerations:**
|
|
192
|
-
|
|
193
|
-
**Privacy-friendly analytics:**
|
|
194
|
-
- Plausible Analytics (no cookies, no personal data)
|
|
195
|
-
- Simple Analytics
|
|
196
|
-
- Fathom Analytics
|
|
197
|
-
- Self-hosted Matomo (configured appropriately)
|
|
198
|
-
|
|
199
|
-
**Privacy-concerning analytics:**
|
|
200
|
-
- Google Analytics (especially Universal Analytics)
|
|
201
|
-
- Facebook Pixel
|
|
202
|
-
- Third-party advertising trackers
|
|
203
|
-
|
|
204
|
-
**Requirements to consider:**
|
|
205
|
-
- Cookie consent (GDPR, ePrivacy)
|
|
206
|
-
- Do Not Track (optional respect)
|
|
207
|
-
- Opt-out mechanisms
|
|
208
|
-
- Data retention limits
|
|
209
|
-
- IP anonymization
|
|
210
|
-
|
|
211
|
-
**Documentation:**
|
|
212
|
-
```markdown
|
|
213
|
-
## Analytics
|
|
214
|
-
|
|
215
|
-
**Tools:** [List]
|
|
216
|
-
**Data collected:** [Describe]
|
|
217
|
-
**Personal data:** [Yes/No, describe]
|
|
218
|
-
**Cookies used:** [Yes/No, list]
|
|
219
|
-
**Consent mechanism:** [Implemented / Not required]
|
|
220
|
-
**Privacy policy disclosure:** [Yes / Needed]
|
|
221
|
-
```
|
|
222
|
-
|
|
223
|
-
---
|
|
224
|
-
|
|
225
|
-
### E. Cookies & Local Storage
|
|
226
|
-
|
|
227
|
-
**Audit:**
|
|
228
|
-
- Essential cookies (authentication, security)
|
|
229
|
-
- Analytics cookies
|
|
230
|
-
- Marketing cookies
|
|
231
|
-
- Third-party cookies
|
|
232
|
-
- LocalStorage usage
|
|
233
|
-
- SessionStorage usage
|
|
234
|
-
|
|
235
|
-
**Categories:**
|
|
236
|
-
- **Strictly necessary:** Essential for service operation
|
|
237
|
-
- **Functional:** Enhance user experience
|
|
238
|
-
- **Analytics:** Understand usage patterns
|
|
239
|
-
- **Advertising/Marketing:** Personalized ads
|
|
240
|
-
|
|
241
|
-
**Consent requirements:**
|
|
242
|
-
- EU/EEA: Consent required for non-essential cookies (GDPR/ePrivacy)
|
|
243
|
-
- Other jurisdictions: Varies
|
|
244
|
-
|
|
245
|
-
**Documentation:**
|
|
246
|
-
```markdown
|
|
247
|
-
## Cookies
|
|
248
|
-
|
|
249
|
-
**Essential cookies:** [List with purpose]
|
|
250
|
-
**Analytics cookies:** [List with purpose and consent requirement]
|
|
251
|
-
**Marketing cookies:** [List with purpose and consent requirement]
|
|
252
|
-
**Consent mechanism:** [Implemented / Not required]
|
|
253
|
-
**Cookie policy:** [Exists / Needed]
|
|
254
|
-
```
|
|
255
|
-
|
|
256
|
-
---
|
|
257
|
-
|
|
258
|
-
### F. Data Retention & Deletion
|
|
259
|
-
|
|
260
|
-
**Retention questions:**
|
|
261
|
-
- How long is data kept?
|
|
262
|
-
- Why is it kept that long?
|
|
263
|
-
- Is retention documented?
|
|
264
|
-
- Is old data automatically deleted?
|
|
265
|
-
|
|
266
|
-
**Deletion questions:**
|
|
267
|
-
- Can users delete their accounts?
|
|
268
|
-
- What happens to user data after deletion?
|
|
269
|
-
- Is deletion immediate or scheduled?
|
|
270
|
-
- Are backups also deleted (or excluded)?
|
|
271
|
-
|
|
272
|
-
**Best practices:**
|
|
273
|
-
- Define retention periods
|
|
274
|
-
- Implement automated deletion where appropriate
|
|
275
|
-
- Provide user-initiated deletion
|
|
276
|
-
- Document deletion procedures
|
|
277
|
-
|
|
278
|
-
**Documentation:**
|
|
279
|
-
```markdown
|
|
280
|
-
## Data Retention & Deletion
|
|
281
|
-
|
|
282
|
-
**Retention periods:**
|
|
283
|
-
- Account data: [Duration or "Until deletion"]
|
|
284
|
-
- Usage logs: [Duration]
|
|
285
|
-
- Backups: [Duration]
|
|
286
|
-
|
|
287
|
-
**User deletion:**
|
|
288
|
-
- Account deletion: [Available / Planned]
|
|
289
|
-
- Deletion process: [Describe]
|
|
290
|
-
- Data erasure: [Immediate / Within X days]
|
|
291
|
-
- Backups: [Excluded from future backups / Retained until backup expires]
|
|
292
|
-
```
|
|
293
|
-
|
|
294
|
-
---
|
|
90
|
+
**User control**
|
|
91
|
+
- [ ] Privacy policy accurate; consent obtained where required; user privacy preferences respected
|
|
92
|
+
- [ ] Retention limits implemented; user data access and deletion supported where required
|
|
295
93
|
|
|
296
|
-
|
|
94
|
+
**Documentation**
|
|
95
|
+
- [ ] Practices, third parties, retention periods, and security controls documented
|
|
297
96
|
|
|
298
|
-
**
|
|
299
|
-
-
|
|
300
|
-
-
|
|
301
|
-
- Access controls (authentication, authorization)
|
|
302
|
-
- Secrets management (not hardcoded)
|
|
303
|
-
- Secure session management
|
|
304
|
-
- Input validation
|
|
305
|
-
- Output encoding
|
|
97
|
+
**Legal review**
|
|
98
|
+
- [ ] Applicable laws identified (e.g., GDPR, CCPA, COPPA); jurisdiction-specific requirements verified
|
|
99
|
+
- [ ] Privacy policy and consent mechanisms reviewed with counsel
|
|
306
100
|
|
|
307
|
-
**
|
|
101
|
+
**Verification**
|
|
102
|
+
- [ ] Changed collection/tracking/consent behavior verified (network requests, storage, consent flows); skip re-verification only for unrelated areas
|
|
308
103
|
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
## Privacy-by-Design Checklist
|
|
312
|
-
|
|
313
|
-
- [ ] Minimize data collection (collect only what's needed)
|
|
314
|
-
- [ ] Document data collection purpose
|
|
315
|
-
- [ ] Identify all third-party data recipients
|
|
316
|
-
- [ ] Assess data sensitivity
|
|
317
|
-
- [ ] Implement appropriate security controls
|
|
318
|
-
- [ ] Provide transparency (privacy policy)
|
|
319
|
-
- [ ] Obtain consent where required
|
|
320
|
-
- [ ] Implement data retention limits
|
|
321
|
-
- [ ] Support user data deletion
|
|
322
|
-
- [ ] Mask sensitive data in logs and analytics
|
|
323
|
-
- [ ] Self-host resources when practical for privacy
|
|
324
|
-
- [ ] Configure third-party services for privacy
|
|
325
|
-
- [ ] Respect user privacy preferences
|
|
326
|
-
|
|
327
|
-
---
|
|
328
|
-
|
|
329
|
-
## Privacy Policy Requirements
|
|
330
|
-
|
|
331
|
-
**A privacy policy should disclose:**
|
|
332
|
-
- What information is collected
|
|
333
|
-
- Why it's collected
|
|
334
|
-
- How it's used
|
|
335
|
-
- Who it's shared with (third parties)
|
|
336
|
-
- How long it's retained
|
|
337
|
-
- User rights (access, deletion, etc.)
|
|
338
|
-
- How to contact about privacy
|
|
339
|
-
- How the policy may change
|
|
340
|
-
|
|
341
|
-
**Important:** The privacy policy must reflect actual practices. Don't copy-paste a generic policy.
|
|
342
|
-
|
|
343
|
-
---
|
|
344
|
-
|
|
345
|
-
## Cross-Border Data Transfers
|
|
346
|
-
|
|
347
|
-
**If users are in different countries:**
|
|
348
|
-
- Understand where data is stored (US, EU, etc.)
|
|
349
|
-
- Understand where data is processed
|
|
350
|
-
- Consider GDPR (EU data protection)
|
|
351
|
-
- Consider adequate protection mechanisms (Standard Contractual Clauses, etc.)
|
|
352
|
-
|
|
353
|
-
---
|
|
354
|
-
|
|
355
|
-
## Consent Mechanisms
|
|
356
|
-
|
|
357
|
-
**When consent may be required:**
|
|
358
|
-
- Non-essential cookies (GDPR)
|
|
359
|
-
- Marketing emails (various laws)
|
|
360
|
-
- Sensitive data processing
|
|
361
|
-
- Children's data (parental consent)
|
|
362
|
-
- Cross-border transfers (some cases)
|
|
363
|
-
|
|
364
|
-
**Consent should be:**
|
|
365
|
-
- Informed (clear explanation)
|
|
366
|
-
- Specific (not bundled)
|
|
367
|
-
- Freely given (not forced)
|
|
368
|
-
- Easily withdrawn
|
|
369
|
-
|
|
370
|
-
**Consent mechanisms:**
|
|
371
|
-
- Cookie consent banner
|
|
372
|
-
- Email opt-in checkboxes
|
|
373
|
-
- Granular privacy settings
|
|
374
|
-
- Account settings toggles
|
|
375
|
-
|
|
376
|
-
---
|
|
377
|
-
|
|
378
|
-
## Privacy Compliance Checklist
|
|
379
|
-
|
|
380
|
-
### Data Mapping
|
|
381
|
-
- [ ] Identify all data collected
|
|
382
|
-
- [ ] Document purpose for each data type
|
|
383
|
-
- [ ] Identify third-party recipients
|
|
384
|
-
- [ ] Assess sensitivity
|
|
385
|
-
|
|
386
|
-
### Technical Controls
|
|
387
|
-
- [ ] Implement appropriate security
|
|
388
|
-
- [ ] Mask sensitive data in logs
|
|
389
|
-
- [ ] Configure third-party privacy settings
|
|
390
|
-
- [ ] Self-host privacy-sensitive resources when practical
|
|
391
|
-
|
|
392
|
-
### User Control
|
|
393
|
-
- [ ] Provide privacy policy
|
|
394
|
-
- [ ] Implement consent mechanisms where required
|
|
395
|
-
- [ ] Provide data access (where required)
|
|
396
|
-
- [ ] Provide data deletion
|
|
397
|
-
|
|
398
|
-
### Documentation
|
|
399
|
-
- [ ] Document data practices
|
|
400
|
-
- [ ] Document third-party services
|
|
401
|
-
- [ ] Document retention periods
|
|
402
|
-
- [ ] Document security controls
|
|
403
|
-
|
|
404
|
-
### Legal Review
|
|
405
|
-
- [ ] Identify applicable privacy laws
|
|
406
|
-
- [ ] Verify jurisdiction-specific requirements
|
|
407
|
-
- [ ] Review privacy policy with counsel
|
|
408
|
-
- [ ] Verify consent mechanisms
|
|
409
|
-
|
|
410
|
-
---
|
|
411
|
-
|
|
412
|
-
## Privacy Documentation Template
|
|
104
|
+
## Documentation Template
|
|
413
105
|
|
|
414
106
|
```markdown
|
|
415
107
|
## Privacy & Data Protection
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
-
|
|
421
|
-
-
|
|
422
|
-
- [
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
**Services that receive data:**
|
|
429
|
-
- [Service name]: [Data shared] — [Purpose]
|
|
430
|
-
- [Service name]: [Data shared] — [Purpose]
|
|
431
|
-
|
|
432
|
-
### Sensitive Data
|
|
433
|
-
|
|
434
|
-
**High-sensitivity data:** [None / List]
|
|
435
|
-
**Special handling:** [Describe]
|
|
436
|
-
|
|
437
|
-
### Children
|
|
438
|
-
|
|
439
|
-
**Minimum age:** [Age or "No restriction"]
|
|
440
|
-
**Children's data:** [Not knowingly collected / Describe if applicable]
|
|
441
|
-
|
|
442
|
-
### Data Retention
|
|
443
|
-
|
|
444
|
-
**Retention periods:**
|
|
445
|
-
- Account data: [Duration]
|
|
446
|
-
- Logs: [Duration]
|
|
447
|
-
|
|
448
|
-
**Deletion:** [User can delete account: Yes/No]
|
|
449
|
-
|
|
450
|
-
### Security
|
|
451
|
-
|
|
452
|
-
**Controls:**
|
|
453
|
-
- HTTPS (encryption in transit)
|
|
454
|
-
- Database encryption (encryption at rest)
|
|
455
|
-
- [Other controls]
|
|
456
|
-
|
|
457
|
-
### Privacy Policy
|
|
458
|
-
|
|
459
|
-
**Status:** [Exists / Draft / Needed]
|
|
460
|
-
**Last reviewed:** [Date]
|
|
461
|
-
|
|
462
|
-
### Consent Mechanisms
|
|
463
|
-
|
|
464
|
-
**Cookies:** [Consent banner implemented / Not required]
|
|
465
|
-
**Marketing emails:** [Opt-in required / Not applicable]
|
|
466
|
-
|
|
467
|
-
### Legal Review
|
|
468
|
-
|
|
469
|
-
**Applicable laws:** [GDPR, CCPA, etc. if known]
|
|
470
|
-
**Legal review needed:** [Yes/No]
|
|
471
|
-
**Status:** [Not started / In progress / Complete]
|
|
472
|
-
```
|
|
473
|
-
|
|
474
|
-
---
|
|
475
|
-
|
|
476
|
-
## Summary
|
|
477
|
-
|
|
478
|
-
**Privacy is not just legal compliance—it's user trust.**
|
|
479
|
-
|
|
480
|
-
**Key principles:**
|
|
481
|
-
1. Collect only what you need
|
|
482
|
-
2. Be transparent about data practices
|
|
483
|
-
3. Protect data appropriately
|
|
484
|
-
4. Give users control
|
|
485
|
-
5. Document your approach
|
|
486
|
-
|
|
487
|
-
**Remember:**
|
|
488
|
-
- This is engineering guidance, not legal advice
|
|
489
|
-
- Privacy laws vary by jurisdiction
|
|
490
|
-
- Requirements change over time
|
|
491
|
-
- Verify with qualified legal/privacy counsel
|
|
492
|
-
- Never fabricate compliance claims
|
|
493
|
-
|
|
494
|
-
**Goal:** Build privacy-respectful products that earn user trust and minimize legal risk.
|
|
108
|
+
- Personal data collected: [type → purpose]
|
|
109
|
+
- Third-party services: [service → data shared → purpose]
|
|
110
|
+
- High-sensitivity data: [none / list]; special handling: [describe]
|
|
111
|
+
- Children: minimum age [age / no restriction]; data [not knowingly collected / describe]
|
|
112
|
+
- Retention: account data [duration]; logs [duration]; backups [duration]
|
|
113
|
+
- Deletion: user can delete account [Yes/No]; process [describe]; erasure [immediate / within X days]; backups [excluded / retained until expiry]
|
|
114
|
+
- Security controls: [HTTPS, database encryption, others]
|
|
115
|
+
- Privacy policy: [Exists / Draft / Needed]; last reviewed [date]
|
|
116
|
+
- Consent: cookies [banner implemented / not required]; marketing emails [opt-in / not applicable]
|
|
117
|
+
- Legal: applicable laws [GDPR, CCPA, etc.]; review needed [Yes/No]; status [Not started / In progress / Complete]
|
|
118
|
+
```
|