@lxsameer @DanielaKEngert I suspect that you just haven't worked on a complex enough project.
This is not something new. For example Bazel build system allows you to express public and private partitions of libraries on the build system level. But to be fair, Bazel also offers a lot more nuanced way to control the visibility of interfaces, so C++ module partitions are not exactly a replacement.