Commit graph

1 commit

Author SHA1 Message Date
Claude
6d6d077ed3
feat: add hexagonal architecture tests with pytestarch (#177)
- 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
2026-04-16 08:13:43 +00:00