- Create tests/test_architecture.py with 20 automated rules: inter-layer dependency checks (domain, services, api, infra, persistence), external dependency constraints (fastapi, sqlalchemy, httpx, opensearchpy), and port convention enforcement (Protocol only in domain.ports) - Add requirements-test.txt with pytestarch dependency - Fix persistence.database importing infra.settings (read DB_PATH from env directly) https://claude.ai/code/session_01GaxovK2uVyVxUtXde9hU4P |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| analysis_repo.py | ||
| database.py | ||
| document_repo.py | ||