The Language Server Protocol is designed for advanced text editors (IDE’s). Now that we rarely edit text by hand, I believe we could instead use source code viewers that don’t have to deal with unsaved or incomplete code.
If we can assume that all files are saved and each file has correct syntax (which can be enforced by tooling), a much simpler protocol could handle all the language-specific indexing needed to make it easy to read source code.
(I’m assuming that we still do read source code. I for one like reading source code and have little interest in ‘software factory’ techniques where you don’t look at at the code. I might not look at every commit, but I’ll still read it fairly often and tell the AI to fix anything that’s unclear.)