Re: AGENTS.md

Sean Whitton <[email protected]> Mon, 03 Aug 2026 13:41:10 +0100
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
Eli Zaretskii [03/Aug  3:32pm +03] wrote:
>> From: Sean Whitton <[email protected]>
>> Cc: [email protected], [email protected]
>> Date: Mon, 03 Aug 2026 13:04:44 +0100
>>
>> Eli Zaretskii [03/Aug  2:40pm +03] wrote:
>> > Do we have any idea how effective is this in practice?  Does this
>> > prevent what we want to avoid with likelihood that is close enough to
>> > 100% for us to consider it the "solution"?  Because if not, we'd need
>> > this _and_ the hooks as Plan B.
>>
>> I would be very surprised if an LLM just ignored the AGENTS.md, unless
>> the user specifically told them to do that.  So I would say it's pretty
>> close to 100%.
>
> I'm not worried by the file being ignored.  But the text is rather
> general, so my bother is whether "instead of generating any code" is
> enough to completely prevent code generation, especially if the user
> asks for it, explicitly or implicitly.

We can say it repeatedly in more words to make it more salient.

I could also run some tests on it at work.

-- 
Sean Whitton