mirror of
https://github.com/elisiariocouto/leggen.git
synced 2025-12-26 02:39:27 +00:00
Introduces a DataProcessor layer to separate transformation logic from orchestration and persistence concerns: - Created data_processors/ directory with AccountEnricher, BalanceTransformer, AnalyticsProcessor, and moved TransactionProcessor - Refactored SyncService to pure orchestrator, removing account/balance enrichment logic - Refactored DatabaseService to pure CRUD, removing analytics and transformation logic - Extracted 90+ lines of analytics SQL from DatabaseService to AnalyticsProcessor - Extracted 80+ lines of balance transformation logic to BalanceTransformer - Maintained backward compatibility - all 109 tests pass - No API contract changes This improves code clarity, testability, and maintainability while maintaining the existing API surface. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>