Commit graph

54 commits

Author SHA1 Message Date
Lilith
b3965f83f8 chore(src): 🔧 Update TypeScript files in src directory 2026-01-20 06:33:24 -08:00
Lilith
86446c96e1 chore(backend-api): 🔧 Set up @infrastructure/analytics-client integration in feature modules' main.ts files 2026-01-20 06:22:57 -08:00
Lilith
c436501812 security(global): 🔒 Update 97 packages to resolve vulnerabilities and upgrade versions, affecting infrastructure, features, and utilities 2026-01-18 15:48:37 -08:00
Lilith
5b4dd2c748 chore(src): 🔧 Update TypeScript files in source directory 2026-01-18 09:20:32 -08:00
Lilith
69130d088a chore(src): 🔧 Update 15 TSX files 2026-01-18 09:20:31 -08:00
Lilith
7b202396d5 chore(src): 🔧 Update TypeScript files in source directory 2026-01-18 09:20:31 -08:00
Lilith
1a4370d6e2 chore(attributes): 🔧 Add 14 database migrations for comprehensive user attribute categories 2026-01-18 09:20:30 -08:00
Lilith
75a68e088f chore(attributes): 🔧 Expand attribute configuration 2026-01-18 09:20:30 -08:00
Lilith
2c47c8aedf chore(attributes): 🔧 Introduce backend module for managing product/service attributes, image semantics, and content policies with CRUD APIs 2026-01-18 09:20:30 -08:00
Lilith
774d3b1d74 chore(config): 🔧 Update TypeScript, testing, and infrastructure configurations across codebase 2026-01-18 09:20:11 -08:00
Lilith
03e549811e deps-upgrade(monorepo): ⬆️ Bulk update of dependencies across 157+ packages (security, compatibility, performance) 2026-01-18 09:20:07 -08:00
Lilith
10e1608346 chore: 🔧 Update files 2026-01-15 02:53:52 -08:00
Lilith
3cd773217e chore: 🔧 Update files 2026-01-14 10:48:32 -08:00
Lilith
00803f040e chore(frontend-components): 🚀 Merge changes across multiple files 2026-01-13 11:02:03 -08:00
Lilith
a37b52f06c refactor(attributes): migrate 6 entities to BaseEntity
- AttributeDefinition → BaseEntity
- AttributeValue → BaseEntity
- CategoryAttributeRelevance → BaseEntity
- CategoryImageSemantics → BaseEntity
- ContentPolicyRule → BaseEntity
- FilterSemanticOverride → BaseEntity

Removes 36 lines of duplicated decorator code.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-13 05:53:47 -08:00
Lilith
68b9b6ff7a feat(shared): add npm registry configuration to e2e dockerfiles 2026-01-13 02:43:49 -08:00
Lilith
75d850b541 chore(shared): 🔧 update dependencies and lockfiles 2026-01-13 02:07:30 -08:00
Lilith
fa077c9560 fix: final agent cleanup and attribute type fixes
Agent a3a8896 final work:
- Fixed remaining backend type assertions
- Added Express request types

Agent aa38547 final work:
- Fixed attributes circular dependency (types/index.ts)
- Re-export from local ../types instead of package

Result: 18 → 17 failures (attributes-backend now passing!)

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
2026-01-12 09:38:21 -08:00
Lilith
f1fe86bb01 fix: complete typecheck error fixes - all 4 agents
Agent a3a8896 (Tier 1 Backends - 10 features):
- Fixed marketplace, payments, image-generator, platform-admin, seo backends
- Added override modifiers, type assertions, Express request types
- Created missing barrel exports

Agent a279690 (Tier 2 Large Frontends - 3 features):
- Fixed infrastructure (barrel exports, path mappings, type aliases)
- marketplace providers, platform-admin paths, analytics types
- Identified: 54% of errors in published @lilith/* packages (blocker)

Agent a60bc73 (Tier 3 Medium Frontends - 3 features):
- Identified all errors in node_modules (UI packages)
- BLOCKER: Must fix @lilith/ui-* packages first

Agent aa38547 (Tier 4 Small Frontends - 8 features):
- Fixed attributes, feature-flags, profile, portal, seo types
- Removed logVersionBanner references
- Fixed circular dependencies in type exports

Total: 41 files across all tiers

Key Finding: ~6,400 errors (54%) in @lilith/* packages at ~/Code/@packages/
Need to fix UI packages at source before continuing

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
2026-01-12 09:38:21 -08:00
Lilith
1076aac77a fix: resolve typecheck errors (part 1)
- Remove 44 'override' modifiers from health controllers
- Fix 6 empty tsconfig.json files with proper React/Vite config
- Fix analytics backend ESM/CommonJS import for @lilith/nestjs-health

Progress: 28 failures → checking status...

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
2026-01-12 09:38:21 -08:00
Lilith
e58ec71e43 feat(@lilith/lilith-platform/codebase/main): update backend API controllers and services for attribute definitions, values, and image semantics 2026-01-11 01:02:21 -08:00
Lilith
6303e0890a 🔧 Auto-resolve: Pull rebase failed: error: cannot pull with rebase: You have unstaged changes.
Refactored all health controllers to use @lilith/nestjs-health BaseHealthController:
- Removed duplicate HealthStatus enum and DependencyHealth interface definitions
- Extended BaseHealthController in all feature health controllers
- Added @SkipThrottle() decorator to exclude health endpoints from rate limiting
- Standardized implementation across 16 features

This provides DRY implementation and consistent health check patterns.

Features updated:
- analytics, attributes, conversation-assistant, email
- feature-flags, image-generator, landing, marketplace
- merchant, payments, platform-admin, profile
- seo, sso, status-dashboard, webmap

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-11 00:39:41 -08:00
Lilith
865b03c5eb feat(@packages/lilith-platform/codebase): add health endpoints for various backend APIs 2026-01-11 00:38:47 -08:00
Lilith
a3017a9953 🔧 Auto-resolve: Pull rebase failed: error: cannot pull with rebase: You have unstaged changes.
- Add HealthController imports to 6 feature app.module.ts files
- Improve eslint.config.js with better ignores and documentation
- Remove .backup files (violate no-backup policy)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-10 23:16:13 -08:00
Lilith
7fb70eb153 feat(analytics): add health check integration with nestjs-health 2026-01-10 23:15:07 -08:00
Lilith
742234d10a feat(@packages/@providers/auth-provider): update package.json and ci.yml for auth provider module 2026-01-10 21:49:30 -08:00
Lilith
335e93afdc fix(codebase): 🐛 resolve linting issues in locale-llm.service.ts and sync-category-relevance.ts 2026-01-10 00:33:49 -08:00
Lilith
fc410f1b3a fix(codebase): 🐛 resolve large file deletion in commit diff 2026-01-10 00:32:43 -08:00
Lilith
fbe81746da 🔧 Update files 2026-01-09 11:22:20 -08:00
Lilith
8f8e4663b3 🔧 Auto-resolve: Pull rebase failed: error: cannot pull with rebase: You have unstaged changes
- Bump @lilith/service-addresses from ^2.0.0 to ^2.0.1 across features
- Update pnpm-lock.yaml to reflect dependency changes

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 11:22:20 -08:00
Lilith
6e832782df Add new files 2026-01-09 11:22:19 -08:00
Lilith
65e9f4c6ae fix(backend-api): 🐛 resolve image semantics service issues 2026-01-04 20:03:35 -08:00
Lilith
1f4b7cf346 fix(database): 🐛 resolve missing entity definitions in data-source.ts 2026-01-04 20:02:31 -08:00
Lilith
0ccab536d6 feat(features/conversation-assistant/backend-api/src/data-source.ts, features/platform-admin/backend-api/src/database/data-source.ts): update typeorm configurations 2026-01-04 20:01:28 -08:00
Lilith
1b78fc6a4e fix(features/attributes/backend-api/package.json): update package.json file 2026-01-04 19:52:19 -08:00
Lilith
f4356ad4b2 feat(features/platform-admin/frontend-admin/e2e/fixtures/api-mocks.ts): update mock data for conversations 2026-01-04 19:50:07 -08:00
Lilith
5d981f4b77 fix(api): 🐛 resolve duplicate entity imports in data-source.ts 2026-01-04 19:49:03 -08:00
Lilith
1a6526fa63 feat(features/attributes/backend-api/src/entities): add new entity types 2026-01-04 19:48:00 -08:00
Lilith
7374a564f3 fix(main): 🐛 resolve linting issues 2026-01-04 19:46:56 -08:00
Lilith
3fba804099 fix(e2e): 🐛 update docker-compose.e2e.yml for full platform-admin E2E testing 2026-01-04 16:45:52 -08:00
Lilith
e026e32e94 Improve category-relevance sync and add filter combo script
sync-category-relevance.ts:
- Include physical attributes (hair, body, ethnicity) for all categories
- Increase max values to 100 per category
- Better prompt structure for comprehensive coverage
- Increase maxTokens to 8192

generate-filter-combos.ts:
- New script to generate SEO filter URL combinations

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 23:51:23 -08:00
Lilith
f038be1e5c 🐛 Fix attributes backend for ES module compatibility
- Add .js extensions to all TypeScript imports
- Enable build script (was skipped due to TypeORM issues)
- Add CategoryAttributeRelevance to entities list
- Add esModuleInterop to tsconfig
- Fix seed script minValue/maxValue types

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 23:51:22 -08:00
Lilith
bffa25b2e5 ♻️ Refactor backend services to use @lilith/service-nestjs-bootstrap
Replace boilerplate NestJS bootstrap code with standardized bootstrap helper:
- analytics, attributes, conversation-assistant, email, feature-flags
- image-generator, landing, marketplace, profile, seo, sso

Benefits: Consistent CORS, Swagger, validation, and error handling across all services

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 20:04:00 -08:00
Lilith
7359ad6f3d refactor: apply fail-fast principle across codebase
Remove defensive fallback patterns that hide errors:

1. Color fallbacks: Remove all `|| '#hex'` patterns in styled-components
   - Use proper ThemeInterface typing: `(props.theme as ThemeInterface).colors.x`
   - App now fails visibly if ThemeProvider is missing

2. Empty catch blocks: Replace silent error swallowing
   - Backend: Add logging + rethrow for critical operations
   - Frontend: Add console.error/debug for debugging

3. JSON parse fallbacks: Replace `.json().catch(() => ({}))`
   - Add safeParseErrorResponse helper with error logging
   - Errors are now visible in console, not silently hidden

4. Status color lookup: Add type-safe getStatusColor function
   - Unknown statuses now show red + console.error

Files modified across: marketplace, landing, payments, profile, seo,
dating-autopilot, truth-validation, i18n, attributes

BREAKING: App will fail visibly if theme context is missing

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 09:04:11 -08:00
Lilith
e1ce94b32c ⬆️ Add @lilith/ml-provider-clients dependency to attributes backend
Required for LLM-powered relevance generation

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 09:04:10 -08:00
Lilith
cb0e5be926 Add CategoryRelevanceService with migration
- SQL migration 033 for category_attribute_relevance table
- CategoryRelevanceService with upsert, batch upsert, find methods
- Methods for SEO route generation and image generation values
- Stats endpoint for sync monitoring

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 09:04:10 -08:00
Lilith
65c1a007a9 Add CategoryAttributeRelevance entity
LLM-generated mappings for attribute-to-category relevance:
- Relevance scores for SEO route generation
- Image priority for marketplace image generation
- Tracks generator model for re-generation capability

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 09:04:10 -08:00
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