feat: mcp-based architecture foundation (phase 1)
This is the first phase of simplifying phi to use MCP (Model Context Protocol).
## What's New
- **Simple SQLite memory** (src/bot/memory.py)
- Plain text storage, no vector embeddings
- Two tables: threads (JSON conversation history) and user_memories
- Completely interpretable - just open the database and read
- **MCP-enabled agent** (src/bot/agent.py)
- PydanticAI Agent with ATProto MCP server as toolset
- Agent has direct access to ATProto tools: post, like, repost, etc.
- Returns structured Response (action, text, reason)
- **ATProto MCP server** (src/bot/atproto_mcp/)
- Vendored from fastmcp examples
- Configured to use existing BLUESKY_* env vars
- Provides all Bluesky/ATProto operations as MCP tools
- **Updated dependencies**
- Added: fastmcp, websockets
- Removed: turbopuffer, openai (no longer needed)
## Philosophy
Replacing over-engineered complexity with simple, working, interpretable systems.
## Next Steps
- Phase 2: Integrate new agent into main.py and poller
- Phase 3: Delete old cruft (namespace_memory, approval system, etc.)
- Phase 4: Test end-to-end
See sandbox/REFACTOR_PROGRESS.md for full details.
This is a binary file and will not be displayed.