Commit graph

6 commits

Author SHA1 Message Date
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
f31269a9e8 🔧 Add API proxy for landing backend on staging
- Add /api/ location block to nginx config for next.www.atlilith.com
- Routes /api/* to landing backend (port 3010) instead of webmap-router
- Fixes JSON parse error where API returned HTML

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 04:16:12 -08:00
Lilith
4550f2a82b 🔧 Clean up backend service imports and configs
- Remove unused imports from email-queue.service
- Deprecate _translateBatch in translation-sync.service
- Remove rootDir and path mappings from landing tsconfig
- Minor cleanup in seo-queue.processor

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 03:08:44 -08:00
Lilith
3a800741ff ♻️ Migrate from queue-infrastructure to @lilith/queue
- Remove @lilith/queue-infrastructure workspace package
- Update analytics, email, conversation-assistant, seo, and image-generator
  services to use published @lilith/queue package
- Replace PlatformQueueModule with direct BullModule usage
- Update BaseProcessor to WorkerHost pattern
- Add local queue-names.ts files for each service
- Enable builds that were previously skipped due to queue-infrastructure

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 03:03:33 -08:00
Lilith
cb3bf61fea Integrate job context enrichment into queue services
- Email: Add isDxJob option, job context with service attribution
- Analytics: Add isDxJob option, context for view/revenue/engagement events
- Conversation: Add isDxJob option, context with tags for sync operations

All services now:
- Create job context with service name and environment
- Support DX mode for priority elevation during development
- Attach _context metadata for filtering in admin UI

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 16:58:31 -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