- add EntityTask domain and CRUD API backed by PostgreSQL
- relate generated messages directly to tasks and delete on task removal
- move preview generation to backend Llama endpoint
- migrate frontend task APIs from localStorage to backend endpoints
- update tests and CLAUDE rules for backend-owned LLM/persistence