Earlier quoted context omitted.
The other big problem with LLM documentation is that it tends to drift from the code, because agents forget to update it. Then later agents sometimes reference the documentation, sometimes reference the code, and get confused. For agent written code I now default to no documentation and explanatory function signatures, it works better for me at least.
Humans also tend to forget to update documentation and the same confusion happens. I don't think it's really a new problem.
When agents write most of our code, I question if we will still even need documentation.