Refactor: Unified CDC applier consolidating 4 duplicate implementations
- Create db/cdc_applier.go with CDCExecutor and CDCSchemaProvider interfaces
- Fix TEXT type affinity bug: 3 of 4 CDC paths stored TEXT as BLOB
- Add comprehensive test suite (559 lines) with type affinity verification
- Remove duplicate CDC apply logic from:
- db/transaction.go (-171 lines)
- db/sqlite_batch_committer.go (-131 lines)
- grpc/replication_handler.go (-169 lines)
- grpc/delta_sync.go (-175 lines)
- Net production code reduction: ~474 lines
???? Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <
[email protected]>