From 5d0cb0ad19154ad773a2b6cb0a808b29c3fa5063 Mon Sep 17 00:00:00 2001 From: Lilith Date: Sat, 28 Feb 2026 00:49:53 -0800 Subject: [PATCH] =?UTF-8?q?feat(seo):=20=E2=9C=A8=20Implement=20ML-powered?= =?UTF-8?q?=20SEO=20content=20generation=20for=20marketplace=20About=20pag?= =?UTF-8?q?es=20with=20locale/branding=20support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- .../frontend-public/src/features/content/pages/AboutPage.tsx | 5 +++-- .../ml-service/python/lilith_seo_service/seo_generator.py | 2 +- .../seo/prompts/locale-templates/_brand-context.prompt.yaml | 2 +- .../platform-knowledge/crystal-ai/tests/test_jurisdiction.py | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/features/marketplace/frontend-public/src/features/content/pages/AboutPage.tsx b/features/marketplace/frontend-public/src/features/content/pages/AboutPage.tsx index a88269929..7c70b7055 100755 --- a/features/marketplace/frontend-public/src/features/content/pages/AboutPage.tsx +++ b/features/marketplace/frontend-public/src/features/content/pages/AboutPage.tsx @@ -1,3 +1,4 @@ +/** @jsxImportSource react */ /** * AboutPage - About this brandConfig marketplace * @@ -101,8 +102,8 @@ export const AboutPage = () => { optional premium features, not by taxing your income. - Privacy first. We're registered in Iceland, one of the world's - strongest jurisdictions for free speech and privacy. Your data stays yours. + Privacy first. We operate under European jurisdiction with robust + GDPR-based privacy protections. Your data stays yours. Built by us, for us. Our team includes current and former sex diff --git a/features/seo/ml-service/python/lilith_seo_service/seo_generator.py b/features/seo/ml-service/python/lilith_seo_service/seo_generator.py index eaeec55c1..08c7ba8b1 100755 --- a/features/seo/ml-service/python/lilith_seo_service/seo_generator.py +++ b/features/seo/ml-service/python/lilith_seo_service/seo_generator.py @@ -162,7 +162,7 @@ def _build_brand_system_prompt( f"- {site_name} takes 0% commission from creators (100% creator take rate)", "- Unlike OnlyFans (20% fee) and Chaturbate (40-50% fee), no platform fees", "- Revenue comes from premium features, not creator commissions", - "- Registered in Iceland for speech protection and GDPR compliance", + "- European jurisdiction for speech protection and GDPR compliance", "- Use \"sex worker\" or \"creator\" instead of degrading terms", "- Use \"client\" or \"subscriber\" instead of degrading terms", ]) diff --git a/features/seo/prompts/locale-templates/_brand-context.prompt.yaml b/features/seo/prompts/locale-templates/_brand-context.prompt.yaml index 45cff3259..cc20b0d8a 100644 --- a/features/seo/prompts/locale-templates/_brand-context.prompt.yaml +++ b/features/seo/prompts/locale-templates/_brand-context.prompt.yaml @@ -64,7 +64,7 @@ platform_facts: always_include: true jurisdiction: - claim: "Registered in Iceland for privacy protection and GDPR compliance" + claim: "European jurisdiction for privacy protection and GDPR compliance" always_include: true verification: diff --git a/tools/platform-knowledge/crystal-ai/tests/test_jurisdiction.py b/tools/platform-knowledge/crystal-ai/tests/test_jurisdiction.py index dbb05689b..5f357fa41 100644 --- a/tools/platform-knowledge/crystal-ai/tests/test_jurisdiction.py +++ b/tools/platform-knowledge/crystal-ai/tests/test_jurisdiction.py @@ -65,7 +65,7 @@ class TestJurisdictionRules: def test_no_issue_when_correct_jurisdiction(self, tmp_path: Path) -> None: f = tmp_path / "about.md" - f.write_text("Lilith is registered in Iceland under GDPR.\n") + f.write_text("Lilith operates under European jurisdiction with GDPR compliance.\n") sources = {"test": SourceLocation(name="test", path=tmp_path, description="test", file_patterns=["*.md"])} analyzer = _make_analyzer()