LibreOffice Requires Contributors to Explain Every Line of AI-Generated Code
LibreOffice has not banned AI-generated code, but it has tightened its rules. The Document Foundation (TDF), the organization that oversees the office suite, made the decision. Before using a large language model (LLM, such as ChatGPT), contributors must get permission and state the use in the commit description. The author must explain every line the AI wrote, in their own words. As a result, a patch "from the chat" that the author does not understand will not pass review.
AI-processed from Habr AI; edited by Hamidun News
Open source projects are increasingly drowning in patches that an author generated with a neural network in a minute, while maintainers spend hours reviewing them. The Document Foundation (TDF), the non-profit organization that oversees the LibreOffice office suite, decided not to wait until this flow becomes a problem. It published stricter rules for working with large language models (LLMs, meaning ChatGPT, Claude and similar chatbots that write code). The main requirement: if a model wrote a line, the author must be able to explain it in their own words.
An important caveat: there is no radical measure, meaning a complete ban, yet. TDF believes that quality code should be accepted even if a neural network was used to create it. The organization also acknowledges that many third-party dependencies and even compilers already use similar technologies, so drawing a clean line between "human" and "machine" code is practically impossible. At the same time, the organization explicitly says it wants to emphasize the value of code written by humans.
What contributors are required to do
The rules come down to five points:
- permission must be obtained before using an LLM in work on the project;
- the fact of using the model must be stated in the commit description (a commit is a saved set of changes in a repository);
- if an LLM created a change, the author must be able to explain in their own words what each changed line does and why it is needed;
- LLMs may not be used for commit messages, code comments, bug reports, and correspondence with other project participants;
- in certain parts of the codebase, using an LLM is not permitted at all.
Of the entire list, the most practical requirement is explaining each changed line. It shifts responsibility from the tool to the person. If you submit a patch, you must understand it as if you had written it yourself. This rules out a typical scenario: an author pastes a model's answer into the repository without understanding it, then answers the reviewer's questions by sending a new prompt to the same model.
The ban on AI-written text outside the code is also understandable. Commit descriptions, bug reports, and mailing list discussions exist so that people can understand each other. If smooth but empty text replaces a live explanation, it becomes harder for a reviewer to grasp what the author actually meant. The rules do not say how TDF will verify compliance with the restrictions. Determining the origin of a text or code by its appearance is extremely difficult, so much will rest on contributors' honesty.
LibreOffice itself has no AI features
TDF specifically notes that, by its architecture, LibreOffice contains no AI-based features. The rules concern not the product but the process of its development: how people write and review code. The organization also notes that the developer community is actively grappling with the role of AI in programming, and the document can be seen as part of that discussion rather than a final decision.
Against the backdrop of other projects, this approach looks moderate. Instead of a ban, it introduces transparency: permission, a tag, and the author's personal accountability. For maintainers, this saves time: a tag in the commit immediately shows which patches require closer review.
What this means for developers
If you plan to make changes to LibreOffice, the sequence is as follows: first ask for permission, then flag the involvement of an LLM in the commit, write comments and messages yourself, and be prepared to explain any line. If you maintain your own open source project, this is a ready-made template. It does not require giving up tools, but it gives the reviewer a clear picture: who wrote the code, with what tools, and with what understanding.
There is also context from recent news. It was reported that, amid a mass outage of Microsoft's office services, TDF received a record number of donations: at least 1,000 donations in a single day in support of the LibreOffice developer. Attention to the project is growing, which means more people want to contribute, including with the help of neural networks. Clear rules are needed precisely now, before the flow of patches gets out of control.
- Nov 26, 2026A Fake Paper Written with Free ChatGPT and Gemini Was Caught by 24 Invented References
- Nov 26, 2026A 20,000-Resident City's Manager Wrote Laws With ChatGPT: A Journalist Obtained 1,974 Chats
- Nov 26, 2026FS-XML: How a Browser AI Chat Edits Your Project Code in One Click, With No Token Bills
- Nov 26, 2026OpenAI Pilots Private Inference: Business Queries Without Data Access
Key Questions Answered
What contributors are required to do?
The rules come down to five points: permission must be obtained before using an LLM in work on the project; the fact of using the model must be stated in the commit description (a commit is a saved set of changes in a repository); if an LLM created a change, the author must be able to explain in their own words what each changed line does and why it is needed; LLMs may not be used for commit messages, code comments, bug reports, and correspondence with other project participants; in certain…
What are the key details on LibreOffice itself has no AI features?
TDF specifically notes that, by its architecture, LibreOffice contains no AI-based features. The rules concern not the product but the process of its development: how people write and review code. The organization also notes that the developer community is actively grappling with the role of AI in programming, and the document can be seen as part of that discussion rather than a final decision. Against the backdrop of other projects, this approach looks moderate.
What this means for developers?
If you plan to make changes to LibreOffice, the sequence is as follows: first ask for permission, then flag the involvement of an LLM in the commit, write comments and messages yourself, and be prepared to explain any line. If you maintain your own open source project, this is a ready-made template. It does not require giving up tools, but it gives the reviewer a clear picture: who wrote the code, with what tools, and with what understanding. There is also context from recent news.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
