My DOCX converter quoted a contract clause the reviewer had already deleted — tracked changes hide in the file A developer found that their DOCX-to-Markdown converter and RAG pipeline were quoting deleted contract clauses because unaccepted Word tracked changes persist in word/document.xml as / elements. One 14-page contract returned roughly 2,100 extra words — about 9% of the total — of rejected language. The fix classifies as document-history metadata to drop, unwraps , and adds an accept_revisions option that strips revisions by default with an opt-in redline mode. An agent using my document pipeline answered a question about a vendor contract with clause numbers that didn't exist. The clause had been struck out during review — but the RAG index still had it. I pulled the DOCX apart. Word documents are zip archives, and tracked changes live in word/document.xml as first-class citizens: insertions are wrapped in