<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/AGENTS.md, branch master</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>docs: add AGENTS.md as a symlink to README</title>
<updated>2026-10-14T17:45:46+00:00</updated>
<author>
<name>Sasha Levin</name>
<email>sashal@kernel.org</email>
</author>
<published>2026-09-24T13:49:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=90d9f76ccb72ec024ef476b4229f3dd1957d7b26'/>
<id>90d9f76ccb72ec024ef476b4229f3dd1957d7b26</id>
<content type='text'>
Most coding agents have standardized on AGENTS.md as the file they load
automatically from the root of a repository. README already tells AI
tools to read and follow Documentation/process/coding-assistants.rst,
but that only helps if the agent decides to read README before acting,
which in practice it often doesn't.

Add a top-level AGENTS.md symlink to README, so agents load it on their
own and follow its pointer to the AI guidelines. This keeps a single
entry point for every reader, and avoids adding a separate copy of the
policy that could drift from the RST.

As an example, two different agents were asked to "create a new commit
renaming the release (in the Makefile) to AI Test".

Without AGENTS.md, the first agent added a Signed-off-by for the user on
its own. It should never have done that: only the human submitter can
certify the Developer Certificate of Origin, after reviewing the change.
It also used its own attribution tag instead of Assisted-by:

&gt; Makefile: rename release to AI Test
&gt;
&gt; Co-Authored-By: &lt;model name&gt; &lt;noreply@...&gt;
&gt; Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;

The second agent added no attribution at all:

&gt; Rename release to AI Test

With AGENTS.md in place, neither agent added a Signed-off-by, and both
used the Assisted-by tag. README itself mentions neither tag, so both
agents followed its pointer to coding-assistants.rst:

&gt; Makefile: rename release to "AI Test"
&gt;
&gt; Change the release name from "Baby Opossum Posse" to "AI Test".
&gt;
&gt; Assisted-by: LLM

&gt; Makefile: rename release to AI Test
&gt;
&gt; Assisted-by: LLM

Both agents also followed the kernel's general guidelines more closely.
The second agent's subject gained the "subsystem: summary phrase" form
that submitting-patches.rst asks for, instead of a bare "Rename release
to AI Test", and the first agent added a body describing the change.

Assisted-by: LLM
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
Acked-by: Kees Cook &lt;kees@kernel.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Message-ID: &lt;20260924134945.3095661-1-sashal@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Most coding agents have standardized on AGENTS.md as the file they load
automatically from the root of a repository. README already tells AI
tools to read and follow Documentation/process/coding-assistants.rst,
but that only helps if the agent decides to read README before acting,
which in practice it often doesn't.

Add a top-level AGENTS.md symlink to README, so agents load it on their
own and follow its pointer to the AI guidelines. This keeps a single
entry point for every reader, and avoids adding a separate copy of the
policy that could drift from the RST.

As an example, two different agents were asked to "create a new commit
renaming the release (in the Makefile) to AI Test".

Without AGENTS.md, the first agent added a Signed-off-by for the user on
its own. It should never have done that: only the human submitter can
certify the Developer Certificate of Origin, after reviewing the change.
It also used its own attribution tag instead of Assisted-by:

&gt; Makefile: rename release to AI Test
&gt;
&gt; Co-Authored-By: &lt;model name&gt; &lt;noreply@...&gt;
&gt; Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;

The second agent added no attribution at all:

&gt; Rename release to AI Test

With AGENTS.md in place, neither agent added a Signed-off-by, and both
used the Assisted-by tag. README itself mentions neither tag, so both
agents followed its pointer to coding-assistants.rst:

&gt; Makefile: rename release to "AI Test"
&gt;
&gt; Change the release name from "Baby Opossum Posse" to "AI Test".
&gt;
&gt; Assisted-by: LLM

&gt; Makefile: rename release to AI Test
&gt;
&gt; Assisted-by: LLM

Both agents also followed the kernel's general guidelines more closely.
The second agent's subject gained the "subsystem: summary phrase" form
that submitting-patches.rst asks for, instead of a bare "Rename release
to AI Test", and the first agent added a body describing the change.

Assisted-by: LLM
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
Acked-by: Kees Cook &lt;kees@kernel.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Message-ID: &lt;20260924134945.3095661-1-sashal@kernel.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
