Bounded contexts
Create a module here only after its domain language and ownership boundary are understood:
<bounded_context>/
├── domain/ # Entities, value objects, domain services, ports
├── application/ # Use cases and orchestration
├── infrastructure/ # Adapters for storage and external systems
└── presentation/ # HTTP or message-driven delivery adapters
The domain layer must not import FastAPI, persistence clients, or infrastructure adapters.