LibreOffice Tightens Policy on AI-Assisted Code Contributions, Requiring Approval and Disclosure for Large Language Model Use
The TDF, the organization behind LibreOffice, has tightened its policy on AI-assisted code contributions. Contributors must obtain approval before using large language models, disclose the relevant tools when submitting contributions, and be able to explain how their patches work line by line. The new rules prohibit using large language models to write commit messages, code comments, bug reports, or developer communications, and also ban their use in certain parts of the codebase.
Why read this
AI score 65
The new rules make prior approval, disclosure of use, and line-by-line explanations requirements for contributions, illustrating how an open-source project is balancing development efficiency with accountability for code.
Topics
Body · AI translation
TDF stressed that LibreOffice itself is not designed to include any AI features. However, the organization also acknowledged that AI-assisted programming has become a reality the software development community must confront, and many open-source projects are adjusting their rules to prevent low-quality, inadequately reviewed “AI slop” from entering their codebases.
Even so, TDF has not imposed a blanket ban on AI-assisted development. The foundation believes that contributions should be accepted as long as the final quality meets its standards, even if AI was used during development. It also noted that many third-party components on which LibreOffice depends, and even the compilers themselves, are already using related technologies.
At the same time, TDF wants to preserve the value of human-written code and has therefore decided to tighten its management of LLM use. Under the new policy, contributors must obtain prior approval before using an LLM to assist with development; they must disclose their use of AI tools when submitting code; and for patches completed with the help of an LLM, contributors must be able to explain in their own words the rationale and function of every modified line of code.
In addition, the new rules explicitly prohibit using LLMs to write commit messages, code comments, bug reports, or messages communicating with other developers. Certain areas of the codebase have also been designated as off-limits for LLM use to further reduce the risks posed by AI-generated content.
This change reflects a broader trend in software development. Linux founder Linus Torvalds has also previously expressed a relatively positive view of AI-assisted programming, provided that developers follow the applicable rules. As AI tools become more widespread in programming, striking a balance between improving efficiency and ensuring code quality, maintainability, and accountability is becoming an important issue for the open-source community.
Attention will now turn to how LibreOffice’s code reviewers and maintainers implement these rules in practice, and what methods they will use to verify whether contributors have fulfilled their disclosure, approval, and explanation obligations.
AI Trends