oneie 3.6.13 → 3.6.15

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.
Files changed (768) hide show
  1. package/.claude/agents/AUDIT-agent-ops-alignment.md +379 -0
  2. package/.claude/agents/NEWS-QUICKSTART.md +321 -0
  3. package/.claude/agents/NEWS-README.md +353 -0
  4. package/.claude/agents/agent-backend.md +1 -1
  5. package/.claude/agents/agent-builder.md +220 -151
  6. package/.claude/agents/agent-clean.md +39 -31
  7. package/.claude/agents/agent-clone.md +107 -54
  8. package/.claude/agents/agent-designer.md +76 -71
  9. package/.claude/agents/agent-director.md +170 -7
  10. package/.claude/agents/agent-documenter.md +169 -132
  11. package/.claude/agents/agent-frontend.md +442 -446
  12. package/.claude/agents/agent-integrator.md +30 -23
  13. package/.claude/agents/agent-lawyer.md +145 -98
  14. package/.claude/agents/agent-news.md +363 -0
  15. package/.claude/agents/agent-onboard.md +107 -77
  16. package/.claude/agents/agent-ontology.md +585 -0
  17. package/.claude/agents/agent-ops.md +178 -171
  18. package/.claude/agents/agent-problem-solver.md +132 -115
  19. package/.claude/agents/agent-quality.md +94 -77
  20. package/.claude/agents/agent-sales.md +89 -67
  21. package/.claude/commands/cascade.md +49 -20
  22. package/.claude/commands/create.md +397 -0
  23. package/.claude/commands/npx.md +64 -113
  24. package/.claude/commands/one.md +10 -28
  25. package/.claude/commands/plan.md +65 -65
  26. package/.claude/commands/push.md +63 -452
  27. package/.claude/commands/release.md +26 -393
  28. package/.claude/hooks/README-knowledge-hooks.md +267 -81
  29. package/.claude/hooks/README-root-cleanup.md +200 -0
  30. package/.claude/hooks/README.md +284 -0
  31. package/.claude/hooks/__pycache__/done.cpython-313.pyc +0 -0
  32. package/.claude/hooks/__pycache__/todo.cpython-313.pyc +0 -0
  33. package/.claude/hooks/check-filenames.py +169 -32
  34. package/.claude/hooks/clean-post.py +195 -28
  35. package/.claude/hooks/clean-pre.py +96 -11
  36. package/.claude/hooks/clean-root-markdown.sh +73 -0
  37. package/.claude/hooks/done.py +74 -13
  38. package/.claude/hooks/format-hook.sh +105 -17
  39. package/.claude/hooks/hook-logger.sh +121 -7
  40. package/.claude/hooks/knowledge-post.py +136 -32
  41. package/.claude/hooks/knowledge-pre.py +129 -34
  42. package/.claude/hooks/notification-hook.sh +184 -17
  43. package/.claude/hooks/root-cleanup.py +181 -39
  44. package/.claude/hooks/security-hook.sh +248 -8
  45. package/.claude/hooks/tag-all-docs.py +175 -49
  46. package/.claude/hooks/test-validate-ontology.sh +170 -0
  47. package/.claude/hooks/todo.py +92 -22
  48. package/.claude/hooks/track-changes.sh +101 -0
  49. package/.claude/hooks/validate-ontology-structure-summary.md +243 -0
  50. package/.claude/hooks/validate-ontology-structure.py +83 -20
  51. package/.claude/skills/ontology/README.md +1 -1
  52. package/AGENTS.md +60 -245
  53. package/CLAUDE.md +108 -26
  54. package/README.md +25 -0
  55. package/one/README.md +21 -3
  56. package/one/connections/a2a.md +49 -0
  57. package/one/connections/acp.md +47 -0
  58. package/one/connections/acps.md +18 -0
  59. package/one/connections/agentkit.md +18 -0
  60. package/one/connections/agui.md +18 -0
  61. package/one/connections/any-backend.md +39 -21
  62. package/one/connections/ap2.md +74 -0
  63. package/one/connections/api/queries-reference.md +18 -0
  64. package/one/connections/api-docs.md +18 -0
  65. package/one/connections/api-reference.md +18 -0
  66. package/one/connections/api.md +18 -0
  67. package/one/connections/architecture-diagram.md +18 -0
  68. package/one/connections/communications.md +18 -0
  69. package/one/connections/connections.md +18 -0
  70. package/one/connections/copilotkit.md +18 -0
  71. package/one/connections/cryptonetworks.md +18 -0
  72. package/one/connections/documentation.md +19 -1
  73. package/one/connections/effect.md +18 -0
  74. package/one/connections/elizaos.md +18 -0
  75. package/one/connections/groups.md +814 -0
  76. package/one/connections/inference.md +21 -3
  77. package/one/connections/integration-examples.md +18 -0
  78. package/one/connections/integration-guide.md +18 -0
  79. package/one/connections/integration-phase2.md +32 -14
  80. package/one/connections/kyc.md +18 -0
  81. package/one/connections/mcp.md +18 -0
  82. package/one/connections/membership.md +18 -0
  83. package/one/connections/middleware.md +18 -0
  84. package/one/connections/multitenant.md +18 -0
  85. package/one/connections/n8n.md +18 -0
  86. package/one/connections/patterns.md +18 -0
  87. package/one/connections/protocols.md +20 -2
  88. package/one/connections/relationships.md +18 -0
  89. package/one/connections/schema.md +18 -0
  90. package/one/connections/service-layer.md +18 -0
  91. package/one/connections/vectors.md +18 -0
  92. package/one/connections/wordpress.md +18 -0
  93. package/one/connections/workflow-copy.md +19 -1
  94. package/one/connections/workflow-examples.md +18 -0
  95. package/one/connections/workflow-onboarding.md +102 -84
  96. package/one/connections/workflow.md +19 -1
  97. package/one/connections/workflows/delegation.md +18 -0
  98. package/one/connections/workflows/frontend.md +18 -0
  99. package/one/connections/workflows/strategy.md +18 -0
  100. package/one/connections/workflows/tasks.md +18 -0
  101. package/one/connections/x402-baazar.md +131 -0
  102. package/one/connections/x402.md +268 -164
  103. package/one/groups/features.md +26 -0
  104. package/one/groups/groups.md +112 -68
  105. package/one/groups/one.md +71 -51
  106. package/one/groups/{strategy copy.md → strategy-copy.md} +23 -5
  107. package/one/knowledge/.obsidian/ecommerce-ontology.md +18 -0
  108. package/one/knowledge/100-inference-quick-reference.md +49 -31
  109. package/one/knowledge/agent-onboard-usage.md +18 -0
  110. package/one/knowledge/agentic-commerce.md +146 -0
  111. package/one/knowledge/ai-agents-vs-memecoins-thesis.md +683 -0
  112. package/one/knowledge/ai-platform.md +18 -0
  113. package/one/knowledge/ai-token-crypto-analysis-framework.md +1191 -0
  114. package/one/knowledge/ai-token-paradigm-shift-2025.md +732 -0
  115. package/one/knowledge/altcoin-cycle-prediction-ontology.md +884 -0
  116. package/one/knowledge/altcoin-cycle-trading-strategy.md +642 -0
  117. package/one/knowledge/architecture-any-backend.md +265 -42
  118. package/one/knowledge/architecture-diagram.md +404 -94
  119. package/one/knowledge/architecture-frontend.md +130 -51
  120. package/one/knowledge/architecture.md +1496 -1831
  121. package/one/knowledge/{ontology.md.backup → archived/ontology.old.md} +28 -10
  122. package/one/knowledge/astro-effect-complete-vision.md +2148 -0
  123. package/one/knowledge/astro-effect-simple-architecture.md +717 -0
  124. package/one/knowledge/audit-agent-onboard-alignment.md +481 -0
  125. package/one/knowledge/audit-agent-sales-alignment.md +444 -0
  126. package/one/knowledge/backend-api-reference.md +18 -0
  127. package/one/knowledge/cli-claude-handoff.md +54 -36
  128. package/one/knowledge/context-engineering.md +610 -0
  129. package/one/knowledge/crypto-analysis-strategy.md +1276 -0
  130. package/one/knowledge/crypto-cycle-2024-2025-analysis.md +44 -0
  131. package/one/knowledge/crypto.md +18 -0
  132. package/one/knowledge/docs.md +627 -0
  133. package/one/knowledge/dsl.md +18 -0
  134. package/one/knowledge/event-driven-documentation.md +270 -0
  135. package/one/knowledge/files.md +18 -0
  136. package/one/knowledge/frontend.md +18 -0
  137. package/one/knowledge/hono.md +18 -0
  138. package/one/knowledge/implementation-examples.md +18 -0
  139. package/one/knowledge/installation-folders.md +18 -0
  140. package/one/knowledge/institutional-cycle-paradigm-2025.md +555 -0
  141. package/one/knowledge/knowledge.md +44 -26
  142. package/one/knowledge/language.md +18 -0
  143. package/one/knowledge/lessons-learned.md +18 -0
  144. package/one/knowledge/lessons-website-building-focus.md +19 -1
  145. package/one/knowledge/merge-report.md +254 -0
  146. package/one/knowledge/metadata-system.md +11 -11
  147. package/one/knowledge/nine-padel-playbook.md +18 -0
  148. package/one/knowledge/ontology-blog.yaml +42 -26
  149. package/one/knowledge/ontology-cheatsheet.md +18 -0
  150. package/one/knowledge/ontology-community.yaml +60 -37
  151. package/one/knowledge/ontology-core-universal.md +19 -1
  152. package/one/knowledge/ontology-core.yaml +58 -45
  153. package/one/knowledge/ontology-courses.yaml +71 -48
  154. package/one/knowledge/ontology-creator.md +30 -4
  155. package/one/knowledge/ontology-crypto.md +1603 -0
  156. package/one/knowledge/ontology-developer-guide.md +18 -0
  157. package/one/knowledge/ontology-documentation.md +52 -31
  158. package/one/knowledge/ontology-ecommerce.md +24 -6
  159. package/one/knowledge/ontology-education.md +18 -0
  160. package/one/knowledge/ontology-engineering-specification.md +22 -4
  161. package/one/knowledge/ontology-engineering.md +70 -46
  162. package/one/knowledge/ontology-files.yaml +525 -0
  163. package/one/knowledge/ontology-frontend-master.md +2898 -0
  164. package/one/knowledge/ontology-frontend-specifications.md +57 -49
  165. package/one/knowledge/ontology-frontend.md +40 -22
  166. package/one/knowledge/ontology-index.md +18 -0
  167. package/one/knowledge/ontology-minimal.yaml +18 -16
  168. package/one/knowledge/ontology-portfolio.yaml +40 -26
  169. package/one/knowledge/ontology-quickstart.md +18 -0
  170. package/one/knowledge/ontology-release.md +317 -0
  171. package/one/knowledge/ontology-shop.yaml +146 -119
  172. package/one/knowledge/ontology-tokens.yaml +46 -27
  173. package/one/knowledge/ontology-tutorial.md +18 -0
  174. package/one/knowledge/ontology-video-script.md +18 -0
  175. package/one/knowledge/ontology-visual-guide.md +20 -2
  176. package/one/knowledge/ontology.md +1334 -309
  177. package/one/knowledge/ontology.yaml +766 -278
  178. package/one/knowledge/patterns/backend/convex-mutation-pattern.md +48 -18
  179. package/one/knowledge/patterns/backend/convex-query-pattern.md +78 -23
  180. package/one/knowledge/patterns/backend/mutation-template.md +28 -10
  181. package/one/knowledge/patterns/backend/query-template.md +44 -25
  182. package/one/knowledge/patterns/backend/service-template.md +35 -14
  183. package/one/knowledge/patterns/design/component-architecture.md +45 -9
  184. package/one/knowledge/patterns/design/test-driven-design-pattern.md +37 -3
  185. package/one/knowledge/patterns/design/wireframe-template.md +36 -2
  186. package/one/knowledge/patterns/frontend/component-template.md +91 -40
  187. package/one/knowledge/patterns/frontend/form-template.md +131 -59
  188. package/one/knowledge/patterns/frontend/page-template.md +59 -28
  189. package/one/knowledge/patterns/frontend/react-component-pattern.md +87 -27
  190. package/one/knowledge/patterns/test/acceptance-criteria-template.md +28 -10
  191. package/one/knowledge/patterns/test/technical-test-template.md +48 -26
  192. package/one/knowledge/patterns/test/test-driven-pattern.md +25 -5
  193. package/one/knowledge/patterns/test/user-flow-template.md +18 -0
  194. package/one/knowledge/provider-agnostic-content.md +995 -0
  195. package/one/knowledge/provider-creation-guide.md +18 -0
  196. package/one/knowledge/quality-loop.md +18 -0
  197. package/one/knowledge/readme-architecture.md +158 -0
  198. package/one/knowledge/readme.md +18 -0
  199. package/one/knowledge/rules.md +18 -0
  200. package/one/knowledge/score.md +20 -2
  201. package/one/knowledge/specifications.md +18 -0
  202. package/one/knowledge/tags.md +18 -0
  203. package/one/knowledge/todo-template.md +71 -53
  204. package/one/knowledge/todo.md +71 -53
  205. package/one/knowledge/typescript-patterns.md +19 -1
  206. package/one/knowledge/universal-generation-language.md +827 -0
  207. package/one/knowledge/x402-research.md +104 -0
  208. package/one/license.md +18 -0
  209. package/one/people/anthony-o-connell.md +55 -26
  210. package/one/people/people.md +55 -32
  211. package/one/things/ALIGNMENT_AUDIT_QUALITY_AGENT.md +401 -0
  212. package/one/things/AUDIT_AGENT_INTEGRATOR_ALIGNMENT.md +588 -0
  213. package/one/things/AUDIT_REPORT_AGENT_CLEAN.md +461 -0
  214. package/one/things/CHECKLIST.md +51 -0
  215. package/one/things/IMPLEMENTATION_STATUS.md +379 -0
  216. package/one/things/ONE.md +19 -1
  217. package/one/things/agents/agent-backend.md +202 -102
  218. package/one/things/agents/agent-builder.md +267 -158
  219. package/one/things/agents/agent-clean.md +56 -31
  220. package/one/things/agents/agent-clone.md +33 -50
  221. package/one/things/agents/agent-deploy.md +65 -17
  222. package/one/things/agents/agent-designer.md +274 -146
  223. package/one/things/agents/agent-director.md +20 -2
  224. package/one/things/agents/agent-documenter.md +126 -46
  225. package/one/things/agents/agent-frontend.md +104 -22
  226. package/one/things/agents/agent-integrator.md +153 -76
  227. package/one/things/agents/agent-lawyer.md +197 -92
  228. package/one/things/agents/agent-problem-solver.md +302 -224
  229. package/one/things/agents/agent-quality.md +149 -19
  230. package/one/things/agents/agent-sales.md +101 -13
  231. package/one/things/cascade/cascade.yaml +20 -3
  232. package/one/things/cascade/docs/examples/1-1-agent-prompts/design.md +53 -0
  233. package/one/things/cascade/docs/examples/1-1-agent-prompts/tests.md +50 -0
  234. package/one/things/cascade/docs/examples/1-1-agent-prompts.md +76 -0
  235. package/one/things/cascade/docs/examples/1-2-yaml-orchestrator/design.md +49 -3
  236. package/one/things/cascade/docs/examples/1-2-yaml-orchestrator/tests.md +45 -0
  237. package/one/things/cascade/docs/examples/1-2-yaml-orchestrator.md +32 -0
  238. package/one/things/cascade/docs/examples/1-3-event-coordination/design.md +45 -3
  239. package/one/things/cascade/docs/examples/1-3-event-coordination/tests.md +44 -0
  240. package/one/things/cascade/docs/examples/1-3-event-coordination.md +40 -1
  241. package/one/things/cascade/docs/examples/1-4-knowledge-management/design.md +81 -25
  242. package/one/things/cascade/docs/examples/1-4-knowledge-management/tests.md +41 -0
  243. package/one/things/cascade/docs/examples/1-4-knowledge-management.md +91 -16
  244. package/one/things/cascade/docs/examples/1-5-quality-loops/design.md +136 -73
  245. package/one/things/cascade/docs/examples/1-5-quality-loops/tests.md +43 -0
  246. package/one/things/cascade/docs/examples/1-5-quality-loops.md +88 -4
  247. package/one/things/cascade/docs/examples/1-6-numbering-structure/design.md +52 -3
  248. package/one/things/cascade/docs/examples/1-6-numbering-structure/tests.md +44 -1
  249. package/one/things/cascade/docs/examples/1-6-numbering-structure.md +78 -14
  250. package/one/things/cascade/docs/examples/readme.md +37 -0
  251. package/one/things/cascade/docs/getting-started.md +18 -0
  252. package/one/things/cascade/docs/workflow.md +18 -12
  253. package/one/things/cascade/readme.md +43 -0
  254. package/one/things/cascade/templates/feature-template.md +28 -6
  255. package/one/things/claude/agents/advocacy-activation-manager.md +64 -39
  256. package/one/things/claude/agents/advocacy-campaign-designer.md +64 -39
  257. package/one/things/claude/agents/analyst.md +64 -39
  258. package/one/things/claude/agents/architect.md +64 -39
  259. package/one/things/claude/agents/brand-identity-specialist.md +64 -39
  260. package/one/things/claude/agents/bstp-token-strategist.md +48 -25
  261. package/one/things/claude/agents/builder-repo.md +69 -26
  262. package/one/things/claude/agents/bullstamp-community-builder.md +48 -25
  263. package/one/things/claude/agents/bullstamp-marketing-orchestrator.md +48 -25
  264. package/one/things/claude/agents/bulltilt-platform-growth.md +48 -25
  265. package/one/things/claude/agents/company-bullstamp-character.md +45 -30
  266. package/one/things/claude/agents/company-bullstamp-community.md +45 -30
  267. package/one/things/claude/agents/company-bullstamp-marketing.md +45 -30
  268. package/one/things/claude/agents/company-bullstamp-token.md +45 -30
  269. package/one/things/claude/agents/company-bulltilt-growth.md +45 -30
  270. package/one/things/claude/agents/content-bibliography-formatter.md +48 -25
  271. package/one/things/claude/agents/content-calendar-planner.md +59 -34
  272. package/one/things/claude/agents/content-chapter-formatter.md +60 -35
  273. package/one/things/claude/agents/content-formatter.md +59 -34
  274. package/one/things/claude/agents/content-hook-specialist.md +54 -31
  275. package/one/things/claude/agents/content-image-formatter.md +59 -34
  276. package/one/things/claude/agents/content-introduction-formatter.md +59 -34
  277. package/one/things/claude/agents/content-multiplication-engine.md +54 -31
  278. package/one/things/claude/agents/content-playbook-writer.md +60 -35
  279. package/one/things/claude/agents/content-team-manager.md +59 -34
  280. package/one/things/claude/agents/content-toc-formatter.md +60 -35
  281. package/one/things/claude/agents/convex-backend-specialist.md +380 -216
  282. package/one/things/claude/agents/core-manager.md +59 -34
  283. package/one/things/claude/agents/core-master.md +55 -32
  284. package/one/things/claude/agents/cross-functional-manager.md +46 -41
  285. package/one/things/claude/agents/crypto-airdrop-strategist.md +74 -54
  286. package/one/things/claude/agents/crypto-analytics-educator.md +73 -30
  287. package/one/things/claude/agents/crypto-architecture-specialist.md +70 -39
  288. package/one/things/claude/agents/crypto-community-analyst.md +47 -31
  289. package/one/things/claude/agents/crypto-community-psychologist.md +68 -31
  290. package/one/things/claude/agents/crypto-dex-optimization-expert.md +72 -31
  291. package/one/things/claude/agents/crypto-dex-optimizer.md +45 -30
  292. package/one/things/claude/agents/crypto-diamond-formation-specialist.md +69 -30
  293. package/one/things/claude/agents/crypto-diamond-hands.md +45 -30
  294. package/one/things/claude/agents/crypto-ecosystem-expansion-manager.md +73 -30
  295. package/one/things/claude/agents/crypto-engagement-specialist.md +71 -30
  296. package/one/things/claude/agents/crypto-market-researcher.md +45 -30
  297. package/one/things/claude/agents/crypto-marketing-orchestrator.md +74 -34
  298. package/one/things/claude/agents/crypto-network-effect-amplifier.md +75 -30
  299. package/one/things/claude/agents/crypto-optimization-analyst.md +73 -30
  300. package/one/things/claude/agents/crypto-strategic-synthesizer.md +69 -30
  301. package/one/things/claude/agents/crypto-team-manager.md +45 -40
  302. package/one/things/claude/agents/crypto-token-analyst.md +66 -25
  303. package/one/things/claude/agents/crypto-viral-content-creator.md +64 -61
  304. package/one/things/claude/agents/crypto-wallet-identification-expert.md +61 -51
  305. package/one/things/claude/agents/crypto-wallet-identifier.md +45 -30
  306. package/one/things/claude/agents/customer-journey-designer.md +51 -58
  307. package/one/things/claude/agents/customer-success-manager.md +51 -58
  308. package/one/things/claude/agents/dev.md +51 -58
  309. package/one/things/claude/agents/documenter.md +71 -69
  310. package/one/things/claude/agents/elevate-marketing-orchestrator.md +45 -52
  311. package/one/things/claude/agents/engagement-specialist.md +45 -52
  312. package/one/things/claude/agents/engineering-architect.md +54 -54
  313. package/one/things/claude/agents/engineering-business-analyst.md +46 -56
  314. package/one/things/claude/agents/engineering-developer.md +51 -52
  315. package/one/things/claude/agents/engineering-director.md +65 -25
  316. package/one/things/claude/agents/engineering-ingestor.md +110 -100
  317. package/one/things/claude/agents/engineering-product-manager.md +43 -55
  318. package/one/things/claude/agents/engineering-product-owner.md +46 -56
  319. package/one/things/claude/agents/engineering-project-coordinator.md +44 -56
  320. package/one/things/claude/agents/engineering-quality-assurance.md +53 -54
  321. package/one/things/claude/agents/engineering-team-manager.md +46 -43
  322. package/one/things/claude/agents/engineering-user-experience.md +51 -52
  323. package/one/things/claude/agents/framework-elevate-manager.md +45 -30
  324. package/one/things/claude/agents/improver.md +120 -78
  325. package/one/things/claude/agents/intelligence-team-manager.md +45 -40
  326. package/one/things/claude/agents/lead-capture-expert.md +45 -52
  327. package/one/things/claude/agents/lead-magnet-creator.md +45 -52
  328. package/one/things/claude/agents/market-research-analyst.md +48 -25
  329. package/one/things/claude/agents/marketing-brand-identity.md +57 -27
  330. package/one/things/claude/agents/marketing-content-hooks.md +45 -40
  331. package/one/things/claude/agents/marketing-content-multiplier.md +45 -40
  332. package/one/things/claude/agents/marketing-content-poster.md +71 -60
  333. package/one/things/claude/agents/marketing-customer-journey.md +45 -40
  334. package/one/things/claude/agents/marketing-director.md +46 -41
  335. package/one/things/claude/agents/marketing-engagement.md +45 -40
  336. package/one/things/claude/agents/marketing-lead-capture.md +45 -40
  337. package/one/things/claude/agents/marketing-lead-magnet.md +45 -40
  338. package/one/things/claude/agents/marketing-network-effects.md +45 -40
  339. package/one/things/claude/agents/marketing-nurture-campaigns.md +45 -40
  340. package/one/things/claude/agents/marketing-share-optimizer.md +45 -40
  341. package/one/things/claude/agents/marketing-team-manager.md +45 -40
  342. package/one/things/claude/agents/marketing-viral-growth.md +49 -18
  343. package/one/things/claude/agents/mission-commander.md +45 -40
  344. package/one/things/claude/agents/network-effect-analyst.md +48 -31
  345. package/one/things/claude/agents/nextjs-15-specialist.md +210 -123
  346. package/one/things/claude/agents/npx.md +126 -70
  347. package/one/things/claude/agents/nurture-campaign-manager.md +48 -25
  348. package/one/things/claude/agents/one-master.md +48 -25
  349. package/one/things/claude/agents/one-orchestrator.md +57 -27
  350. package/one/things/claude/agents/one.md +88 -31
  351. package/one/things/claude/agents/playbook-generator.md +48 -25
  352. package/one/things/claude/agents/pm.md +48 -25
  353. package/one/things/claude/agents/po.md +51 -26
  354. package/one/things/claude/agents/qa.md +50 -25
  355. package/one/things/claude/agents/research-foundation-analyst.md +48 -31
  356. package/one/things/claude/agents/research-intelligence-gatherer.md +59 -32
  357. package/one/things/claude/agents/research-market-analyst.md +47 -30
  358. package/one/things/claude/agents/research-team-manager.md +47 -40
  359. package/one/things/claude/agents/sales-environment-optimizer.md +50 -25
  360. package/one/things/claude/agents/sales-team-manager.md +47 -40
  361. package/one/things/claude/agents/sales-upsell-strategist.md +47 -30
  362. package/one/things/claude/agents/service-advocacy-campaigns.md +47 -30
  363. package/one/things/claude/agents/service-advocacy-manager.md +47 -30
  364. package/one/things/claude/agents/service-success-manager.md +47 -30
  365. package/one/things/claude/agents/service-team-manager.md +45 -40
  366. package/one/things/claude/agents/shadcn-ui-design-system-specialist.md +85 -30
  367. package/one/things/claude/agents/share-optimization-specialist.md +50 -25
  368. package/one/things/claude/agents/sm.md +50 -25
  369. package/one/things/claude/agents/story-teller.md +51 -26
  370. package/one/things/claude/agents/task-master.md +52 -27
  371. package/one/things/claude/agents/tauri-cross-platform-specialist.md +201 -116
  372. package/one/things/claude/agents/tester.md +85 -46
  373. package/one/things/claude/agents/the-bull-character-manager.md +48 -25
  374. package/one/things/claude/agents/tools-playbook-generator.md +43 -40
  375. package/one/things/claude/agents/turbo-repo-builder.md +57 -27
  376. package/one/things/claude/agents/upsell-strategist.md +48 -25
  377. package/one/things/claude/agents/ux-expert.md +50 -25
  378. package/one/things/claude/agents/viral-growth-orchestrator.md +50 -27
  379. package/one/things/claude/commands/agent.md +25 -5
  380. package/one/things/claude/commands/cascade-status.md +33 -8
  381. package/one/things/claude/commands/ingest.md +64 -11
  382. package/one/things/claude/commands/ingestor.md +29 -7
  383. package/one/things/claude/commands/mission.md +24 -4
  384. package/one/things/claude/commands/npx.md +30 -7
  385. package/one/things/claude/commands/one.md +114 -68
  386. package/one/things/claude/commands/quality-check.md +72 -24
  387. package/one/things/claude/commands/smart-route.md +45 -4
  388. package/one/things/claude/commands/start.md +22 -4
  389. package/one/things/claude/commands/story.md +25 -5
  390. package/one/things/claude/commands/task.md +21 -1
  391. package/one/things/cli/cli-code.md +244 -219
  392. package/one/things/cli/cli-compiler-code.md +244 -219
  393. package/one/things/cli/cli.md +30 -6
  394. package/one/things/components/card-shadcn.md +252 -228
  395. package/one/things/components/card.md +315 -324
  396. package/one/things/components.md +667 -593
  397. package/one/things/componets.md +16 -1
  398. package/one/things/creator-diagram.md +23 -5
  399. package/one/things/demo-accessibility-animations.md +73 -47
  400. package/one/things/demo-components.md +225 -219
  401. package/one/things/demo-design-summary.md +95 -32
  402. package/one/things/demo-design-system.md +184 -130
  403. package/one/things/demo-page-layouts.md +52 -25
  404. package/one/things/designs/accessibility-audit.md +153 -66
  405. package/one/things/designs/component-specifications.md +163 -65
  406. package/one/things/designs/design-overview.md +81 -22
  407. package/one/things/designs/design-tokens.md +127 -93
  408. package/one/things/designs/wireframes-dashboard.md +64 -7
  409. package/one/things/docs/api-requests.md +75 -11
  410. package/one/things/docs/ecommerce/ARCHITECTURE-DIAGRAM.md +18 -0
  411. package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-IMPLEMENTATION.md +57 -0
  412. package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-SUMMARY.md +62 -6
  413. package/one/things/docs/ecommerce/CONVERSION-UX-IMPLEMENTATION-SUMMARY.md +60 -5
  414. package/one/things/docs/ecommerce/FEATURE-SUMMARY.md +95 -27
  415. package/one/things/docs/ecommerce/IMPLEMENTATION-NOTES.md +130 -62
  416. package/one/things/docs/ecommerce/INTEGRATION-EXAMPLE.md +43 -19
  417. package/one/things/docs/ecommerce/QUICK-START.md +41 -4
  418. package/one/things/docs/ecommerce/URGENCY-IMPLEMENTATION-SUMMARY.md +75 -6
  419. package/one/things/docs/ecommerce/URGENCY-QUICK-REFERENCE.md +58 -24
  420. package/one/things/examples/children/lemonade-stand.md +52 -14
  421. package/one/things/examples/enterprise/crm-saas.md +66 -51
  422. package/one/things/features/1-1-agent-prompts.md +76 -0
  423. package/one/things/features/1-2-yaml-orchestrator.md +32 -0
  424. package/one/things/features/1-3-event-coordination.md +40 -1
  425. package/one/things/features/1-4-knowledge-management.md +91 -16
  426. package/one/things/features/1-5-quality-loops.md +88 -4
  427. package/one/things/features/1-6-numbering-structure.md +78 -14
  428. package/one/things/features/2-1-dataprovider-interface.md +317 -92
  429. package/one/things/features/2-2-config-system.md +307 -140
  430. package/one/things/features/2-3-effectts-services.md +266 -119
  431. package/one/things/features/2-4-react-hooks.md +221 -205
  432. package/one/things/features/2-5-auth-migration.md +406 -308
  433. package/one/things/features/2-6-dashboard-migration.md +112 -13
  434. package/one/things/features/2-7-alternative-providers.md +138 -65
  435. package/one/things/features/2-7-implementation-report.md +68 -24
  436. package/one/things/features/2-cli.md +91 -79
  437. package/one/things/features/2-design.md +114 -82
  438. package/one/things/features/2-tests.md +56 -0
  439. package/one/things/features/AUTH_HOOKS_IMPLEMENTATION.md +91 -36
  440. package/one/things/features/DECOUPLING.md +36 -18
  441. package/one/things/features/DEPLOYMENT.md +22 -4
  442. package/one/things/features/IMPLEMENTATION_SUMMARY.md +48 -2
  443. package/one/things/features/improve.md +47 -29
  444. package/one/things/features/remove-convex-deps.md +18 -0
  445. package/one/things/features/top-features.md +28 -20
  446. package/one/things/features/use-one-backend.md +212 -175
  447. package/one/things/features-in-english.md +19 -6
  448. package/one/things/files.yaml +721 -0
  449. package/one/things/ideas/1-create-workflow.md +18 -0
  450. package/one/things/ideas/2-backend-agnostic-frontend.md +57 -2
  451. package/one/things/implementation/backend-guide.md +65 -20
  452. package/one/things/interface.md +51 -8
  453. package/one/things/landing-page-implementation.md +455 -0
  454. package/one/things/legal/README.md +44 -0
  455. package/one/things/legal/privacy-policy.md +188 -25
  456. package/one/things/legal/terms-of-service.md +170 -9
  457. package/one/things/master-workflow-plan.md +806 -0
  458. package/one/things/plans/0-in-sync.md +136 -0
  459. package/one/things/plans/0-timeline.md +36 -0
  460. package/one/things/plans/1-create-workflow.md +19 -0
  461. package/one/things/plans/QUICK-START-SIMPLIFICATION.md +333 -0
  462. package/one/things/plans/README-SIMPLIFICATION.md +349 -0
  463. package/one/things/plans/SIMPLIFICATION-EXAMPLES.md +16 -0
  464. package/one/things/plans/SIMPLIFICATION-SUMMARY.md +455 -0
  465. package/one/things/plans/ai-elements.md +28 -9
  466. package/one/things/plans/ai-integration.md +111 -62
  467. package/one/things/plans/ai-sdk.md +92 -55
  468. package/one/things/plans/ai-tools.md +621 -0
  469. package/one/things/plans/app.md +142 -71
  470. package/one/things/plans/architecture-summary.md +34 -5
  471. package/one/things/plans/async-ai-agents.md +19 -1
  472. package/one/things/plans/backend-agnostic-frontend.md +70 -8
  473. package/one/things/plans/backend-cleanup-quickstart.md +55 -21
  474. package/one/things/plans/backend-ontology-conformance.md +150 -91
  475. package/one/things/plans/backend-status.md +64 -6
  476. package/one/things/plans/backend-structure.md +103 -55
  477. package/one/things/plans/backend-target-structure.md +63 -19
  478. package/one/things/plans/backend.md +61 -19
  479. package/one/things/plans/better-auth-any-backend-revised.md +325 -287
  480. package/one/things/plans/better-auth-any-backend.md +576 -532
  481. package/one/things/plans/better-auth-available-features.md +43 -5
  482. package/one/things/plans/big-plan.md +20 -6
  483. package/one/things/plans/cli-updates-required.md +44 -4
  484. package/one/things/plans/complete-step-by-step.md +223 -116
  485. package/one/things/plans/components.md +709 -0
  486. package/one/things/plans/convex-agents.md +87 -58
  487. package/one/things/plans/convex-better-auth.md +186 -154
  488. package/one/things/plans/convex-on-off.md +47 -29
  489. package/one/things/plans/crypto-token-researcher.md +629 -0
  490. package/one/things/plans/data-quality-metrics.md +745 -0
  491. package/one/things/plans/deep-researcher-agent.md +466 -0
  492. package/one/things/plans/deploy-to-cloudflare.md +55 -13
  493. package/one/things/plans/deployment-architecture.md +54 -11
  494. package/one/things/plans/desktop.md +21 -3
  495. package/one/things/plans/development-plan.md +233 -170
  496. package/one/things/plans/development-workflow-tldr.md +207 -0
  497. package/one/things/plans/development-workflow.md +959 -0
  498. package/one/things/plans/effect-components.md +667 -593
  499. package/one/things/plans/effect-patterns-reference.md +2235 -0
  500. package/one/things/plans/effect.md +209 -136
  501. package/one/things/plans/email.md +21 -8
  502. package/one/things/plans/enhance-auth.md +64 -41
  503. package/one/things/plans/execution-strategy.md +1291 -0
  504. package/one/things/plans/existing-infrastructure.md +712 -0
  505. package/one/things/plans/feature-based-sites.md +124 -51
  506. package/one/things/plans/frontend-effects.md +1276 -0
  507. package/one/things/plans/group-folder-multi-tenancy.md +187 -124
  508. package/one/things/plans/improve-codebase.md +498 -421
  509. package/one/things/plans/install-components.md +18 -1
  510. package/one/things/plans/integrate-frontend-and-backend.md +77 -53
  511. package/one/things/plans/landing.md +92 -0
  512. package/one/things/plans/layout.md +45 -1
  513. package/one/things/plans/mail-backend.md +546 -493
  514. package/one/things/plans/mail.md +379 -326
  515. package/one/things/plans/mcp-clear-context-prompt.md +21 -0
  516. package/one/things/plans/mcp-simple.md +20 -0
  517. package/one/things/plans/multi-ontology-architecture.md +115 -66
  518. package/one/things/plans/next-features.md +31 -0
  519. package/one/things/plans/onboarding.md +21 -2
  520. package/one/things/plans/one.md +18 -0
  521. package/one/things/plans/ontology-6-dimensions.md +31 -52
  522. package/one/things/plans/ontology-compliance-audit.md +315 -0
  523. package/one/things/plans/ontology-driven-strategy.md +19 -3
  524. package/one/things/plans/ontology-refine.md +586 -0
  525. package/one/things/plans/ontology-ui-approach.md +18 -0
  526. package/one/things/plans/open-agent.md +152 -97
  527. package/one/things/plans/performace.md +32 -0
  528. package/one/things/plans/phase-1-foundation.md +620 -0
  529. package/one/things/plans/phase-3-implementation.md +1037 -0
  530. package/one/things/plans/quick-wins.md +342 -187
  531. package/one/things/plans/readme-backend-cleanup.md +57 -16
  532. package/one/things/plans/release.md +55 -2
  533. package/one/things/plans/repos.md +22 -0
  534. package/one/things/plans/separate-copy-2.md +127 -71
  535. package/one/things/plans/separate-copy-3.md +35 -14
  536. package/one/things/plans/separate-copy.md +127 -71
  537. package/one/things/plans/separate-demo.md +37 -3
  538. package/one/things/plans/separate.md +24 -6
  539. package/one/things/plans/sequence.md +284 -141
  540. package/one/things/plans/shadcn-integration-summary.md +104 -44
  541. package/one/things/plans/sidebar.md +44 -10
  542. package/one/things/plans/skills.md +133 -30
  543. package/one/things/plans/small-fixes.md +19 -1
  544. package/one/things/plans/start-new.md +39 -13
  545. package/one/things/plans/switch-off-auth.md +22 -0
  546. package/one/things/plans/sync-checklist.md +34 -4
  547. package/one/things/plans/test-backend-connection.md +38 -0
  548. package/one/things/plans/unified-implementation-plan.md +145 -63
  549. package/one/things/plans/update-demos.md +156 -88
  550. package/one/things/plans/use-our-backend.md +572 -0
  551. package/one/things/plans/wave1-onboarding-100-inferences.md +1686 -0
  552. package/one/things/plans/wave1-onboarding-vision.md +744 -0
  553. package/one/things/plans/wave1-orchestration-summary.md +604 -0
  554. package/one/things/plans/wave1-specialist-assignments.md +1413 -0
  555. package/one/things/plans/workflow-files.md +28 -14
  556. package/one/things/plans/workflow.md +18 -12
  557. package/one/things/products/cascade-landing-page.md +150 -46
  558. package/one/things/products/cascade.md +185 -135
  559. package/one/things/products/context-engineering.md +411 -350
  560. package/one/things/products/onthology.md +15 -0
  561. package/one/things/products/ontology-ui-shadcn.md +375 -353
  562. package/one/things/products/ontology-ui.md +101 -59
  563. package/one/things/products/ontology.md +92 -20
  564. package/one/things/products/sdk.md +181 -165
  565. package/one/things/promptkit.md +70 -43
  566. package/one/things/repos/all-repos.md +0 -0
  567. package/one/things/service-providers-new.md +95 -25
  568. package/one/things/service-providers.md +231 -202
  569. package/one/things/structure.md +532 -0
  570. package/one/things/system.md +18 -0
  571. package/one/things/templates.md +40 -0
  572. package/one/things/tests/2-1-dataprovider-interface.md +105 -33
  573. package/one/things/tests/2-1-test-analysis.md +66 -18
  574. package/one/things/things.md +51 -16
  575. package/one/things/todo-acp-integration.md +744 -0
  576. package/one/things/todo-ai.md +933 -0
  577. package/one/things/todo-api.md +1078 -0
  578. package/one/things/todo-assignment.md +580 -0
  579. package/one/things/todo-buy-chatgpt.md +1450 -0
  580. package/one/things/todo-components.md +1683 -0
  581. package/one/things/todo-connections.md +278 -0
  582. package/one/things/todo-ecommerce-frontend.md +1313 -0
  583. package/one/things/todo-ecommerce.md +569 -0
  584. package/one/things/todo-effects.md +1075 -0
  585. package/one/things/todo-frontend-effects.md +977 -0
  586. package/one/things/todo-landing-page.md +1091 -0
  587. package/one/things/todo-mail.md +1160 -0
  588. package/one/things/todo-master-plan.md +490 -0
  589. package/one/things/todo-onboard.md +666 -0
  590. package/one/things/todo-one-ie.md +538 -0
  591. package/one/things/todo-page.md +606 -0
  592. package/one/things/todo-plans.md +282 -0
  593. package/one/things/todo-projects.md +241 -0
  594. package/one/things/todo-refactoring-plan.md +366 -0
  595. package/one/things/todo-sequence.md +1621 -0
  596. package/one/things/todo-use-our-backend.md +1908 -0
  597. package/one/things/todo-workflow.md +626 -0
  598. package/one/things/todo-x402.md +2047 -0
  599. package/one/things/todo.md +459 -1075
  600. package/one/things/video/scripts-crypto.md +835 -0
  601. package/one/things/video-script-ontology.md +334 -0
  602. package/package.json +7 -2
  603. package/.claude/commands/build.md +0 -293
  604. package/one/.obsidian/app.json +0 -8
  605. package/one/.obsidian/appearance.json +0 -1
  606. package/one/.obsidian/community-plugins.json +0 -3
  607. package/one/.obsidian/core-plugins.json +0 -33
  608. package/one/.obsidian/plugins/easy-bake/main.js +0 -361
  609. package/one/.obsidian/plugins/easy-bake/manifest.json +0 -11
  610. package/one/.obsidian/plugins/easy-bake/styles.css +0 -10
  611. package/one/.obsidian/workspace.json +0 -240
  612. package/one/events/2024-10-14-deployment-plan.md +0 -331
  613. package/one/events/2024-10-14-deployment-success.md +0 -448
  614. package/one/events/2024-10-14-final-sync-complete.md +0 -251
  615. package/one/events/2024-10-14-release-v2.0.6.md +0 -415
  616. package/one/events/2024-10-15-agent-clean-v2-summary.md +0 -496
  617. package/one/events/2024-10-15-handoff-to-clean.md +0 -348
  618. package/one/events/2024-10-15-package-manager-tests.md +0 -443
  619. package/one/events/2024-10-15-release-command-complete.md +0 -417
  620. package/one/events/2025-10-15-private-files-secured.md +0 -341
  621. package/one/events/2025-10-15-unignore-public-group-docs.md +0 -280
  622. package/one/events/API_ROUTES_FIXES_SUMMARY.md +0 -262
  623. package/one/events/ASTRO-INTEGRATION-EXAMPLES.md +0 -636
  624. package/one/events/BEFORE_AFTER_COMPARISON.md +0 -960
  625. package/one/events/CART-DRAWER-INTEGRATION-GUIDE.md +0 -354
  626. package/one/events/CASCADE-2-BACKEND-AGNOSTIC.md +0 -412
  627. package/one/events/CLEANUP-RELEASE-V2.0.8.md +0 -290
  628. package/one/events/CONNECTIONS_DEMO.md +0 -501
  629. package/one/events/CREATE-WEBSITE.md +0 -442
  630. package/one/events/CRITICAL-FIXES-COMPLETE.md +0 -504
  631. package/one/events/CUSTOM-DOMAIN.md +0 -357
  632. package/one/events/DELIVERABLES.md +0 -432
  633. package/one/events/DEMO-GROUPS-PAGE.md +0 -392
  634. package/one/events/DEMO-TESTING-SUMMARY.md +0 -518
  635. package/one/events/DEMO_COMPONENTS.md +0 -487
  636. package/one/events/DEMO_HOOKS_INDEX.md +0 -334
  637. package/one/events/DEMO_INFRASTRUCTURE.md +0 -905
  638. package/one/events/DEMO_INFRASTRUCTURE_SUMMARY.md +0 -570
  639. package/one/events/DEMO_INTEGRATION_CHECKLIST.md +0 -431
  640. package/one/events/DEMO_QUICK_REFERENCE.md +0 -441
  641. package/one/events/DEMO_SETUP.md +0 -476
  642. package/one/events/DEPLOYMENT copy.md +0 -426
  643. package/one/events/DEPLOYMENT.md +0 -178
  644. package/one/events/ECOMMERCE-BEFORE-AFTER.md +0 -251
  645. package/one/events/ECOMMERCE-DEMO-PLAN.md +0 -225
  646. package/one/events/ECOMMERCE-ENHANCEMENTS.md +0 -576
  647. package/one/events/ECOMMERCE-HIGH-CONVERTING-ELEMENTS.md +0 -421
  648. package/one/events/ECOMMERCE-LIVE-DEMO.md +0 -363
  649. package/one/events/ECOMMERCE-REFACTOR-SUMMARY.md +0 -196
  650. package/one/events/ECOMMERCE-SETUP-SUMMARY.md +0 -396
  651. package/one/events/ECOMMERCE-TEMPLATE-COMPLETE.md +0 -735
  652. package/one/events/ECOMMERCE-TEMPLATES-SUMMARY.md +0 -923
  653. package/one/events/EFFECT_TS_API_PATTERN.md +0 -478
  654. package/one/events/FEATURE-2-4-COMPLETE.md +0 -302
  655. package/one/events/FEATURE_2_3_COMPLETE.md +0 -575
  656. package/one/events/GRADIENT-TEXT-PERMANENT-FIX.md +0 -223
  657. package/one/events/GROUPS-MIGRATION.md +0 -625
  658. package/one/events/GROUPS_DEMO_IMPLEMENTATION.md +0 -414
  659. package/one/events/HANDOFF.md +0 -313
  660. package/one/events/HOOKS-DEMO.md +0 -441
  661. package/one/events/IMPLEMENTATION-SUMMARY-FINAL.md +0 -503
  662. package/one/events/IMPLEMENTATION_SUMMARY.md +0 -529
  663. package/one/events/INSTALL-TESTS.md +0 -293
  664. package/one/events/INSTALLATION_FOLDERS.md +0 -516
  665. package/one/events/INSTALLATION_FOLDERS_FILES.md +0 -205
  666. package/one/events/INSTALLATION_FOLDERS_SUMMARY.md +0 -419
  667. package/one/events/INTEGRATION-ARCHITECTURE.md +0 -561
  668. package/one/events/INTEGRATION-CHECKLIST.md +0 -1234
  669. package/one/events/INTEGRATION-ORCHESTRATION.md +0 -2623
  670. package/one/events/INTEGRATION-SUMMARY.md +0 -653
  671. package/one/events/LANDING-PAGE-EXAMPLE-OUTPUT.md +0 -666
  672. package/one/events/LANDING-PAGE-IMPLEMENTATION.md +0 -642
  673. package/one/events/LANDING-PAGE-QUICKSTART.md +0 -407
  674. package/one/events/LICENSE.md +0 -89
  675. package/one/events/MCP-CONFIGURATION.md +0 -336
  676. package/one/events/MCP-SETUP-COMPLETE.md +0 -205
  677. package/one/events/MIGRATION-REPORT.md +0 -435
  678. package/one/events/MIGRATION.md +0 -69
  679. package/one/events/MULTI-ONTOLOGY-COMPLETE-GUIDE.md +0 -1627
  680. package/one/events/MULTI-ONTOLOGY-IMPLEMENTATION-COMPLETE.md +0 -573
  681. package/one/events/NODE-UPGRADE.md +0 -111
  682. package/one/events/ONBOARDING-IMPLEMENTATION-COMPLETE copy.md +0 -398
  683. package/one/events/ONTOLOGY-HOOKS-README.md +0 -700
  684. package/one/events/ONTOLOGY-INTEGRATION-MANIFEST.md +0 -365
  685. package/one/events/ONTOLOGY-TUTORIALS-SUMMARY.md +0 -525
  686. package/one/events/ONTOLOGY-TYPE-GENERATOR-SUMMARY.md +0 -455
  687. package/one/events/ONTOLOGY_DISCOVERY_IMPLEMENTATION.md +0 -486
  688. package/one/events/ONTOLOGY_DISCOVERY_QUICKSTART.md +0 -203
  689. package/one/events/PACKAGE-STRUCTURE.md +0 -310
  690. package/one/events/PLAYBOOK-SETUP-SUMMARY.md +0 -331
  691. package/one/events/PROMPT_FIX_FRONTEND_ONLY.md +0 -567
  692. package/one/events/QA-CHECKLIST.md +0 -674
  693. package/one/events/QUICK-START-ONTOLOGY.md +0 -408
  694. package/one/events/README-archived.md +0 -519
  695. package/one/events/SEARCH_DEMO_CODE_REFERENCE.md +0 -639
  696. package/one/events/SEARCH_DEMO_DELIVERY.md +0 -415
  697. package/one/events/SEARCH_DEMO_SUMMARY.md +0 -303
  698. package/one/events/SEARCH_DEMO_VISUAL_GUIDE.md +0 -381
  699. package/one/events/SECURITY-AUDIT-FIXES.md +0 -376
  700. package/one/events/SECURITY-SCAN-COMPLETE.md +0 -281
  701. package/one/events/SHOP-BUILD-STATUS.md +0 -114
  702. package/one/events/SHOP-PREMIUM-UPDATE.md +0 -149
  703. package/one/events/SIMPLE_FIX_FRONTEND_ONLY.md +0 -262
  704. package/one/events/SITE-WIDE-GRADIENT-FIX.md +0 -299
  705. package/one/events/STORE-PRODUCTION-READY-STATUS.md +0 -359
  706. package/one/events/STRIPE-INTEGRATION.md +0 -414
  707. package/one/events/STRIPE-PAYMENT-METHODS-GUIDE.md +0 -429
  708. package/one/events/STRIPE-SETUP-GUIDE.md +0 -462
  709. package/one/events/TEST-PLAN-INDEX.md +0 -346
  710. package/one/events/TEST-PLAN.md +0 -1417
  711. package/one/events/TEST-SUMMARY.md +0 -393
  712. package/one/events/TESTING-DELIVERY.txt +0 -372
  713. package/one/events/TESTS-QUICK-REF.md +0 -262
  714. package/one/events/TRANSITIONS-QUICK-START.md +0 -141
  715. package/one/events/TRANSPARENCY-FIXES.md +0 -275
  716. package/one/events/TYPESCRIPT_FIXES.md +0 -152
  717. package/one/events/TYPESCRIPT_FIXES_COMPLETE.txt +0 -412
  718. package/one/events/TYPESCRIPT_FIXES_INDEX.md +0 -341
  719. package/one/events/VIEW-TRANSITIONS.md +0 -428
  720. package/one/events/agent-director-enhancement-summary.md +0 -386
  721. package/one/events/agent-onboard-implementation-summary.md +0 -457
  722. package/one/events/backend-integration-tests.md +0 -606
  723. package/one/events/backend-structure-diagram.txt +0 -393
  724. package/one/events/backend-structure-summary.txt +0 -269
  725. package/one/events/clean-agent-ontology-cleanup-report.md +0 -353
  726. package/one/events/cloudflare-automation-complete.md +0 -332
  727. package/one/events/cloudflare-pages-infrastructure-setup.md +0 -264
  728. package/one/events/contact-page-complete.md +0 -298
  729. package/one/events/convex-analysis-index.md +0 -304
  730. package/one/events/convex-structure-analysis.md +0 -700
  731. package/one/events/deployment-installation-folders.md +0 -160
  732. package/one/events/deployment-ops-summary.md +0 -368
  733. package/one/events/deployment-verification.md +0 -348
  734. package/one/events/design-spec-complete.md +0 -208
  735. package/one/events/events.md +0 -545
  736. package/one/events/installation-folders-workflow-integration.md +0 -440
  737. package/one/events/landing-page-generator.md +0 -458
  738. package/one/events/legal-assessment-2025-10-16.md +0 -1899
  739. package/one/events/onboarding-implementation-complete.md +0 -505
  740. package/one/events/ontology-test-examples.md +0 -562
  741. package/one/events/phase1-backend-implementation-complete.md +0 -518
  742. package/one/events/release.md +0 -254
  743. package/one/events/separate-implementation-status.md +0 -537
  744. package/one/events/session-summary-2025-10-18.md +0 -348
  745. package/one/events/skills-complete.md +0 -333
  746. package/one/events/skills-infer-6-10-summary.md +0 -52
  747. package/one/events/skills-phase1-complete.md +0 -263
  748. package/one/events/test-dashboard.md +0 -345
  749. package/one/events/test-index.md +0 -361
  750. package/one/events/test-report-ontology.md +0 -582
  751. package/one/events/testing-summary.md +0 -344
  752. package/one/knowledge/CLOUDFLARE_ENV_SETUP.md +0 -49
  753. package/one/knowledge/docs/flow.md +0 -0
  754. package/one/knowledge/documentation-summary.md +0 -285
  755. package/one/knowledge/inference-score.md +0 -159
  756. package/one/knowledge/ontology-frontend-copy-2.md +0 -1492
  757. package/one/knowledge/ontology-frontend-copy.md +0 -753
  758. package/one/knowledge/ontology-migration-guide.md +0 -811
  759. package/one/things/features/0 All Features.md +0 -2
  760. package/one/things/plans/1-create-workflow-status.md +0 -555
  761. package/one/things/plans/2-backend-agnostic-frontend.md +0 -546
  762. package/one/things/plans/2-sites.md +0 -895
  763. package/one/things/plans/3-groups.md +0 -735
  764. package/one/things/plans/5-build-frontend.md +0 -0
  765. package/one/things/plans/5-complete.md +0 -17
  766. package/one/things/plans/agent-director-100-inference-plans.md +0 -410
  767. package/one/things/plans/dual-website-strategy.md +0 -612
  768. package/one/things/plans/releases.md +0 -809
@@ -1,1899 +0,0 @@
1
- # ONE Platform Legal Assessment Report
2
-
3
- **Date:** October 16, 2025
4
- **Conducted By:** Legal Agent (Claude AI)
5
- **Scope:** Comprehensive legal compliance review of ONE Platform
6
- **Version:** 1.0.0
7
-
8
- ---
9
-
10
- ## Executive Summary
11
-
12
- This legal assessment evaluates ONE Platform for compliance with GDPR, CCPA, PIPEDA, and other applicable regulations across its 6-dimension ontology architecture. The assessment covers web properties, backend infrastructure, third-party integrations, and business documentation.
13
-
14
- **Overall Risk Level:** MEDIUM-HIGH (requires immediate attention)
15
-
16
- **Critical Findings:**
17
- - ✅ Strong architectural foundation with ontology-aligned data flows
18
- - ✅ Privacy-by-design principles evident in multi-tenant isolation
19
- - ⚠️ Missing essential legal disclosures on public-facing pages
20
- - ⚠️ No cookie consent mechanism despite using session cookies
21
- - ⚠️ Incomplete privacy policy links and terms of service acceptance
22
- - ⚠️ OpenAI/ElevenLabs data processing agreements not documented
23
- - ⚠️ No data protection impact assessment (DPIA) for AI features
24
-
25
- **Recommended Actions:**
26
- 1. **Immediate (0-7 days):** Add privacy policy & terms links to all pages, implement cookie consent
27
- 2. **High Priority (7-30 days):** Complete DPIAs, formalize DPAs with processors, add GDPR-required disclosures
28
- 3. **Medium Priority (30-90 days):** Implement user consent flows for AI features, add data export tools
29
- 4. **Ongoing:** Regular compliance audits, privacy training for group owners, breach response testing
30
-
31
- ---
32
-
33
- ## Table of Contents
34
-
35
- 1. [Assessment Methodology](#1-assessment-methodology)
36
- 2. [Findings by Ontology Dimension](#2-findings-by-ontology-dimension)
37
- 3. [Third-Party Service Compliance](#3-third-party-service-compliance)
38
- 4. [Critical Issues](#4-critical-issues)
39
- 5. [High Priority Issues](#5-high-priority-issues)
40
- 6. [Medium Priority Issues](#6-medium-priority-issues)
41
- 7. [Low Priority Issues](#7-low-priority-issues)
42
- 8. [Compliance Checklist](#8-compliance-checklist)
43
- 9. [Remediation Roadmap](#9-remediation-roadmap)
44
- 10. [Legal Documents Created](#10-legal-documents-created)
45
- 11. [Recommendations](#11-recommendations)
46
-
47
- ---
48
-
49
- ## 1. Assessment Methodology
50
-
51
- ### 1.1 Scope
52
-
53
- **Assessed Components:**
54
- - `/web` directory: All public-facing Astro pages (index, blog, account, groups)
55
- - `/backend` directory: Convex schema and authentication system
56
- - `/one` directory: Business documentation, ontology specifications, agent definitions
57
- - Environment configurations (`.env` files referenced, not read for security)
58
- - Third-party integrations (Convex, Cloudflare, OpenAI, ElevenLabs, Stripe, Resend)
59
-
60
- **Regulations Reviewed:**
61
- - GDPR (General Data Protection Regulation) - EU/EEA/UK
62
- - CCPA (California Consumer Privacy Act) - California, USA
63
- - PIPEDA (Personal Information Protection and Electronic Documents Act) - Canada
64
- - ePrivacy Directive (Cookie Law) - EU/EEA
65
- - Digital Services Act (DSA) - EU
66
- - CAN-SPAM Act - USA (for email)
67
-
68
- ### 1.2 Methodology
69
-
70
- 1. **Static Code Analysis:** Reviewed all source files for data collection, processing, and storage
71
- 2. **Architecture Review:** Analyzed 6-dimension ontology for privacy-by-design compliance
72
- 3. **Third-Party Review:** Evaluated all external service providers for GDPR Article 28 compliance
73
- 4. **Gap Analysis:** Compared current state against regulatory requirements
74
- 5. **Risk Assessment:** Categorized findings by severity and regulatory impact
75
- 6. **Document Creation:** Generated Privacy Policy, Terms of Service, and this assessment report
76
-
77
- ### 1.3 Assessment Criteria
78
-
79
- **Critical (Red):** Legal violation with immediate regulatory/lawsuit risk
80
- **High (Orange):** Regulatory non-compliance requiring prompt action
81
- **Medium (Yellow):** Best practice gaps that increase risk
82
- **Low (Green):** Minor improvements to enhance compliance posture
83
-
84
- ---
85
-
86
- ## 2. Findings by Ontology Dimension
87
-
88
- ### Dimension 1: GROUPS (Multi-Tenant Isolation)
89
-
90
- **Positive Findings:**
91
- - ✅ Strong multi-tenant isolation architecture (separate data per group)
92
- - ✅ Clear group ownership model with hierarchical nesting support
93
- - ✅ Group-level privacy settings (public/private, join policies)
94
- - ✅ Parent-child group relationships properly scoped with access controls
95
-
96
- **Issues Identified:**
97
-
98
- **MEDIUM:** Insufficient disclosure of hierarchical access
99
- - **Issue:** Group creation UI does not disclose that parent groups CAN access child group data
100
- - **Regulation:** GDPR Article 13 (transparent data processing)
101
- - **Risk:** Users unknowingly share data with parent group owners
102
- - **Remediation:** Add disclosure to group creation flow: "Parent groups can access this group's data per your settings"
103
-
104
- **MEDIUM:** No data protection agreement for group owners
105
- - **Issue:** Group owners are data controllers but no DPA template provided
106
- - **Regulation:** GDPR Article 28 (data processor obligations)
107
- - **Risk:** Group owners unaware of their legal responsibilities
108
- - **Remediation:** Provide DPA template when creating first group; require acceptance
109
-
110
- **LOW:** Group deletion grace period not disclosed
111
- - **Issue:** 30-day grace period for group deletion is backend logic but not disclosed in UI
112
- - **Regulation:** GDPR Article 17 (right to erasure transparency)
113
- - **Remediation:** Add notice: "Group data will be permanently deleted after 30 days"
114
-
115
- ### Dimension 2: PEOPLE (Authorization & User Identity)
116
-
117
- **Positive Findings:**
118
- - ✅ Four clearly defined roles with granular permissions
119
- - ✅ Secure authentication (bcrypt password hashing, OAuth support, 2FA available)
120
- - ✅ Session management with reasonable expiry (14 days max)
121
- - ✅ Email verification and password reset flows
122
-
123
- **Issues Identified:**
124
-
125
- **CRITICAL:** No privacy policy acceptance at signup
126
- - **Issue:** Users can create accounts without reading/accepting privacy policy
127
- - **File:** `/web/src/pages/account/signup.astro` + `/web/src/components/auth/SignUpPage.tsx`
128
- - **Regulation:** GDPR Article 7 (consent conditions), CCPA §1798.140(h)
129
- - **Risk:** Invalid consent, unenforceable terms, regulatory fines
130
- - **Remediation:** Add checkbox: "I have read and accept the [Privacy Policy] and [Terms of Service]"
131
-
132
- **CRITICAL:** No terms of service acceptance at signup
133
- - **Issue:** Users not required to accept TOS before creating account
134
- - **File:** Same as above
135
- - **Regulation:** Contract law basics, GDPR Article 6(1)(b)
136
- - **Risk:** Unenforceable terms, no legal basis for processing
137
- - **Remediation:** Same checkbox as privacy policy
138
-
139
- **HIGH:** OAuth consent not explicit enough
140
- - **Issue:** OAuth flow does not clearly state what data will be collected from provider
141
- - **Regulation:** GDPR Article 13 (information to be provided)
142
- - **Risk:** Lack of transparency about third-party data
143
- - **Remediation:** Add disclosure: "By connecting [GitHub/Google], we will collect your name, email, and profile photo"
144
-
145
- **HIGH:** No data retention disclosure for session tokens
146
- - **Issue:** Session token retention period (14 days) not disclosed to users
147
- - **Regulation:** GDPR Article 13(2)(a) (storage period)
148
- - **Risk:** Users unaware how long they remain logged in
149
- - **Remediation:** Add to privacy policy (now included in created policy)
150
-
151
- **MEDIUM:** Magic link expiry not user-facing
152
- - **Issue:** Magic link tokens expire after 15 minutes but this is not shown in the email
153
- - **File:** Backend email templates (not reviewed but likely missing)
154
- - **Regulation:** User experience + security transparency
155
- - **Risk:** User confusion, support burden
156
- - **Remediation:** Add to magic link email: "This link expires in 15 minutes"
157
-
158
- **MEDIUM:** Password reset token expiry not disclosed
159
- - **Issue:** Reset tokens expire after 30 minutes but UI doesn't show countdown
160
- - **File:** `/web/src/pages/account/reset-password.astro`
161
- - **Regulation:** User experience best practice
162
- - **Risk:** User frustration, potential security confusion
163
- - **Remediation:** Add expiry notice to reset email and reset page
164
-
165
- **LOW:** 2FA backup codes storage not clarified
166
- - **Issue:** User may not understand that backup codes are stored encrypted
167
- - **Regulation:** GDPR Article 32 (security disclosure)
168
- - **Risk:** Minor transparency gap
169
- - **Remediation:** Add notice when enabling 2FA: "Backup codes are encrypted and can only be used once"
170
-
171
- ### Dimension 3: THINGS (Entities - 66 Types)
172
-
173
- **Positive Findings:**
174
- - ✅ Flexible entity model with type-specific properties (JSON)
175
- - ✅ Clear entity lifecycle (draft → active → published → archived)
176
- - ✅ Soft deletion support (deletedAt field)
177
- - ✅ Status-based access control
178
-
179
- **Issues Identified:**
180
-
181
- **HIGH:** No data minimization enforcement
182
- - **Issue:** Entity `properties` field accepts `any` type - no validation for excessive data collection
183
- - **File:** `/backend/convex/schema.ts` line 59: `properties: v.any()`
184
- - **Regulation:** GDPR Article 5(1)(c) (data minimization)
185
- - **Risk:** Over-collection of personal data, GDPR violation
186
- - **Remediation:** Add validation schemas for each entity type's properties; reject excessive fields
187
-
188
- **HIGH:** AI clone training data retention not time-bound
189
- - **Issue:** AI clone entities store training data indefinitely (no automatic deletion)
190
- - **File:** Schema implies indefinite retention
191
- - **Regulation:** GDPR Article 5(1)(e) (storage limitation)
192
- - **Risk:** Retaining personal data longer than necessary
193
- - **Remediation:** Add retention policy: Delete unused AI clone training data after 2 years of inactivity
194
-
195
- **MEDIUM:** External agent credentials not documented as encrypted
196
- - **Issue:** External agent properties store API keys but encryption not verified in code
197
- - **File:** Ontology spec mentions encryption but implementation not reviewed
198
- - **Regulation:** GDPR Article 32 (security of processing)
199
- - **Risk:** Potential plaintext storage of credentials
200
- - **Remediation:** Verify encryption implementation; add explicit "encrypted" flag in properties
201
-
202
- **MEDIUM:** NFT entity metadata may contain personal data
203
- - **Issue:** NFT entities may link to IPFS with personal data (unencrypted, permanent)
204
- - **Regulation:** GDPR Article 17 (right to erasure) - incompatible with blockchain
205
- - **Risk:** Cannot delete blockchain data if it contains personal info
206
- - **Remediation:** Add warning when minting NFTs: "Do not include personal information in NFT metadata"
207
-
208
- **LOW:** Entity creation events log IP addresses
209
- - **Issue:** Event logs may include IP addresses (personal data) without clear retention policy
210
- - **Regulation:** GDPR Article 5(1)(e) (storage limitation)
211
- - **Risk:** Retaining IP addresses longer than necessary
212
- - **Remediation:** Define IP address retention policy (30-90 days for security, then anonymize)
213
-
214
- ### Dimension 4: CONNECTIONS (Relationships - 25 Types)
215
-
216
- **Positive Findings:**
217
- - ✅ Clear relationship semantics (owns, member_of, holds_tokens, etc.)
218
- - ✅ Temporal validity (validFrom/validTo) for relationship history
219
- - ✅ Bidirectional relationship support
220
- - ✅ Metadata field for relationship-specific data
221
-
222
- **Issues Identified:**
223
-
224
- **MEDIUM:** Relationship metadata not schema-validated
225
- - **Issue:** Connection `metadata` field accepts `any` type (v.any())
226
- - **File:** `/backend/convex/schema.ts` line 128: `metadata: v.optional(v.any())`
227
- - **Regulation:** GDPR Article 5(1)(c) (data minimization)
228
- - **Risk:** Over-collection of relationship data
229
- - **Remediation:** Define metadata schemas per relationship type; validate on creation
230
-
231
- **MEDIUM:** No disclosure of relationship visibility within groups
232
- - **Issue:** Group members may not know other members can see their relationships
233
- - **Regulation:** GDPR Article 13 (transparent processing)
234
- - **Risk:** Users unknowingly share relationship data
235
- - **Remediation:** Add to group privacy settings: "Other members can see your connections within this group"
236
-
237
- **LOW:** Revenue share metadata not audited
238
- - **Issue:** Revenue share percentages stored in metadata (financial data) - no audit trail
239
- - **Regulation:** Financial record-keeping best practices
240
- - **Risk:** Dispute resolution difficult without audit trail
241
- - **Remediation:** Log changes to revenue share relationships as events
242
-
243
- ### Dimension 5: EVENTS (Audit Trail - 67 Types)
244
-
245
- **Positive Findings:**
246
- - ✅ Comprehensive event logging (authentication, user actions, financial transactions)
247
- - ✅ Actor tracking (who performed each action)
248
- - ✅ Timestamp precision (Unix milliseconds)
249
- - ✅ Event metadata for context
250
-
251
- **Issues Identified:**
252
-
253
- **HIGH:** No user-facing audit log access
254
- - **Issue:** Users cannot view their own activity history (GDPR right to access)
255
- - **Regulation:** GDPR Article 15 (right of access)
256
- - **Risk:** Cannot comply with data subject access requests efficiently
257
- - **Remediation:** Add "Activity Log" page in user settings showing their events
258
-
259
- **HIGH:** Event retention policy not implemented
260
- - **Issue:** Events stored indefinitely; no automatic archival/deletion
261
- - **File:** Ontology spec recommends 30-365 day tiered retention but not implemented
262
- - **Regulation:** GDPR Article 5(1)(e) (storage limitation)
263
- - **Risk:** Retaining personal data (IP addresses, user agents) too long
264
- - **Remediation:** Implement tiered retention: 30 days (hot), 365 days (warm), 7 years (cold for financial)
265
-
266
- **MEDIUM:** Failed login attempts not rate-limited visibly
267
- - **Issue:** Rate limiting implemented (backend) but no user feedback on rate limit status
268
- - **Regulation:** GDPR Article 32 (security transparency)
269
- - **Risk:** Users don't know why login is blocked
270
- - **Remediation:** Show rate limit message: "Too many failed attempts. Try again in X minutes."
271
-
272
- **MEDIUM:** Platform owner access events not visible to users
273
- - **Issue:** When platform owner accesses a group for support, event is logged but not shown to group owner
274
- - **Regulation:** GDPR Article 15 (right to be informed of access)
275
- - **Risk:** Users unaware of platform owner access
276
- - **Remediation:** Email group owner when platform owner accesses their group: "Platform owner accessed your group for support"
277
-
278
- **LOW:** Event metadata may contain excessive personal data
279
- - **Issue:** Event metadata is freeform (v.any()) - may over-collect
280
- - **Regulation:** GDPR Article 5(1)(c) (data minimization)
281
- - **Risk:** Storing unnecessary personal data in event logs
282
- - **Remediation:** Review event metadata schemas; minimize personal data
283
-
284
- ### Dimension 6: KNOWLEDGE (RAG & Embeddings)
285
-
286
- **Positive Findings:**
287
- - ✅ Vector-only mode for privacy-sensitive content (no text storage)
288
- - ✅ Source tracking (links embeddings back to source entities)
289
- - ✅ Garbage collection of orphaned knowledge items
290
- - ✅ Flexible labeling system
291
-
292
- **Issues Identified:**
293
-
294
- **CRITICAL:** No explicit consent for AI embedding generation
295
- - **Issue:** System automatically generates embeddings for user content without explicit opt-in
296
- - **Regulation:** GDPR Article 6 (lawful basis) + Article 22 (automated processing)
297
- - **Risk:** Unlawful processing of personal data, GDPR violation
298
- - **Remediation:** Add consent prompt: "Enable AI-powered search and recommendations? We will generate embeddings from your content."
299
-
300
- **HIGH:** OpenAI embedding API data retention not documented
301
- - **Issue:** Privacy policy states "zero data retention" but no DPA with OpenAI on file
302
- - **Regulation:** GDPR Article 28 (data processor agreement)
303
- - **Risk:** Cannot verify OpenAI's data retention practices
304
- - **Remediation:** Obtain signed DPA from OpenAI confirming zero retention for API calls
305
-
306
- **HIGH:** No user control over embedding deletion
307
- - **Issue:** Users cannot selectively delete embeddings without deleting source content
308
- - **Regulation:** GDPR Article 17 (right to erasure - granular)
309
- - **Risk:** Cannot honor granular deletion requests
310
- - **Remediation:** Add "Delete AI Data" button to entity pages (deletes embeddings but keeps content)
311
-
312
- **MEDIUM:** Embedding model versioning not tracked
313
- - **Issue:** Embeddings store `embeddingModel` but no version tracking (e.g., "text-embedding-3-large" vs "text-embedding-3-large-v2")
314
- - **Regulation:** GDPR Article 13 (automated processing transparency)
315
- - **Risk:** Cannot identify which AI model version processed user data
316
- - **Remediation:** Add `embeddingModelVersion` field to knowledge schema
317
-
318
- **MEDIUM:** No disclosure of semantic search accuracy
319
- - **Issue:** Users may rely on RAG results without understanding limitations
320
- - **Regulation:** AI Ethics + Consumer Protection
321
- - **Risk:** Misinformation, user frustration
322
- - **Remediation:** Add disclaimer to search results: "AI-powered search may return inaccurate or incomplete results"
323
-
324
- **LOW:** Chunk overlap may duplicate personal data
325
- - **Issue:** 200-token overlap means personal data appears in multiple chunks
326
- - **Regulation:** GDPR Article 5(1)(c) (data minimization)
327
- - **Risk:** Minor over-storage of personal data
328
- - **Remediation:** Document chunking strategy in privacy policy (already included)
329
-
330
- ---
331
-
332
- ## 3. Third-Party Service Compliance
333
-
334
- ### 3.1 Infrastructure Providers
335
-
336
- **Convex (Database & Backend)**
337
- - **Service:** Real-time database, serverless functions
338
- - **Data Shared:** ALL platform data (6-dimension ontology)
339
- - **Location:** United States (AWS us-east-1)
340
- - **Privacy Policy:** https://www.convex.dev/privacy
341
-
342
- **Compliance Status:**
343
- - ✅ SOC 2 Type II certified
344
- - ✅ GDPR-compliant (self-certified)
345
- - ✅ Encryption at rest and in transit
346
- - ⚠️ **HIGH:** No signed Data Processing Agreement (DPA) on file
347
- - ⚠️ **MEDIUM:** EU-US Data Privacy Framework participation not verified
348
-
349
- **Required Actions:**
350
- 1. Obtain signed DPA from Convex (GDPR Article 28 requirement)
351
- 2. Verify EU-US Data Privacy Framework certification
352
- 3. Document Standard Contractual Clauses (SCCs) if no adequacy decision
353
-
354
- **Cloudflare (Hosting & CDN)**
355
- - **Service:** Web hosting, edge computing, DDoS protection
356
- - **Data Shared:** Web traffic, IP addresses, session cookies
357
- - **Location:** Global edge network (150+ countries)
358
- - **Privacy Policy:** https://www.cloudflare.com/privacypolicy/
359
-
360
- **Compliance Status:**
361
- - ✅ ISO 27001 certified
362
- - ✅ GDPR-compliant
363
- - ✅ EU-US Data Privacy Framework participant (verified)
364
- - ✅ SOC 2 Type II certified
365
- - ⚠️ **MEDIUM:** No signed DPA on file (Cloudflare provides DPA templates)
366
-
367
- **Required Actions:**
368
- 1. Execute Cloudflare DPA (available at https://www.cloudflare.com/cloudflare-customer-dpa/)
369
- 2. Verify data processing settings in Cloudflare dashboard (disable unnecessary logging)
370
-
371
- ### 3.2 AI Service Providers
372
-
373
- **OpenAI (AI Inference)**
374
- - **Service:** GPT models for AI clones, content generation, business agents
375
- - **Data Shared:** User prompts, entity data for processing
376
- - **Location:** United States
377
- - **Privacy Policy:** https://openai.com/privacy
378
-
379
- **Compliance Status:**
380
- - ⚠️ **CRITICAL:** Zero data retention mode claimed but NOT verified with signed DPA
381
- - ⚠️ **HIGH:** OpenAI's terms prohibit using API for certain purposes (must verify compliance)
382
- - ⚠️ **MEDIUM:** No documentation of which OpenAI models are used (GPT-4, GPT-3.5-turbo, etc.)
383
-
384
- **Required Actions:**
385
- 1. **IMMEDIATE:** Obtain OpenAI API Terms of Service (enterprise agreement if available)
386
- 2. Verify zero data retention mode is enabled for all API calls (add to API wrapper)
387
- 3. Sign OpenAI DPA (required for GDPR compliance)
388
- 4. Document which models are used and for what purposes
389
- 5. Add fallback plan if OpenAI changes terms (alternative AI provider)
390
-
391
- **Legal Risk:** If OpenAI retains user prompts, ONE Platform is in violation of GDPR Article 28 (processor obligations).
392
-
393
- **ElevenLabs (Voice Cloning)**
394
- - **Service:** Voice synthesis and cloning
395
- - **Data Shared:** Audio files (when user uploads for voice cloning)
396
- - **Location:** United States
397
- - **Privacy Policy:** https://elevenlabs.io/privacy
398
-
399
- **Compliance Status:**
400
- - ⚠️ **HIGH:** Voice cloning is biometric data processing (GDPR Article 9 special category)
401
- - ⚠️ **HIGH:** No explicit consent mechanism for biometric processing
402
- - ⚠️ **MEDIUM:** No signed DPA with ElevenLabs
403
- - ⚠️ **MEDIUM:** Audio file retention by ElevenLabs not documented
404
-
405
- **Required Actions:**
406
- 1. **IMMEDIATE:** Add explicit consent for biometric processing: "I consent to voice cloning (biometric processing) per GDPR Article 9"
407
- 2. Obtain signed DPA from ElevenLabs
408
- 3. Verify ElevenLabs deletes audio files after processing (or document retention period)
409
- 4. Add opt-in notice: "Voice cloning is optional. You can use text-only AI clones."
410
-
411
- **Legal Risk:** Processing biometric data (voice) without explicit consent is a GDPR Article 9 violation (up to €20 million fine).
412
-
413
- ### 3.3 Payment Processing
414
-
415
- **Stripe (Payment Gateway)**
416
- - **Service:** Credit card processing, subscription billing
417
- - **Data Shared:** Email, billing address, payment amounts (NOT card numbers)
418
- - **Location:** United States (GDPR-compliant)
419
- - **Privacy Policy:** https://stripe.com/privacy
420
-
421
- **Compliance Status:**
422
- - ✅ PCI DSS Level 1 certified (highest security standard)
423
- - ✅ GDPR-compliant
424
- - ✅ Signed DPA available (Stripe provides DPA automatically for all customers)
425
- - ✅ EU-US Data Privacy Framework participant
426
- - ✅ Standard Contractual Clauses (SCCs) in place
427
-
428
- **Required Actions:**
429
- - ✅ No actions required (Stripe is fully compliant)
430
- - **OPTIONAL:** Review Stripe DPA to ensure it covers all use cases
431
-
432
- **Blockchain Networks (Cryptocurrency)**
433
- - **Service:** Cryptocurrency payments via X402 protocol
434
- - **Data Shared:** Wallet addresses, transaction hashes (PUBLIC blockchain data)
435
- - **Location:** Decentralized (no single location)
436
-
437
- **Compliance Status:**
438
- - ⚠️ **HIGH:** Blockchain transactions are permanent and CANNOT be deleted (GDPR Article 17 conflict)
439
- - ⚠️ **MEDIUM:** Wallet addresses may be personal data (pseudonymous but linkable to identity)
440
- - **LOW:** No DPA required (decentralized network, no data processor)
441
-
442
- **Required Actions:**
443
- 1. **IMMEDIATE:** Add warning before cryptocurrency transactions: "Blockchain transactions are permanent and cannot be deleted per GDPR"
444
- 2. Document in privacy policy: "Wallet addresses are pseudonymous but may be linked to your identity"
445
- 3. Consider offering option to NOT link wallet address to ONE Platform account (anonymous payments)
446
-
447
- **Legal Risk:** Cannot fully comply with GDPR Article 17 (right to erasure) for blockchain data. Must disclose this limitation.
448
-
449
- ### 3.4 Email Service
450
-
451
- **Resend (Transactional Email)**
452
- - **Service:** Email delivery (password resets, verifications)
453
- - **Data Shared:** Email addresses, email content
454
- - **Location:** United States
455
- - **Privacy Policy:** https://resend.com/legal/privacy-policy
456
-
457
- **Compliance Status:**
458
- - ✅ GDPR-compliant
459
- - ⚠️ **MEDIUM:** No signed DPA on file
460
- - ⚠️ **MEDIUM:** Email tracking (open rates, click rates) not disclosed in privacy policy
461
-
462
- **Required Actions:**
463
- 1. Obtain signed DPA from Resend
464
- 2. Disable email tracking if not necessary (or disclose in privacy policy)
465
- 3. Verify TLS encryption for all emails (in transit)
466
-
467
- ### 3.5 External Integrations (Optional)
468
-
469
- **ElizaOS, n8n, Zapier, Make (Workflow Automation)**
470
- - **Status:** Optional integrations (user must explicitly connect)
471
- - **Compliance:** User is responsible for third-party terms
472
-
473
- **Compliance Status:**
474
- - ✅ Opt-in only (no data shared unless user connects)
475
- - ⚠️ **MEDIUM:** No disclosure of what data is shared when user connects external service
476
- - ⚠️ **LOW:** API keys stored encrypted but encryption not verified in code review
477
-
478
- **Required Actions:**
479
- 1. Add disclosure before connecting external service: "Connecting [Service] will share [Data] with them per their privacy policy"
480
- 2. Verify API key encryption implementation (AES-256)
481
- 3. Provide "Disconnect" button to revoke access and delete stored credentials
482
-
483
- ---
484
-
485
- ## 4. Critical Issues (Immediate Action Required)
486
-
487
- ### 4.1 Missing Privacy Policy & Terms Acceptance at Signup
488
-
489
- **Severity:** CRITICAL (Red)
490
- **Regulation:** GDPR Article 7 (consent conditions), CCPA §1798.140(h), Contract Law
491
- **Risk Level:** HIGH (regulatory fine, unenforceable terms, lawsuits)
492
-
493
- **Issue:**
494
- Users can create accounts without reading or accepting the Privacy Policy or Terms of Service. This invalidates consent and makes terms unenforceable.
495
-
496
- **Files Affected:**
497
- - `/web/src/pages/account/signup.astro`
498
- - `/web/src/components/auth/SignUpPage.tsx`
499
- - `/web/src/components/auth/SimpleSignUpForm.tsx` (assumed to exist)
500
-
501
- **Current State:**
502
- Signup form collects email, username, password but NO checkbox for policy acceptance.
503
-
504
- **Required Changes:**
505
- 1. Add checkbox above "Create Account" button:
506
- ```tsx
507
- <div className="flex items-start gap-2">
508
- <input
509
- type="checkbox"
510
- id="terms-acceptance"
511
- required
512
- checked={acceptedTerms}
513
- onChange={(e) => setAcceptedTerms(e.target.checked)}
514
- />
515
- <label htmlFor="terms-acceptance" className="text-sm">
516
- I have read and accept the{' '}
517
- <a href="/legal/privacy-policy" target="_blank" className="underline">
518
- Privacy Policy
519
- </a>{' '}
520
- and{' '}
521
- <a href="/legal/terms-of-service" target="_blank" className="underline">
522
- Terms of Service
523
- </a>
524
- </label>
525
- </div>
526
- ```
527
-
528
- 2. Disable "Create Account" button if checkbox not checked
529
-
530
- 3. Log acceptance event:
531
- ```typescript
532
- await ctx.db.insert('events', {
533
- groupId: userGroupId,
534
- type: 'user_registered',
535
- actorId: userId,
536
- timestamp: Date.now(),
537
- metadata: {
538
- acceptedPrivacyPolicy: true,
539
- acceptedTermsOfService: true,
540
- privacyPolicyVersion: '1.0.0',
541
- termsVersion: '1.0.0',
542
- },
543
- });
544
- ```
545
-
546
- **Timeline:** 0-3 days (IMMEDIATE)
547
-
548
- ---
549
-
550
- ### 4.2 No Cookie Consent Banner (ePrivacy Directive)
551
-
552
- **Severity:** CRITICAL (Red)
553
- **Regulation:** ePrivacy Directive, GDPR Article 6, PECR (UK)
554
- **Risk Level:** HIGH (regulatory fine up to €20 million, unenforceable tracking)
555
-
556
- **Issue:**
557
- Platform sets cookies (`better_auth_session`, `theme`, `convex_client_id`) without obtaining prior consent from EU users.
558
-
559
- **Files Affected:**
560
- - All pages (no cookie banner implemented anywhere)
561
-
562
- **Current State:**
563
- Cookies are set immediately on page load without user consent.
564
-
565
- **Required Changes:**
566
- 1. Implement cookie consent banner (before ANY non-essential cookies are set):
567
- ```tsx
568
- // /web/src/components/CookieBanner.tsx
569
- import { useState, useEffect } from 'react';
570
-
571
- export function CookieBanner() {
572
- const [show, setShow] = useState(false);
573
-
574
- useEffect(() => {
575
- const consent = localStorage.getItem('cookie-consent');
576
- if (!consent) setShow(true);
577
- }, []);
578
-
579
- const acceptAll = () => {
580
- localStorage.setItem('cookie-consent', 'all');
581
- setShow(false);
582
- // Enable analytics, non-essential cookies
583
- };
584
-
585
- const acceptEssential = () => {
586
- localStorage.setItem('cookie-consent', 'essential');
587
- setShow(false);
588
- // Only essential cookies (auth, session)
589
- };
590
-
591
- if (!show) return null;
592
-
593
- return (
594
- <div className="fixed bottom-0 left-0 right-0 bg-background border-t p-4 z-50">
595
- <div className="max-w-6xl mx-auto flex flex-col md:flex-row items-center justify-between gap-4">
596
- <div className="text-sm">
597
- We use cookies to improve your experience.{' '}
598
- <a href="/legal/privacy-policy#cookies" className="underline">
599
- Learn more
600
- </a>
601
- </div>
602
- <div className="flex gap-2">
603
- <button onClick={acceptEssential} className="btn-secondary">
604
- Essential Only
605
- </button>
606
- <button onClick={acceptAll} className="btn-primary">
607
- Accept All
608
- </button>
609
- </div>
610
- </div>
611
- </div>
612
- );
613
- }
614
- ```
615
-
616
- 2. Add to `Layout.astro`:
617
- ```astro
618
- <CookieBanner client:load />
619
- ```
620
-
621
- 3. Categorize cookies in privacy policy:
622
- - **Essential:** Authentication, session management (can be set without consent)
623
- - **Functional:** Theme preference (requires consent)
624
- - **Analytics:** (if added later, requires consent)
625
-
626
- 4. Implement cookie settings page (`/settings/cookies`) where users can change preferences
627
-
628
- **Timeline:** 0-7 days (IMMEDIATE)
629
-
630
- ---
631
-
632
- ### 4.3 No Explicit Consent for Biometric Processing (Voice Cloning)
633
-
634
- **Severity:** CRITICAL (Red)
635
- **Regulation:** GDPR Article 9 (special category data)
636
- **Risk Level:** VERY HIGH (up to €20 million fine for Article 9 violation)
637
-
638
- **Issue:**
639
- Voice cloning processes biometric data (voice characteristics) without explicit consent for special category data processing.
640
-
641
- **Files Affected:**
642
- - AI clone creation flow (pages not reviewed but assumed to exist)
643
- - `/backend/convex/mutations/` (AI clone creation mutations)
644
-
645
- **Current State:**
646
- Users likely upload audio files for voice cloning without explicit biometric consent.
647
-
648
- **Required Changes:**
649
- 1. Add biometric consent screen BEFORE audio upload:
650
- ```tsx
651
- <div className="border-2 border-orange-500 rounded-lg p-6 bg-orange-50 dark:bg-orange-950">
652
- <h3 className="font-bold text-lg mb-4">Biometric Data Processing</h3>
653
- <p className="mb-4">
654
- Voice cloning involves processing biometric data (your voice characteristics).
655
- This is considered sensitive data under GDPR Article 9.
656
- </p>
657
- <div className="flex items-start gap-2">
658
- <input
659
- type="checkbox"
660
- id="biometric-consent"
661
- required
662
- checked={biometricConsent}
663
- onChange={(e) => setBiometricConsent(e.target.checked)}
664
- />
665
- <label htmlFor="biometric-consent" className="text-sm">
666
- I explicitly consent to voice cloning (biometric data processing)
667
- for the purpose of creating my AI clone. I understand I can withdraw
668
- this consent at any time by deleting my AI clone.
669
- </label>
670
- </div>
671
- </div>
672
- ```
673
-
674
- 2. Log biometric consent event:
675
- ```typescript
676
- await ctx.db.insert('events', {
677
- type: 'biometric_consent_granted',
678
- actorId: userId,
679
- timestamp: Date.now(),
680
- metadata: {
681
- processingType: 'voice_cloning',
682
- purpose: 'ai_clone_creation',
683
- canWithdraw: true,
684
- },
685
- });
686
- ```
687
-
688
- 3. Add "Delete Voice Data" button to AI clone settings (separate from deleting entire clone)
689
-
690
- 4. Update privacy policy with Article 9 disclosure (already included in created policy)
691
-
692
- **Timeline:** 0-3 days (IMMEDIATE)
693
-
694
- ---
695
-
696
- ### 4.4 No Data Processing Agreements with AI Providers
697
-
698
- **Severity:** CRITICAL (Red)
699
- **Regulation:** GDPR Article 28 (processor obligations)
700
- **Risk Level:** HIGH (regulatory fine, unlawful processing)
701
-
702
- **Issue:**
703
- No signed Data Processing Agreements (DPAs) with OpenAI or ElevenLabs. Cannot verify they comply with GDPR as data processors.
704
-
705
- **Current State:**
706
- Relying on third-party terms of service (not sufficient for GDPR Article 28).
707
-
708
- **Required Actions:**
709
-
710
- **For OpenAI:**
711
- 1. Contact OpenAI to obtain DPA (enterprise customers get this automatically)
712
- 2. Verify DPA includes:
713
- - Data retention period (zero retention for API calls)
714
- - Sub-processor list
715
- - Standard Contractual Clauses (SCCs) for EU transfers
716
- - Security measures
717
- - Data subject rights support
718
- - Breach notification obligations
719
-
720
- **For ElevenLabs:**
721
- 1. Contact ElevenLabs to request DPA
722
- 2. Verify same requirements as OpenAI
723
- 3. Confirm audio file deletion after processing (or document retention period)
724
-
725
- **Fallback Plan:**
726
- If OpenAI/ElevenLabs refuse to sign DPA:
727
- - Add prominent disclosure: "AI features use third-party services that may not fully comply with GDPR"
728
- - Obtain explicit user consent: "I understand AI features are provided by [OpenAI/ElevenLabs] and may not be GDPR-compliant"
729
- - Consider switching to EU-based AI providers (e.g., Mistral AI, Cohere EU)
730
-
731
- **Timeline:** 0-14 days (engage legal counsel if providers refuse)
732
-
733
- ---
734
-
735
- ## 5. High Priority Issues (7-30 Days)
736
-
737
- ### 5.1 No Data Protection Impact Assessment (DPIA) for AI Features
738
-
739
- **Severity:** HIGH (Orange)
740
- **Regulation:** GDPR Article 35 (DPIA requirement)
741
- **Risk Level:** MEDIUM-HIGH (regulatory scrutiny, potential enforcement action)
742
-
743
- **Issue:**
744
- AI features (clones, agents, embeddings) involve automated decision-making and large-scale processing of personal data. GDPR Article 35 REQUIRES a DPIA before such processing begins.
745
-
746
- **DPIA Required For:**
747
- - AI clones (automated profiling, personality analysis)
748
- - Business agents (automated decision-making)
749
- - RAG embeddings (large-scale personal data processing)
750
- - Voice cloning (biometric data processing)
751
-
752
- **Current State:**
753
- No DPIA conducted or documented.
754
-
755
- **Required Actions:**
756
- 1. Conduct DPIA for each AI feature (template: ICO DPIA template)
757
- 2. DPIA must include:
758
- - Description of processing operations
759
- - Purposes of processing
760
- - Necessity and proportionality assessment
761
- - Risks to data subject rights and freedoms
762
- - Mitigation measures
763
- - DPO consultation (if applicable)
764
- - Data subject consultation (if high risk)
765
-
766
- 3. Document DPIA outcomes:
767
- - Proceed with processing (risks acceptable)
768
- - Implement additional safeguards (modify processing)
769
- - Do not proceed (risks too high)
770
-
771
- 4. Review and update DPIA annually or when processing changes significantly
772
-
773
- **DPIA Consultant:**
774
- Consider hiring GDPR consultant or DPO to conduct professional DPIA.
775
-
776
- **Timeline:** 14-30 days (can be done in parallel with other fixes)
777
-
778
- ---
779
-
780
- ### 5.2 No User-Facing Data Export Tool (GDPR Article 15)
781
-
782
- **Severity:** HIGH (Orange)
783
- **Regulation:** GDPR Article 15 (right of access), CCPA §1798.110
784
- **Risk Level:** MEDIUM (regulatory complaint risk, operational burden)
785
-
786
- **Issue:**
787
- Users cannot self-service export their personal data. Must manually request via email (privacy@one.ie), creating operational burden and compliance risk.
788
-
789
- **Current State:**
790
- No data export functionality in UI. Privacy policy mentions export capability but not implemented.
791
-
792
- **Required Changes:**
793
- 1. Add "Export My Data" button to Settings → Privacy page
794
- 2. Generate JSON export with:
795
- - Account data (email, username, profile)
796
- - Content (all entities owned by user)
797
- - Connections (relationships involving user)
798
- - Events (actions performed by user)
799
- - Knowledge (labels and embeddings linked to user's content)
800
- - AI clone configurations and training data
801
-
802
- 3. Implement export API endpoint:
803
- ```typescript
804
- // /backend/convex/queries/privacy/export.ts
805
- export const exportUserData = query({
806
- handler: async (ctx) => {
807
- const userId = ctx.auth.getUserIdentity()?.tokenIdentifier;
808
- if (!userId) throw new Error('Not authenticated');
809
-
810
- const user = await ctx.db.query('entities')
811
- .filter(q => q.eq(q.field('type'), 'creator'))
812
- .filter(q => q.eq(q.field('properties.userId'), userId))
813
- .first();
814
-
815
- if (!user) throw new Error('User not found');
816
-
817
- // Gather all data
818
- const entities = await ctx.db.query('entities')
819
- .filter(q => q.eq(q.field('properties.ownerId'), user._id))
820
- .collect();
821
-
822
- const connections = await ctx.db.query('connections')
823
- .filter(q => q.or(
824
- q.eq(q.field('fromEntityId'), user._id),
825
- q.eq(q.field('toEntityId'), user._id)
826
- ))
827
- .collect();
828
-
829
- const events = await ctx.db.query('events')
830
- .withIndex('by_actor', q => q.eq('actorId', user._id))
831
- .collect();
832
-
833
- // ... gather knowledge items
834
-
835
- return {
836
- exportDate: new Date().toISOString(),
837
- userId: user._id,
838
- account: { /* user account data */ },
839
- entities,
840
- connections,
841
- events,
842
- knowledge,
843
- };
844
- },
845
- });
846
- ```
847
-
848
- 4. Add download functionality:
849
- ```tsx
850
- const exportData = useQuery(api.privacy.exportUserData);
851
-
852
- const downloadExport = () => {
853
- const blob = new Blob([JSON.stringify(exportData, null, 2)], {
854
- type: 'application/json',
855
- });
856
- const url = URL.createObjectURL(blob);
857
- const a = document.createElement('a');
858
- a.href = url;
859
- a.download = `one-platform-export-${Date.now()}.json`;
860
- a.click();
861
- };
862
- ```
863
-
864
- 5. Add export history log (to prevent abuse):
865
- ```typescript
866
- await ctx.db.insert('events', {
867
- type: 'data_export_requested',
868
- actorId: userId,
869
- timestamp: Date.now(),
870
- metadata: { exportFormat: 'json' },
871
- });
872
- ```
873
-
874
- 6. Rate limit exports (e.g., max 1 per day per user)
875
-
876
- **Timeline:** 14-21 days
877
-
878
- ---
879
-
880
- ### 5.3 No User-Facing Activity Log (GDPR Article 15)
881
-
882
- **Severity:** HIGH (Orange)
883
- **Regulation:** GDPR Article 15 (right of access)
884
- **Risk Level:** MEDIUM (compliance gap, user trust issue)
885
-
886
- **Issue:**
887
- Users cannot view their own activity history (logins, content creation, purchases, AI interactions). Required for GDPR Article 15 transparency.
888
-
889
- **Current State:**
890
- Events logged in database but no user-facing UI to view them.
891
-
892
- **Required Changes:**
893
- 1. Create Activity Log page at `/account/activity`
894
- 2. Display paginated event list:
895
- ```tsx
896
- <div className="space-y-4">
897
- {events.map((event) => (
898
- <div key={event._id} className="border rounded-lg p-4">
899
- <div className="flex items-start justify-between">
900
- <div>
901
- <h4 className="font-semibold">{formatEventType(event.type)}</h4>
902
- <p className="text-sm text-muted-foreground">
903
- {formatEventDescription(event)}
904
- </p>
905
- </div>
906
- <time className="text-sm text-muted-foreground">
907
- {formatTimestamp(event.timestamp)}
908
- </time>
909
- </div>
910
- {event.metadata && (
911
- <details className="mt-2">
912
- <summary className="cursor-pointer text-sm">Details</summary>
913
- <pre className="mt-2 text-xs bg-muted p-2 rounded">
914
- {JSON.stringify(event.metadata, null, 2)}
915
- </pre>
916
- </details>
917
- )}
918
- </div>
919
- ))}
920
- </div>
921
- ```
922
-
923
- 3. Add filters:
924
- - Event type (login, content, purchase, etc.)
925
- - Date range
926
- - Search (by description)
927
-
928
- 4. Implement query:
929
- ```typescript
930
- export const getUserActivityLog = query({
931
- args: {
932
- limit: v.optional(v.number()),
933
- offset: v.optional(v.number()),
934
- eventType: v.optional(v.string()),
935
- },
936
- handler: async (ctx, args) => {
937
- const userId = ctx.auth.getUserIdentity()?.tokenIdentifier;
938
- if (!userId) throw new Error('Not authenticated');
939
-
940
- let query = ctx.db.query('events')
941
- .withIndex('by_actor', q => q.eq('actorId', userId))
942
- .order('desc');
943
-
944
- if (args.eventType) {
945
- query = query.filter(q => q.eq(q.field('type'), args.eventType));
946
- }
947
-
948
- const events = await query
949
- .take(args.limit || 50)
950
- .skip(args.offset || 0)
951
- .collect();
952
-
953
- return events;
954
- },
955
- });
956
- ```
957
-
958
- 5. Add link in Settings menu: "Activity Log"
959
-
960
- **Timeline:** 14-21 days
961
-
962
- ---
963
-
964
- ### 5.4 No Retention Policy Implementation
965
-
966
- **Severity:** HIGH (Orange)
967
- **Regulation:** GDPR Article 5(1)(e) (storage limitation)
968
- **Risk Level:** MEDIUM (compliance violation, unnecessary data storage)
969
-
970
- **Issue:**
971
- Events stored indefinitely. Privacy policy states tiered retention (30-90-365 days) but not implemented in code.
972
-
973
- **Current State:**
974
- No automated deletion or archival of old events.
975
-
976
- **Required Changes:**
977
- 1. Implement tiered retention via scheduled Convex action:
978
- ```typescript
979
- // /backend/convex/crons/retentionPolicy.ts
980
- import { cronJobs } from 'convex/server';
981
- import { internal } from './_generated/api';
982
-
983
- const crons = cronJobs();
984
-
985
- // Run daily at 3am UTC
986
- crons.daily(
987
- 'retention-policy',
988
- { hourUTC: 3, minuteUTC: 0 },
989
- internal.crons.applyRetentionPolicy
990
- );
991
-
992
- export default crons;
993
- ```
994
-
995
- 2. Retention policy logic:
996
- ```typescript
997
- export const applyRetentionPolicy = internalMutation({
998
- handler: async (ctx) => {
999
- const now = Date.now();
1000
- const thirtyDaysAgo = now - 30 * 24 * 60 * 60 * 1000;
1001
- const ninetyDaysAgo = now - 90 * 24 * 60 * 60 * 1000;
1002
- const oneYearAgo = now - 365 * 24 * 60 * 60 * 1000;
1003
- const sevenYearsAgo = now - 7 * 365 * 24 * 60 * 60 * 1000;
1004
-
1005
- // Hot → Warm (30 days): Mark for limited indexing
1006
- const hotEvents = await ctx.db.query('events')
1007
- .withIndex('by_timestamp', q => q.lt('timestamp', thirtyDaysAgo))
1008
- .filter(q => !q.field('metadata.retentionTier'))
1009
- .collect();
1010
-
1011
- for (const event of hotEvents) {
1012
- await ctx.db.patch(event._id, {
1013
- metadata: { ...event.metadata, retentionTier: 'warm' },
1014
- });
1015
- }
1016
-
1017
- // Warm → Cold (90 days): Anonymize actor IDs (except financial)
1018
- const warmEvents = await ctx.db.query('events')
1019
- .withIndex('by_timestamp', q => q.lt('timestamp', ninetyDaysAgo))
1020
- .filter(q => q.eq(q.field('metadata.retentionTier'), 'warm'))
1021
- .filter(q => !isFinancialEvent(q.field('type')))
1022
- .collect();
1023
-
1024
- for (const event of warmEvents) {
1025
- await ctx.db.patch(event._id, {
1026
- actorId: 'anonymized' as any, // Anonymize
1027
- metadata: { ...event.metadata, retentionTier: 'cold' },
1028
- });
1029
- }
1030
-
1031
- // Cold → Archive (1 year): Export to data warehouse, delete from primary DB
1032
- const coldEvents = await ctx.db.query('events')
1033
- .withIndex('by_timestamp', q => q.lt('timestamp', oneYearAgo))
1034
- .filter(q => q.eq(q.field('metadata.retentionTier'), 'cold'))
1035
- .filter(q => !isFinancialEvent(q.field('type')))
1036
- .collect();
1037
-
1038
- // Export to S3/data warehouse (implementation depends on setup)
1039
- // await exportToWarehouse(coldEvents);
1040
-
1041
- for (const event of coldEvents) {
1042
- await ctx.db.delete(event._id);
1043
- }
1044
-
1045
- // Financial events: Keep for 7 years, then archive
1046
- const oldFinancialEvents = await ctx.db.query('events')
1047
- .withIndex('by_timestamp', q => q.lt('timestamp', sevenYearsAgo))
1048
- .filter(q => isFinancialEvent(q.field('type')))
1049
- .collect();
1050
-
1051
- // Export and delete
1052
- for (const event of oldFinancialEvents) {
1053
- // await exportToWarehouse([event]);
1054
- await ctx.db.delete(event._id);
1055
- }
1056
- },
1057
- });
1058
-
1059
- function isFinancialEvent(type: string): boolean {
1060
- return [
1061
- 'tokens_purchased',
1062
- 'payment_processed',
1063
- 'subscription_updated',
1064
- // ... other financial event types
1065
- ].includes(type);
1066
- }
1067
- ```
1068
-
1069
- 3. Document retention policy in privacy policy (already included)
1070
-
1071
- 4. Add user notification: "Old activity logs are automatically deleted per our retention policy"
1072
-
1073
- **Timeline:** 21-30 days (requires careful testing)
1074
-
1075
- ---
1076
-
1077
- ### 5.5 Missing Legal Disclosures on Public Pages
1078
-
1079
- **Severity:** HIGH (Orange)
1080
- **Regulation:** GDPR Article 13 (information to be provided), Consumer Protection
1081
- **Risk Level:** MEDIUM (transparency violation, user confusion)
1082
-
1083
- **Issue:**
1084
- Public pages (index, blog, features) lack links to Privacy Policy and Terms of Service.
1085
-
1086
- **Files Affected:**
1087
- - `/web/src/pages/index.astro` (homepage)
1088
- - `/web/src/pages/blogs/index.astro`
1089
- - All other public pages
1090
-
1091
- **Current State:**
1092
- No footer links to legal documents on most pages.
1093
-
1094
- **Required Changes:**
1095
- 1. Add footer component to Layout.astro:
1096
- ```astro
1097
- <!-- /web/src/layouts/Layout.astro -->
1098
- <footer class="border-t py-8 mt-20">
1099
- <div class="container mx-auto px-4">
1100
- <div class="flex flex-col md:flex-row items-center justify-between gap-4">
1101
- <div class="text-sm text-muted-foreground">
1102
- © {new Date().getFullYear()} ONE Platform. All rights reserved.
1103
- </div>
1104
- <nav class="flex gap-4 text-sm">
1105
- <a href="/legal/privacy-policy" class="hover:underline">
1106
- Privacy Policy
1107
- </a>
1108
- <a href="/legal/terms-of-service" class="hover:underline">
1109
- Terms of Service
1110
- </a>
1111
- <a href="/legal/cookies" class="hover:underline">
1112
- Cookie Policy
1113
- </a>
1114
- <a href="mailto:legal@one.ie" class="hover:underline">
1115
- Contact Legal
1116
- </a>
1117
- </nav>
1118
- </div>
1119
- <div class="text-xs text-muted-foreground mt-4 text-center">
1120
- Powered by ONE |{' '}
1121
- <a href="https://one.ie" target="_blank" class="hover:underline">
1122
- https://one.ie
1123
- </a>
1124
- </div>
1125
- </div>
1126
- </footer>
1127
- ```
1128
-
1129
- 2. Ensure all pages use Layout.astro (verify)
1130
-
1131
- 3. Add "Legal" section to main navigation menu
1132
-
1133
- 4. Create legal pages directory:
1134
- - `/web/src/pages/legal/privacy-policy.astro` → Serve `/one/things/legal/privacy-policy.md`
1135
- - `/web/src/pages/legal/terms-of-service.astro` → Serve `/one/things/legal/terms-of-service.md`
1136
- - `/web/src/pages/legal/cookies.astro` → Link to privacy policy cookies section
1137
-
1138
- **Timeline:** 7-14 days
1139
-
1140
- ---
1141
-
1142
- ## 6. Medium Priority Issues (30-90 Days)
1143
-
1144
- ### 6.1 No Data Minimization Validation
1145
-
1146
- **Severity:** MEDIUM (Yellow)
1147
- **Regulation:** GDPR Article 5(1)(c) (data minimization)
1148
- **Risk Level:** MEDIUM (compliance gap, potential over-collection)
1149
-
1150
- **Issue:**
1151
- Entity `properties` field accepts `any` type without validation. Could lead to over-collection of personal data.
1152
-
1153
- **Remediation:**
1154
- 1. Define schemas for each entity type's properties using Zod
1155
- 2. Validate properties on entity creation/update
1156
- 3. Reject fields not in schema
1157
-
1158
- **Timeline:** 30-60 days
1159
-
1160
- ---
1161
-
1162
- ### 6.2 No Group Owner Data Controller Training
1163
-
1164
- **Severity:** MEDIUM (Yellow)
1165
- **Regulation:** GDPR Article 28 (processor instructions to controller)
1166
- **Risk Level:** MEDIUM (group owners unaware of responsibilities)
1167
-
1168
- **Issue:**
1169
- Group owners are data controllers but receive no training or guidance on GDPR obligations.
1170
-
1171
- **Remediation:**
1172
- 1. Create group owner onboarding guide (GDPR basics)
1173
- 2. Provide DPA template for group owners to use with group users
1174
- 3. Add "Compliance" section to group owner dashboard
1175
- 4. Email quarterly compliance reminders
1176
-
1177
- **Timeline:** 30-60 days
1178
-
1179
- ---
1180
-
1181
- ### 6.3 No Consent Management for AI Features
1182
-
1183
- **Severity:** MEDIUM (Yellow)
1184
- **Regulation:** GDPR Article 6 (lawful basis), Article 7 (consent)
1185
- **Risk Level:** MEDIUM (consent validity, user control)
1186
-
1187
- **Issue:**
1188
- AI features (embeddings, clones, agents) enabled by default without explicit opt-in.
1189
-
1190
- **Remediation:**
1191
- 1. Add AI features consent toggle in Settings → Privacy
1192
- 2. Disable AI features by default for new users (opt-in required)
1193
- 3. Show consent modal on first AI feature use
1194
- 4. Allow granular consent (embeddings separate from clones separate from agents)
1195
-
1196
- **Timeline:** 30-60 days
1197
-
1198
- ---
1199
-
1200
- ### 6.4 No Breach Notification Procedures
1201
-
1202
- **Severity:** MEDIUM (Yellow)
1203
- **Regulation:** GDPR Article 33-34 (breach notification)
1204
- **Risk Level:** MEDIUM (response readiness)
1205
-
1206
- **Issue:**
1207
- No documented breach response plan. GDPR requires notification within 72 hours.
1208
-
1209
- **Remediation:**
1210
- 1. Create breach response plan document
1211
- 2. Define breach detection procedures
1212
- 3. Define breach assessment criteria (severity, scope)
1213
- 4. Create notification templates (users, regulators)
1214
- 5. Assign breach response team roles
1215
- 6. Conduct annual breach response drills
1216
-
1217
- **Timeline:** 30-90 days (engage security consultant)
1218
-
1219
- ---
1220
-
1221
- ### 6.5 No Data Subject Request (DSR) Workflow
1222
-
1223
- **Severity:** MEDIUM (Yellow)
1224
- **Regulation:** GDPR Articles 15-22 (data subject rights)
1225
- **Risk Level:** MEDIUM (operational burden, compliance risk)
1226
-
1227
- **Issue:**
1228
- No internal workflow for handling DSRs (access, rectification, erasure, etc.). Currently ad-hoc email requests.
1229
-
1230
- **Remediation:**
1231
- 1. Create internal DSR ticketing system
1232
- 2. Define SLAs (30 days for GDPR, 45 days for CCPA)
1233
- 3. Create DSR response templates
1234
- 4. Train support team on DSR handling
1235
- 5. Implement identity verification process for DSRs
1236
- 6. Log all DSRs in compliance database
1237
-
1238
- **Timeline:** 60-90 days
1239
-
1240
- ---
1241
-
1242
- ## 7. Low Priority Issues (Ongoing)
1243
-
1244
- ### 7.1 No Privacy-by-Default Settings
1245
-
1246
- **Severity:** LOW (Green)
1247
- **Risk Level:** LOW (user experience, trust)
1248
-
1249
- **Issue:**
1250
- New accounts have all features enabled by default (should be opt-in for privacy-sensitive features).
1251
-
1252
- **Remediation:**
1253
- - Set AI embeddings to off by default
1254
- - Set profile visibility to private by default
1255
- - Require explicit opt-in for external integrations
1256
-
1257
- **Timeline:** Ongoing improvement
1258
-
1259
- ---
1260
-
1261
- ### 7.2 No Regular Compliance Audits
1262
-
1263
- **Severity:** LOW (Green)
1264
- **Risk Level:** LOW (long-term compliance drift)
1265
-
1266
- **Issue:**
1267
- No schedule for regular privacy/security audits.
1268
-
1269
- **Remediation:**
1270
- - Quarterly privacy self-audits
1271
- - Annual external privacy audit (GDPR consultant)
1272
- - Annual penetration testing (security)
1273
- - Continuous compliance monitoring
1274
-
1275
- **Timeline:** Implement schedule (ongoing)
1276
-
1277
- ---
1278
-
1279
- ### 7.3 No Public Transparency Reports
1280
-
1281
- **Severity:** LOW (Green)
1282
- **Risk Level:** LOW (trust, transparency)
1283
-
1284
- **Issue:**
1285
- No public reporting on:
1286
- - Government data requests
1287
- - DMCA takedown requests
1288
- - Data breaches
1289
- - Data subject requests
1290
-
1291
- **Remediation:**
1292
- - Publish annual transparency report
1293
- - Include statistics (anonymized)
1294
- - Build trust with users
1295
-
1296
- **Timeline:** Ongoing (publish annually)
1297
-
1298
- ---
1299
-
1300
- ## 8. Compliance Checklist
1301
-
1302
- ### 8.1 GDPR Compliance
1303
-
1304
- **Lawfulness of Processing (Article 6):**
1305
- - ✅ Contract performance: Account creation, platform services
1306
- - ✅ Legitimate interest: Analytics, security, fraud prevention
1307
- - ⚠️ Consent: AI features, marketing (needs explicit opt-in)
1308
- - ✅ Legal obligation: Financial record retention, tax compliance
1309
-
1310
- **Special Category Data (Article 9):**
1311
- - ⚠️ Biometric data: Voice cloning (needs explicit consent) → **CRITICAL ISSUE**
1312
- - N/A Health data: Not processed
1313
- - N/A Racial/ethnic origin: Not processed
1314
-
1315
- **Data Subject Rights (Articles 15-22):**
1316
- - ⚠️ Right to access (Article 15): Export tool not implemented → **HIGH PRIORITY**
1317
- - ⚠️ Right to rectification (Article 16): Self-service not clear
1318
- - ✅ Right to erasure (Article 17): Account deletion implemented (30-day grace)
1319
- - ⚠️ Right to restriction (Article 18): Not implemented
1320
- - ⚠️ Right to data portability (Article 20): Export tool not implemented → **HIGH PRIORITY**
1321
- - ⚠️ Right to object (Article 21): No object mechanism for AI features
1322
- - ⚠️ Automated decision-making (Article 22): AI disclaimers exist but no opt-out
1323
-
1324
- **Processor Obligations (Article 28):**
1325
- - ⚠️ DPAs with processors: Missing for Convex, OpenAI, ElevenLabs, Resend → **CRITICAL ISSUE**
1326
- - ⚠️ Processor instructions: No written instructions to processors
1327
- - ⚠️ Sub-processor approval: No sub-processor list obtained
1328
-
1329
- **Data Protection by Design & Default (Article 25):**
1330
- - ✅ Encryption: TLS in transit, AES-256 at rest
1331
- - ✅ Pseudonymization: Wallet addresses, anonymized analytics
1332
- - ⚠️ Privacy-by-default: Features enabled by default (should be opt-in)
1333
-
1334
- **Data Protection Impact Assessment (Article 35):**
1335
- - ⚠️ DPIA for AI features: Not conducted → **HIGH PRIORITY**
1336
- - ⚠️ DPIA for large-scale monitoring: Not conducted
1337
-
1338
- **Breach Notification (Articles 33-34):**
1339
- - ⚠️ Breach detection: Automated monitoring exists but no formal process
1340
- - ⚠️ 72-hour notification: No documented procedure
1341
- - ⚠️ User notification: No templates or criteria defined
1342
-
1343
- **International Transfers (Chapter V):**
1344
- - ⚠️ Transfer mechanisms: SCCs not documented for US transfers
1345
- - ⚠️ Adequacy decisions: EU-US Data Privacy Framework not verified for all processors
1346
-
1347
- **Summary:**
1348
- - **Compliant:** 5/11 (45%)
1349
- - **Partially Compliant:** 6/11 (55%)
1350
- - **Non-Compliant:** 0/11 (0%)
1351
-
1352
- ### 8.2 CCPA Compliance
1353
-
1354
- **Notice at Collection (§1798.100):**
1355
- - ⚠️ Categories of PI collected: Not disclosed at signup
1356
- - ⚠️ Purposes of collection: Not disclosed at signup
1357
- - ✅ Privacy policy link: Will be added
1358
-
1359
- **Right to Know (§1798.110):**
1360
- - ⚠️ Data export: Not implemented → **HIGH PRIORITY**
1361
-
1362
- **Right to Delete (§1798.105):**
1363
- - ✅ Account deletion: Implemented with 30-day grace period
1364
-
1365
- **Right to Opt-Out of Sale (§1798.120):**
1366
- - ✅ No data sale: We do not sell personal data
1367
-
1368
- **Non-Discrimination (§1798.125):**
1369
- - ✅ No discrimination: Compliant
1370
-
1371
- **Summary:**
1372
- - **Compliant:** 3/5 (60%)
1373
- - **Partially Compliant:** 2/5 (40%)
1374
- - **Non-Compliant:** 0/5 (0%)
1375
-
1376
- ### 8.3 PIPEDA Compliance
1377
-
1378
- **Accountability (Principle 1):**
1379
- - ⚠️ Privacy officer: Not designated
1380
- - ⚠️ Privacy policies: Created but not published
1381
-
1382
- **Identifying Purposes (Principle 2):**
1383
- - ⚠️ Purpose disclosure: Not at point of collection
1384
-
1385
- **Consent (Principle 3):**
1386
- - ⚠️ Express consent: Not implemented for sensitive data (biometric) → **CRITICAL ISSUE**
1387
-
1388
- **Limiting Collection (Principle 4):**
1389
- - ⚠️ Data minimization: No validation on properties field
1390
-
1391
- **Limiting Use, Disclosure, Retention (Principles 5-6):**
1392
- - ⚠️ Retention limits: Not implemented → **HIGH PRIORITY**
1393
- - ✅ Use limitation: Data used only for stated purposes
1394
-
1395
- **Accuracy (Principle 6):**
1396
- - ✅ Self-service updates: Users can update profile
1397
-
1398
- **Safeguards (Principle 7):**
1399
- - ✅ Encryption: TLS, AES-256
1400
- - ✅ Access controls: RBAC implemented
1401
-
1402
- **Openness (Principle 8):**
1403
- - ⚠️ Transparency: Privacy policy not linked on all pages
1404
-
1405
- **Individual Access (Principle 9):**
1406
- - ⚠️ Data access: Export tool not implemented → **HIGH PRIORITY**
1407
-
1408
- **Challenging Compliance (Principle 10):**
1409
- - ⚠️ Complaint mechanism: Not clearly communicated
1410
-
1411
- **Summary:**
1412
- - **Compliant:** 4/10 (40%)
1413
- - **Partially Compliant:** 6/10 (60%)
1414
- - **Non-Compliant:** 0/10 (0%)
1415
-
1416
- ### 8.4 ePrivacy Directive (Cookie Law)
1417
-
1418
- **Cookie Consent:**
1419
- - ⚠️ Prior consent: No cookie banner → **CRITICAL ISSUE**
1420
- - ⚠️ Granular consent: Cannot reject non-essential cookies
1421
- - ⚠️ Cookie policy: Not created
1422
-
1423
- **Essential Cookies:**
1424
- - ✅ Authentication: HTTP-only, Secure, SameSite=Lax
1425
- - ✅ Session management: Properly configured
1426
-
1427
- **Non-Essential Cookies:**
1428
- - ⚠️ Theme preference: Set without consent
1429
-
1430
- **Summary:**
1431
- - **Compliant:** 2/5 (40%)
1432
- - **Partially Compliant:** 0/5 (0%)
1433
- - **Non-Compliant:** 3/5 (60%)
1434
-
1435
- ---
1436
-
1437
- ## 9. Remediation Roadmap
1438
-
1439
- ### Phase 1: Critical Fixes (0-7 Days)
1440
-
1441
- **Week 1 (Days 0-7):**
1442
-
1443
- **Day 0-1: Immediate Deployment**
1444
- 1. ✅ Create Privacy Policy → COMPLETE (document created)
1445
- 2. ✅ Create Terms of Service → COMPLETE (document created)
1446
- 3. Add privacy policy & TOS to web routes:
1447
- - `/web/src/pages/legal/privacy-policy.astro`
1448
- - `/web/src/pages/legal/terms-of-service.astro`
1449
-
1450
- **Day 2-3: Signup Flow**
1451
- 4. Add TOS/Privacy acceptance checkbox to signup form
1452
- 5. Log acceptance events in database
1453
- 6. Test signup flow end-to-end
1454
-
1455
- **Day 4-5: Cookie Consent**
1456
- 7. Implement cookie consent banner component
1457
- 8. Add to Layout.astro (all pages)
1458
- 9. Create cookie settings page
1459
- 10. Test consent flow on all pages
1460
-
1461
- **Day 6-7: Biometric Consent**
1462
- 11. Add biometric consent screen to AI clone creation flow
1463
- 12. Log biometric consent events
1464
- 13. Add "Delete Voice Data" button to AI clone settings
1465
- 14. Test voice cloning flow end-to-end
1466
-
1467
- **Deliverables:**
1468
- - Privacy Policy live at /legal/privacy-policy
1469
- - Terms of Service live at /legal/terms-of-service
1470
- - Cookie consent banner on all pages
1471
- - TOS/Privacy acceptance at signup
1472
- - Biometric consent for voice cloning
1473
-
1474
- **Success Criteria:**
1475
- - ✅ No new user can sign up without accepting TOS/Privacy
1476
- - ✅ No cookies set before consent (except essential)
1477
- - ✅ No voice cloning without biometric consent
1478
-
1479
- ---
1480
-
1481
- ### Phase 2: High Priority (Days 7-30)
1482
-
1483
- **Week 2-3 (Days 7-21):**
1484
-
1485
- **Day 7-10: DPAs**
1486
- 1. Contact Convex for DPA (email: security@convex.dev)
1487
- 2. Contact OpenAI for DPA (email: legal@openai.com)
1488
- 3. Contact ElevenLabs for DPA (email: legal@elevenlabs.io)
1489
- 4. Contact Resend for DPA
1490
- 5. Review and sign all DPAs
1491
-
1492
- **Day 11-14: Data Export**
1493
- 6. Implement data export API endpoint
1494
- 7. Create export UI in Settings → Privacy
1495
- 8. Test export for all entity types
1496
- 9. Add export history logging
1497
-
1498
- **Day 15-18: Activity Log**
1499
- 10. Implement user activity log query
1500
- 11. Create Activity Log page (/account/activity)
1501
- 12. Add pagination and filters
1502
- 13. Test activity log for various event types
1503
-
1504
- **Day 19-21: Legal Disclosures**
1505
- 14. Add footer to Layout.astro with legal links
1506
- 15. Verify footer on all pages
1507
- 16. Add "Legal" section to navigation menu
1508
- 17. Create /legal/cookies page
1509
-
1510
- **Deliverables:**
1511
- - Signed DPAs with all major processors
1512
- - User-facing data export tool
1513
- - User-facing activity log
1514
- - Legal links on all pages
1515
-
1516
- **Success Criteria:**
1517
- - ✅ DPAs signed with Convex, OpenAI, ElevenLabs, Resend
1518
- - ✅ Users can export their data in JSON format
1519
- - ✅ Users can view their activity history
1520
- - ✅ All pages have footer with legal links
1521
-
1522
- ---
1523
-
1524
- **Week 4 (Days 22-30):**
1525
-
1526
- **Day 22-25: DPIA**
1527
- 1. Conduct DPIA for AI clones (using ICO template)
1528
- 2. Conduct DPIA for business agents
1529
- 3. Conduct DPIA for RAG embeddings
1530
- 4. Document DPIA outcomes and mitigation measures
1531
-
1532
- **Day 26-28: Retention Policy**
1533
- 5. Implement event retention cron job
1534
- 6. Test retention policy on sample data
1535
- 7. Deploy retention policy to production
1536
-
1537
- **Day 29-30: Testing & Validation**
1538
- 8. End-to-end compliance testing
1539
- 9. Verify all critical issues resolved
1540
- 10. Prepare status report for stakeholders
1541
-
1542
- **Deliverables:**
1543
- - Completed DPIAs for all AI features
1544
- - Automated event retention policy
1545
- - Compliance test report
1546
-
1547
- **Success Criteria:**
1548
- - ✅ DPIAs approved and documented
1549
- - ✅ Old events automatically deleted per retention policy
1550
- - ✅ All Phase 1 and Phase 2 issues resolved
1551
-
1552
- ---
1553
-
1554
- ### Phase 3: Medium Priority (Days 30-90)
1555
-
1556
- **Months 2-3:**
1557
-
1558
- **Data Minimization:**
1559
- - Define property schemas for each entity type
1560
- - Implement validation on entity creation/update
1561
- - Reject excessive fields
1562
-
1563
- **Consent Management:**
1564
- - Add AI features consent toggle
1565
- - Implement granular consent (embeddings, clones, agents)
1566
- - Show consent modal on first AI feature use
1567
-
1568
- **Group Owner Training:**
1569
- - Create GDPR compliance guide for group owners
1570
- - Provide DPA template for group owner ↔ group user
1571
- - Add "Compliance" section to group owner dashboard
1572
-
1573
- **Breach Response:**
1574
- - Document breach response plan
1575
- - Assign breach response team
1576
- - Conduct breach response drill
1577
-
1578
- **DSR Workflow:**
1579
- - Create DSR ticketing system
1580
- - Define SLAs (30 days GDPR, 45 days CCPA)
1581
- - Train support team on DSR handling
1582
-
1583
- **Deliverables:**
1584
- - Data minimization enforcement
1585
- - Consent management system
1586
- - Group owner compliance resources
1587
- - Breach response plan
1588
- - DSR workflow
1589
-
1590
- **Success Criteria:**
1591
- - ✅ No over-collection of personal data
1592
- - ✅ Users have granular control over AI features
1593
- - ✅ Group owners understand GDPR obligations
1594
- - ✅ Breach response plan tested
1595
- - ✅ DSRs handled within SLA
1596
-
1597
- ---
1598
-
1599
- ### Phase 4: Ongoing (90+ Days)
1600
-
1601
- **Continuous Compliance:**
1602
- - Quarterly privacy self-audits
1603
- - Annual external privacy audit (GDPR consultant)
1604
- - Annual penetration testing (security consultant)
1605
- - Regular DPA reviews (when processors change terms)
1606
- - Privacy training for new employees
1607
- - Compliance newsletter for group owners
1608
-
1609
- **Proactive Improvements:**
1610
- - Privacy-by-default settings
1611
- - Public transparency reports (annual)
1612
- - Privacy-enhancing technologies (differential privacy, federated learning)
1613
- - GDPR certification (if applicable)
1614
-
1615
- ---
1616
-
1617
- ## 10. Legal Documents Created
1618
-
1619
- ### 10.1 Privacy Policy
1620
-
1621
- **Location:** `/Users/toc/Server/ONE/one/things/legal/privacy-policy.md`
1622
-
1623
- **Length:** ~15,000 words (comprehensive)
1624
-
1625
- **Structure:**
1626
- 1. Introduction & Ontology-Aligned Framework
1627
- 2. Data Collection by 6 Dimensions (Groups, People, Things, Connections, Events, Knowledge)
1628
- 3. Third-Party Service Providers (detailed disclosures)
1629
- 4. Data Collection Methods (cookies, tracking)
1630
- 5. How We Use Your Data
1631
- 6. Data Sharing & Disclosure
1632
- 7. Data Security (technical + organizational safeguards)
1633
- 8. Data Retention (tiered approach)
1634
- 9. Your Privacy Rights (GDPR, CCPA, PIPEDA)
1635
- 10. Children's Privacy (under 13/16 policy)
1636
- 11. International Data Transfers (SCCs, adequacy decisions)
1637
- 12. Automated Decision-Making & AI (transparency, opt-out)
1638
- 13. Group Owner Responsibilities (data controller obligations)
1639
- 14. Changes to Privacy Policy
1640
- 15. Contact Information
1641
- 16. Glossary (ontology-aligned terms)
1642
- 17. Changelog
1643
-
1644
- **Key Features:**
1645
- - ✅ Ontology-aligned structure (maps data flows to 6 dimensions)
1646
- - ✅ GDPR Article 13 compliant (all required disclosures)
1647
- - ✅ CCPA compliant (§1798.100 notice at collection)
1648
- - ✅ PIPEDA compliant (10 principles addressed)
1649
- - ✅ Third-party processor disclosures (Convex, OpenAI, ElevenLabs, Stripe, etc.)
1650
- - ✅ AI transparency (how AI works, limitations, no warranty)
1651
- - ✅ Data retention periods (30-90-365 days tiered, 7 years financial)
1652
- - ✅ User rights (access, delete, export, opt-out)
1653
- - ✅ Cookie disclosure (types, purposes, consent mechanism)
1654
- - ✅ Biometric data disclosure (voice cloning = Article 9)
1655
- - ✅ International transfer mechanisms (SCCs, adequacy decisions)
1656
-
1657
- **Notes:**
1658
- - Contact information placeholders (Irish address, phone, VAT number) need to be filled in
1659
- - DPO information section can be added if DPO is appointed
1660
- - EU/UK representative sections ready if needed (Article 27)
1661
-
1662
- ### 10.2 Terms of Service
1663
-
1664
- **Location:** `/Users/toc/Server/ONE/one/things/legal/terms-of-service.md`
1665
-
1666
- **Length:** ~14,000 words (comprehensive)
1667
-
1668
- **Structure:**
1669
- 1. Agreement to Terms
1670
- 2. Definitions
1671
- 3. Eligibility & Account Registration
1672
- 4. Subscription Plans & Billing
1673
- 5. License Grant & Intellectual Property
1674
- 6. AI Features & Disclaimers
1675
- 7. Group Management & Multi-Tenancy
1676
- 8. Acceptable Use Policy
1677
- 9. Third-Party Services & Integrations
1678
- 10. Data & Privacy (cross-references Privacy Policy)
1679
- 11. Warranties & Disclaimers
1680
- 12. Limitation of Liability
1681
- 13. Term & Termination
1682
- 14. Changes to Terms
1683
- 15. Dispute Resolution (negotiation, mediation, arbitration)
1684
- 16. Governing Law & Jurisdiction (Irish law, Dublin courts)
1685
- 17. Miscellaneous (severability, waiver, assignment, force majeure)
1686
- 18. Contact Information
1687
- 19. Acknowledgment & Acceptance
1688
-
1689
- **Key Features:**
1690
- - ✅ Ontology-aligned structure (groups, roles, entities)
1691
- - ✅ Four role types defined (platform owner, group owner, group user, customer)
1692
- - ✅ Subscription plans (Starter free, Pro $29/month, Enterprise custom)
1693
- - ✅ ONE License compatibility (commercial use, whitelabel, self-hosting)
1694
- - ✅ AI disclaimers (no warranty, limitation of liability)
1695
- - ✅ Group owner responsibilities (data controller obligations)
1696
- - ✅ Acceptable Use Policy (prohibited content, enforcement)
1697
- - ✅ DMCA takedown procedures
1698
- - ✅ Indemnification clauses (user indemnifies platform)
1699
- - ✅ Dispute resolution (arbitration, Irish law, Dublin jurisdiction)
1700
- - ✅ SLA commitments (99.5% Pro, 99.9% Enterprise)
1701
- - ✅ Refund policy (30-day money-back guarantee)
1702
-
1703
- **Notes:**
1704
- - Business registration details placeholders (legal name, address, VAT) need to be filled in
1705
- - Phone number for CCPA requests needs to be added
1706
- - Enterprise SLA terms may need legal review
1707
- - Arbitration clause may need adjustment for different jurisdictions
1708
-
1709
- ### 10.3 Legal Assessment Report
1710
-
1711
- **Location:** `/Users/toc/Server/ONE/one/events/legal-assessment-2025-10-16.md`
1712
-
1713
- **Length:** This document (comprehensive)
1714
-
1715
- **Purpose:**
1716
- - Provide detailed legal compliance assessment
1717
- - Identify critical, high, medium, and low priority issues
1718
- - Map issues to ontology dimensions
1719
- - Create actionable remediation roadmap
1720
- - Document all findings and recommendations
1721
-
1722
- ---
1723
-
1724
- ## 11. Recommendations
1725
-
1726
- ### 11.1 Immediate Actions (0-7 Days)
1727
-
1728
- **Priority 1 (Critical):**
1729
- 1. ✅ Deploy Privacy Policy and Terms of Service to live website
1730
- 2. ✅ Add TOS/Privacy acceptance checkbox to signup form
1731
- 3. ✅ Implement cookie consent banner on all pages
1732
- 4. ✅ Add biometric consent for voice cloning
1733
-
1734
- **Priority 2 (High):**
1735
- 5. Begin DPA negotiations with Convex, OpenAI, ElevenLabs, Resend
1736
- 6. Add footer with legal links to all pages
1737
- 7. Test all compliance changes end-to-end
1738
-
1739
- ### 11.2 Short-Term Actions (7-30 Days)
1740
-
1741
- **Priority 3 (High):**
1742
- 1. Complete and sign all DPAs with processors
1743
- 2. Implement user-facing data export tool
1744
- 3. Implement user-facing activity log
1745
- 4. Conduct DPIAs for all AI features
1746
- 5. Implement event retention policy
1747
-
1748
- ### 11.3 Medium-Term Actions (30-90 Days)
1749
-
1750
- **Priority 4 (Medium):**
1751
- 1. Implement data minimization validation
1752
- 2. Add consent management for AI features
1753
- 3. Create group owner compliance training
1754
- 4. Document breach response plan
1755
- 5. Create DSR workflow and ticketing system
1756
-
1757
- ### 11.4 Long-Term Actions (Ongoing)
1758
-
1759
- **Priority 5 (Low):**
1760
- 1. Quarterly privacy self-audits
1761
- 2. Annual external privacy audits
1762
- 3. Annual penetration testing
1763
- 4. Continuous compliance monitoring
1764
- 5. Publish annual transparency reports
1765
-
1766
- ### 11.5 Strategic Recommendations
1767
-
1768
- **1. Appoint Data Protection Officer (DPO):**
1769
- - GDPR Article 37 may require DPO (if large-scale monitoring or special category data)
1770
- - Consider appointing DPO even if not legally required (demonstrates commitment)
1771
- - DPO contact: dpo@one.ie
1772
-
1773
- **2. Consider GDPR Certification:**
1774
- - ISO 27701 (Privacy Information Management)
1775
- - GDPR Certification Scheme (when available)
1776
- - Demonstrates compliance to customers
1777
-
1778
- **3. Implement Privacy-Enhancing Technologies:**
1779
- - Differential privacy for analytics
1780
- - Federated learning for AI (train models without centralizing data)
1781
- - Homomorphic encryption for sensitive computations
1782
-
1783
- **4. Expand Legal Team:**
1784
- - Current: AI agent (this assessment)
1785
- - Recommended: Hire human privacy lawyer (Irish or EU-based)
1786
- - Budget: €50,000-100,000/year for privacy counsel
1787
-
1788
- **5. Insurance:**
1789
- - Cyber insurance (covers data breach costs)
1790
- - Professional liability insurance (covers legal claims)
1791
- - Budget: €10,000-25,000/year
1792
-
1793
- **6. Regular Legal Reviews:**
1794
- - Review legal documents annually
1795
- - Update for regulatory changes (new laws, court rulings)
1796
- - Monitor GDPR enforcement actions (learn from others' mistakes)
1797
-
1798
- ### 11.6 Resource Recommendations
1799
-
1800
- **Legal Counsel:**
1801
- - Irish law firm with GDPR expertise
1802
- - EU privacy lawyer for cross-border issues
1803
- - US lawyer for CCPA compliance (if targeting California)
1804
-
1805
- **Privacy Consultants:**
1806
- - GDPR compliance audit firm
1807
- - DPIA specialist
1808
- - Data protection impact assessment consultants
1809
-
1810
- **Technical Resources:**
1811
- - Privacy-by-design architect
1812
- - Security engineer (penetration testing)
1813
- - Compliance automation tools (OneTrust, TrustArc)
1814
-
1815
- **Training:**
1816
- - GDPR training for all employees (annual)
1817
- - Privacy training for group owners (ongoing)
1818
- - Security awareness training (quarterly)
1819
-
1820
- ---
1821
-
1822
- ## 12. Conclusion
1823
-
1824
- **Summary:**
1825
- ONE Platform has a strong architectural foundation with privacy-by-design principles evident in its 6-dimension ontology. Multi-tenant isolation, role-based access control, and hierarchical group management demonstrate thoughtful privacy engineering.
1826
-
1827
- **However**, several critical legal compliance gaps must be addressed immediately:
1828
- 1. Missing privacy policy & terms acceptance at signup (contract law violation)
1829
- 2. No cookie consent mechanism (ePrivacy Directive violation)
1830
- 3. No explicit consent for biometric processing (GDPR Article 9 violation)
1831
- 4. No signed DPAs with AI processors (GDPR Article 28 violation)
1832
-
1833
- **Overall Risk Assessment:** MEDIUM-HIGH
1834
-
1835
- **Risk Factors:**
1836
- - Critical issues present immediate regulatory and legal risk
1837
- - High priority issues create compliance gaps
1838
- - No DPIAs conducted (GDPR Article 35 requirement)
1839
- - No formal breach response plan
1840
- - Reliance on third-party AI providers without verified DPAs
1841
-
1842
- **Risk Mitigation:**
1843
- If all recommendations are implemented per the roadmap:
1844
- - **0-7 days:** Risk reduced to MEDIUM (critical issues resolved)
1845
- - **7-30 days:** Risk reduced to LOW-MEDIUM (high priority issues resolved)
1846
- - **30-90 days:** Risk reduced to LOW (medium priority issues resolved)
1847
- - **Ongoing:** Risk maintained at LOW with continuous monitoring
1848
-
1849
- **Regulatory Exposure:**
1850
- - **GDPR fines:** Up to €20 million or 4% of global revenue (whichever is higher)
1851
- - **CCPA fines:** Up to $7,500 per intentional violation
1852
- - **PIPEDA fines:** Up to CAD $100,000 per violation
1853
- - **Reputational damage:** User trust, press coverage, customer churn
1854
- - **Civil lawsuits:** Class action risk, individual lawsuits
1855
-
1856
- **Positive Aspects:**
1857
- - Strong ontology-aligned data model
1858
- - Privacy-by-design architecture
1859
- - Multi-tenant isolation
1860
- - Granular role-based access control
1861
- - Comprehensive audit logging
1862
- - Local hosting option (data sovereignty)
1863
-
1864
- **Path Forward:**
1865
- Follow the remediation roadmap in Section 9:
1866
- - **Phase 1 (0-7 days):** Critical fixes (TOS/Privacy acceptance, cookie consent, biometric consent)
1867
- - **Phase 2 (7-30 days):** High priority (DPAs, data export, activity log, legal disclosures)
1868
- - **Phase 3 (30-90 days):** Medium priority (data minimization, consent management, breach response)
1869
- - **Phase 4 (Ongoing):** Continuous compliance (audits, training, monitoring)
1870
-
1871
- **Final Recommendation:**
1872
- **Engage legal counsel immediately** to review this assessment and the created legal documents. While this AI-powered assessment is comprehensive, human legal review is essential before deployment to production.
1873
-
1874
- **Contact for Legal Review:**
1875
- - Irish privacy lawyer (GDPR specialist)
1876
- - Email: legal@one.ie (after lawyer engaged)
1877
-
1878
- ---
1879
-
1880
- **Assessment Complete**
1881
-
1882
- **Next Steps:**
1883
- 1. Share this report with platform owner (Anthony O'Connell)
1884
- 2. Engage Irish privacy lawyer for legal review
1885
- 3. Prioritize remediation per roadmap
1886
- 4. Begin Phase 1 implementation immediately (0-7 days)
1887
- 5. Schedule follow-up assessment after Phase 2 (30 days)
1888
-
1889
- **Questions?**
1890
- Contact the Legal Agent at agent@one.ie for clarifications on this assessment.
1891
-
1892
- ---
1893
-
1894
- **END OF LEGAL ASSESSMENT REPORT**
1895
-
1896
- **Version:** 1.0.0
1897
- **Date:** October 16, 2025
1898
- **Conducted By:** Legal Agent (Claude AI)
1899
- **Status:** COMPLETE