feat(phase1): Complete development environment configuration

- Configure Alembic for database migrations with initial schema
- Fix base.py to use lazy loading for async engine (avoids import-time issues)
- Change AI model from sonnet to haiku (claude-3-haiku-20240307)
- Fix pytest version compatibility with pytest-asyncio
- Add frontend package-lock.json

Phase 1 tasks completed:
- F1.1: Development environment (Docker, Node.js 20, Python 3.12, venv)
- F1.2: PostgreSQL with 8 categories seeded
- F1.3: Redis connection verified
- F1.4: Anthropic API configured and tested
- F1.5: Backend server + WebSocket verified

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-26 08:12:30 +00:00
parent 43021b9c3c
commit b3fab9f8df
8 changed files with 4666 additions and 19 deletions

View File

@@ -32,6 +32,6 @@ python-dotenv==1.0.0
apscheduler==3.10.4
# Testing
pytest==8.0.0
pytest>=7.0.0,<8.0.0
pytest-asyncio==0.23.4
httpx==0.26.0