Great, in that case I guess lsp-mode automatically guess the root correctly.
Anyway, right now the feature only contains the find def from py to cxx.
I find it is interesting to add project specific analysis that can be minimum and enhance the IDE in this way.
Would love to see how will the such kind of IDE enhancements benefit our development and code navigation