There is also the possibility of adding an AGENTS.md file to the root of a repo, where we can give specific instructions to the agent itself, which can include things like "When submitting a pull request or Gerrit patch, ALWAYS disclose that it was made with the help of an AI agent," or even "Prior to doing any work, ALWAYS ask a Yes or No question whether the user has read our Commit Message Guidelines at this URL: ..." (<< I have confirmed that this works, at least with Claude Code)
Now, the extent to which the agents will *honor* the instructions is not at all clear, and perhaps the presence of an AGENTS.md file could be perceived as an invitation or endorsement for using an agent, but it still could be an option to consider. On Tue, Jan 27, 2026 at 12:39 PM Dan Andreescu via Wikitech-l < [email protected]> wrote: > Good point about diverse interfaces, @Sohom. It made me think that adding > something to the commit message guidelines > <https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines> might > work. We direct people there even if they use a different tool to commit. > And we could link to all the useful thoughts here on this thread. > > Something like "using LLMs to help contribute is allowed, we ask that you > please include [...this note...] in your commit message and read the > following advice on coding with LLMs..." > > On Tue, Jan 27, 2026 at 11:32 AM Sohom Datta via Wikitech-l < > [email protected]> wrote: > >> I don't think that's currently possible due to the wide diversity of >> interfaces we use (Wikimedia Gerrit can be controlled by us, but what about >> Github). Also the code upload is done through a third-party CLI which is >> going to be hard to integrate with. >> >> Regards, >> Sohom Datta >> --- >> Open-source contributor @Wikimedia, @Chromium >> >> >> On Tue, Jan 27, 2026 at 11:29 AM Svetlana Tkachenko via Wikitech-l < >> [email protected]> wrote: >> >>> Hi Novem Linguae >>> >>> > Anyway, I've taken a stab at documenting some of this by creating the >>> > page https://www.mediawiki.org/wiki/Using_AI_in_MediaWiki_patches >>> just >>> > now. Feel free to edit. >>> >>> I would suggest REQUIRING that users MUST tick a "I used AI to write >>> this code" box if this was the case, at time of upload of their patch. This >>> may help the reviewer to prioritise the search of hallucinations in the >>> code provided. >>> >>> Sveta >>> _______________________________________________ >>> Wikitech-l mailing list -- [email protected] >>> To unsubscribe send an email to [email protected] >>> >>> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/ >>> >> _______________________________________________ >> Wikitech-l mailing list -- [email protected] >> To unsubscribe send an email to [email protected] >> >> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/ > > _______________________________________________ > Wikitech-l mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/ -- Dmitry Brant https://dmitrybrant.com
_______________________________________________ Wikitech-l mailing list -- [email protected] To unsubscribe send an email to [email protected] https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
