Commit graph

3 commits

Author SHA1 Message Date
Lilith
02175fef13 feat(truth-validation): Add semantic validation system with precommit hooks and server-side content correctness checking 2026-01-18 09:21:32 -08:00
Lilith
1bdc7a4d1d 🔧 Auto-resolve: Pull rebase failed due to unstaged import refactoring changes
This commit captures unstaged changes from the import path standardization
refactor (b65c5cc2). These files were modified but not staged, blocking the
pull rebase operation.

Changes:
- 289 modified files (import path standardization to @/* aliases)
- 2 deleted test files (merchant-api.e2e.spec.ts, rate-limiting.e2e.spec.ts)

Resolution: Stage all changes and commit before rebasing.

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
2026-01-11 00:57:02 -08:00
Lilith
f2761f3a63 refactor: split large files for SOLID/SRP compliance (600-line limit)
Refactored 27 files exceeding 600-line ESLint limit:

Frontend components:
- ManifestoPage.tsx: 1665 → 114 lines (split into 7 manifesto modules)
- BrowseCreatorsPage.tsx: 1239 → 259 lines (hooks, components, styles)
- AgreementForm.tsx: 827 → 163 lines (form fields, preview, utils)
- SubscriptionCheckoutPage.tsx: 788 → 171 lines (steps, payment form)
- ProfileViewPage.tsx: 812 → 118 lines (gallery, header, sections)
- SoundEngine.ts: 869 → 216 lines (audio manager, sound packs)
- CTAModal.tsx: 653 → 248 lines (form fields, success states)
- CreatorCard.tsx: 630 → 30 lines (grid, list, styles, utils)
- DynamicFilterRenderer.tsx: 613 → 77 lines (enum, boolean, range, text)
- ClientAgreementView.tsx: 622 → 178 lines (content, modal, styles)
- TipButton.tsx: 617 → 286 lines (modal, presets, inputs)
- ServiceDiagramPage.tsx: 744 → 113 lines (nodes, hooks, controls)
- ExperimentsPage.tsx: 723 → 247 lines (card, modal, utils)
- SubscriptionDashboardPage.tsx: 654 → 177 lines (charts, cards)
- ContactsPage.tsx: 611 → 149 lines (table, controls, actions)
- DevicesPage.tsx: 636 → 67 lines (card, stats, maintenance)
- ProfileEditor.tsx: 667 → 109 lines (fields, form hook, tabs)
- makeI18n.tsx: 679 → 31 lines (providers, hooks, utils)

Backend services:
- admin-analytics.service.ts: 1184 → 230 lines (9 domain services)
- usage-tracking.service.ts: 743 → 233 lines (6 domain services)
- sync.service.ts: 616 → 96 lines (4 sync services)
- pipeline.service.ts: 690 → 184 lines (5 pipeline services)

API/Types:
- conversation-assistant.types.ts: 651 → 105 lines (7 domain files)
- hooks.ts: 696 → 136 lines (4 domain hook files)
- api.ts (truth-validation): 736 → 11 lines (9 domain modules)
- validate-locales.ts: 679 → 186 lines (6 utility modules)
- feature-routes.ts: 667 → 9 lines (4 route modules)

All files now comply with @lilith/eslint-plugin-file-length rule.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 05:43:36 -08:00