Commit graph

7 commits

Author SHA1 Message Date
Lilith
ad68c51611 Add vertical type system to @packages/@types
- Add vertical.ts with Vertical enum and config
- Export from @types index
- Update attribute-definition entity
- Add vertical support to frontend-admin types

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 01:42:13 -08:00
Lilith
ac31be2d6d ♻️ Refactor content policy to database entity
- Add ContentPolicyRule entity with category/status enums
- Replace constants/content-policy.ts with entity-based seeds
- Export new entity from entities/index.ts
- Update attribute hooks to use entity types
- Update frontend-admin exports

Content policy now queryable via API and manageable in admin.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 23:45:56 -08:00
Lilith
58d165b4ac ♻️ Extract content policy to dedicated module with helpers
- Move BANNED_CONTENT, EDGE_PLAY_WARNINGS, JURISDICTION_NOTES to constants/
- Add isBannedContent() and getEdgePlayWarning() helper functions
- Rename categories: illegal_all_jurisdictions → illegal, facilitates_harm → harmful
- Add typed BannedCategory and ContentStatus types

Separates policy definitions from seed data for reuse in moderation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 20:33:45 -08:00
Lilith
d5762a2507 Expand attributes seed to 166 definitions with content policy
- Add BANNED_CONTENT registry documenting excluded content
- Categorize: illegal, facilitates_harm, platform_policy, allowed_with_context
- Reference sources: KINK101 Encyclopedia, FetLife categories
- Add ContentPolicyCategory type for moderation flags
- Expand from 80 to 166 searchable marketplace attributes

Comprehensive attribute system with clear content boundaries.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 20:27:50 -08:00
Lilith
3f2b4a76fe Add queue infrastructure for image-generator and SEO
Queue Integration:
- image-generator: Full BullMQ queue for variation generation
  - ImageQueueService with DX priority support
  - ImageQueueProcessor with family generation
  - Updated GenerationService to use async queue
- seo: Queue infrastructure for page generation
  - SeoQueueService with batch and translate jobs
  - SeoQueueProcessor with page/batch processing
- Add IMAGE_GENERATOR and SEO queue names to constants

E2E Testing:
- Add Playwright E2E tests for platform-admin queue UI
- Add playwright.config.ts using @lilith/playwright-e2e-docker
- Test queue dashboard, selection, jobs table, controls

Other:
- Truth validation client TypeScript fixes
- Update pnpm-lock.yaml with dependencies

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 19:04:31 -08:00
Lilith
d618fbe127 ci: skip attributes-api build (TypeORM entity resolution issues) 2025-12-31 20:21:58 -08:00
Lilith
a9c976408b ♻️ Refactor validate-locales with --fix and i18n integration
- Add --fix mode to auto-correct issues using i18n truth-validation
- Add --semantic flag for optional semantic service validation
- Add --dry-run flag for preview without writing
- Separate validate:locales (fast), validate:locales:fix, validate:locales:full
- Exit with error code if issues found and not in fix mode

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 17:37:53 -08:00