roberto
c90ed58078
step-6: add memory models and migration (models.py, alembic)
- User.encryption_key: per-user Fernet key generated on registration
- MemoryCore: encrypted key/value preferences
- MemoryAssociative: encrypted semantic memory + pgvector(1536) embedding
- MemoryEpisodic: encrypted session summaries
- MemoryProactive: encrypted behavioral patterns with confidence score
- Migration 004: enables pgvector extension, creates all 4 tables + ivfflat index
- auth.py register: generates Fernet key for new users
- 8 unit tests pass (SQLite in-memory, JSON embedding fallback)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-08 22:05:58 +01:00
..
2026-03-05 15:33:53 +01:00
2026-03-08 22:05:58 +01:00
2026-03-03 12:39:32 +01:00
2026-03-08 21:25:45 +01:00
2026-03-08 21:51:20 +01:00
2026-03-05 18:05:07 +01:00
2026-03-03 14:53:34 +01:00
2026-03-03 17:21:40 +01:00
2026-03-01 23:51:37 +01:00
2026-03-03 12:39:32 +01:00
2026-03-05 17:35:37 +01:00
2026-03-08 22:05:58 +01:00
2026-03-08 21:21:03 +01:00