- Created config directory with settings.py, __init__.py, and settings.yaml
- Implemented SqlServerConfig and DatabaseConfig classes for SQL Server connections
- Added Settings class with database_url property for SQLAlchemy URL construction
- Uses parse_yaml_raw_as for UTF-8 safe YAML loading on Windows
- Configuration validated successfully via import test
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add detailed step-by-step implementation plan for migrating
from .env to YAML configuration using pydantic-yaml.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add design document for migrating from .env to YAML configuration
using pydantic-yaml.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add box schemas (BoxInfoResponse, BoxSaveRequest, BoxSaveResponse)
- Add box service with ERP view query and save logic (supports many2one append)
- Add box router with GET /box/info and POST /box endpoints
- Register exception handlers for InvalidZongpaiError, ZongpaiNotFoundError, DuplicateBoxItemError
- Update RequestValidationError handler to cover INVALID_BOX_NO and INVALID_QUANTITY
- Add 7 integration tests for box API
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>