Add thread context for AI responses
Following Marvin's pattern, implemented simple thread history:
- SQLite database stores all messages per thread
- Each thread tracked by root URI
- Full thread context passed to AI agent
- Bot responses stored for continuity
Database schema:
- thread_uri: Root post URI for thread tracking
- Message text, author info, timestamps
- Simple and effective like Marvin's approach
AI Integration improvements:
- Thread context aware responses
- Personality system properly integrated
- Tests updated and passing
This completes the immediate goal: AI responses with thread context.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>