Files
aitu/apps
liquidliangandClaude ad341a4f88 refactor: simplify architecture by removing DDD layers and unifying types
- Remove DDD layers (domain/application/infrastructure) - 30 files deleted
- Create shared type definitions for main thread and Service Worker
- Eliminate type duplication between main thread and SW (no more "Keep in sync" comments)
- Update CLAUDE.md with 3 architecture rules (avoid over-design, delete unused code, refactor with purpose)
- Add detailed architecture guidelines to CODING_RULES.md with examples

This refactoring reduces codebase by 29 files and ~2900 lines while maintaining
all functionality. The shared types approach ensures type consistency without
manual synchronization.

Net result: -29 files, -2900 lines of code

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

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-05 16:22:46 +08:00
..