From guidance files to verification gates: how open-source software adapts to automated contributors
Listen to this article
Read by Anchor
We are currently witnessing a significant shift in how contributions are made to open-source projects, as the queue of pull requests is filled with software written by artificial intelligence tools and programming agents. Nicholas Tindall, founding artificial intelligence engineer at the AutoGPT project, explains that the project deals daily with a queue of around 150 open pull requests, many of which are from programming agents such as Copilot and OpenCLAW, as well as the project's internal tools. While most project supervisors tend to close the door on these contributions to avoid overwhelming the work teams with reviewing poor code, Tindall sees a positive angle in exploiting the computing capabilities paid for by the contributors, provided that the entry mechanism is organized and strict paths are defined to ensure the quality of the work.
The practical experience at AutoGPT has shown that writing traditional contribution guides and public documents is not sufficient, because tools and agents do not automatically read the documents unless they are directly directed to them. Agents read what is directly in front of them within the scope of the guide they are working on. For this reason, the project began to include guidelines in the places where agents search directly, by using CLAUDE.md files initially, then expanding to adopt standardized files called AGENTS.md, which are placed next to the code they control. These specific files, limited to the scope of the folders, allow agents to be provided with the context of the software repository, in addition to the skills that are dynamically discovered outside the scope of the folder to impose specific rules, such as requiring agents to write user interface tests or achieve a coverage rate of no less than 80% in the backend codes before opening a pull request.
Managing this automatic flow requires building effective verification gates that organize the work of programming agents and direct their behavior accurately.These gates include imposing pull request templates strictly, where the project announces the immediate closure of any request that does not comply with the template. The template model also includes a testing plan that includes phrases that activate the skill of checking modifications, which prompts the agent to install a custom browser, run the application, and ensure that the changes work before sending them. Additionally, the continuous integration environment is a crucial wall, as the agent checks that it is not possible to merge and automatically creates the required tests until it meets the code coverage standards.
These programming restrictions are integrated with procedures that ensure the human element remains in the decision-making loop when necessary.The signing of a contributor license agreement is a convenient tool for distinguishing between humans and machines, since signing requires the use of a browser and navigating a separate authentication path, which most automated software is currently unable to do. If the agreement is not signed within a week, the pull request is closed with a warning to sign to reopen it. The project also requires agents to provide a precise commitment identifier extracted from the log before closing any series of review comments, to prevent agents from closing comments formally without actually modifying the code.
The experience also shows the importance of abandoning tools that cause noise, as the project stopped the automatic commenting feature of the agent when tests failed to avoid flooding reviewers with repeated alerts. It is also necessary to pay attention to four main caveats: poor instruction files harm the agent's focus, using the programming interface through a single user leads to a limit that requires creating an application on GitHub for authentication, heavy review tools consume high financial costs and should be limited to very small or very large modifications, and finally, the necessity of regularly reviewing authorized applications and revoking the permissions of unused tools. Our magazine always remembers that project supervisors have the full right to choose the limits of their contributions, whether by accepting modifications, rebuilding them with reference to the contributor, or limiting participation to only reporting errors.