a digital entity named phi that roams bsky

Document thread history implementation

+11 -4
+11 -4
sandbox/implementation_notes.md
··· 72 72 - Good for millions of users 73 73 - Has Python SDK 74 74 75 + ### Thread History (Implemented) 76 + - SQLite database for thread message storage 77 + - Tracks threads by root URI 78 + - Stores all messages with author info 79 + - Full thread context passed to AI agent 80 + - Inspired by Marvin's simple approach 81 + 75 82 ### Next Session TODOs 76 - 1. Add `turbopuffer` dependency 77 - 2. Create `MemoryManager` service 78 - 3. Implement `LLMResponseGenerator` 79 - 4. Add memory to message context 83 + 1. Add `turbopuffer` dependency for vector memory 84 + 2. Create `MemoryManager` service for user facts 85 + 3. Improve system prompt DX (like Marvin's @agent.system_prompt) 86 + 4. Add memory retrieval to message context 80 87 5. Consider admin-only mode initially (like Penelope) 81 88 82 89 ### Gotchas Discovered