---
id: 18280
lang: en
title: "LibreOffice Requires Contributors to Explain Every Line of AI-Generated Code"
published_at: "2026-11-26 04:31:53"
source_name: "Habr AI"
source_url: "https://habr.com/ru/articles/1112154/?utm_campaign=1112154&utm_source=habrahabr&utm_medium=rss"
canonical_url: "https://news.hamidun.com/en/news/18280"
categories: ["llm", "research"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# LibreOffice Requires Contributors to Explain Every Line of AI-Generated Code

> **Краткая суть (BLUF):** 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.  - LLMs may not be used to write code comments or commit messages - Bug reports and correspondence with project participants may not be written through an LLM either - In some parts of the codebase, LLMs are not allowed at all

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.

---
- **Первоисточник:** [Habr AI](https://habr.com/ru/articles/1112154/?utm_campaign=1112154&utm_source=habrahabr&utm_medium=rss)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/18280
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
