The Three-Layer Boundary
Surfaces → API → library
Surfaces translate and render. The API coordinates the operation and is the shared entry point. The library implements the work. Dependencies flow down from surfaces through API to library; peer API submodules are kept independent. A feature vertical can co-locate its library, API, and surface adapters without dissolving these dependency rules.