Documented knowledge explains what to do. Executable knowledge also defines when, with which tools, inside which limits and with what quality evidence it may be done.
An answer can be wrong. A file change can also alter the next process run, other people's work and the authoritative knowledge state. Write access therefore begins a new risk class.
A language model does not become truthful merely because documents are placed in its context. It only gains a better opportunity to ground its answer in inspectable evidence.