There are global files, and repo files, but we are missing a good solution to the middle, which (imo) is best served by a proper versioning and dependency management system. (like CUE mods, this can probably fill the gap by generating config and embedding the markdown as part of that, one liner to write out an imported module into the current repo)
I don't think we really need anything new here (ai hype wants to reinvent everything), we have plenty of tools and prior art to leverage.