Add SQLite infrastructure for local state master
Phase 1 of infrastructure upgrade: - tools/db.py: SQLite database layer with helpers for: - Published messages (dedup tracking) - Concepts, social graph, likes, consent - tools/migrate_to_sqlite.py: Migration script from JSON files - Update hooks to use SQLite instead of text files - Add data/central.db to .gitignore (runtime state) Migration results: - 6313 → 4503 published messages (1810 duplicates removed!) - 24 concepts, 73 social nodes, 6 likes migrated Benefits: - Indexed lookups (O(log n) vs O(n) text scan) - SQL queries for social graph analysis - Automatic deduplication - No more scattered JSON files 🐙 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta <noreply@letta.com>