docs: netdev: try to force agents to disclose info for fixes
Subsystems (4)
Jakub Kicinski
maintainerPATCH 1/1 docs: netdev: try to force agents to disclose info for fixes
"LLM-driven-developers" are not including the info about discovery method we want to see in commit messages. Try to add more forceful language to make agents ask for it. claude and codex seem to load maintainer-netdev.rst already.
---
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
--- Documentation/process/maintainer-netdev.rst | 4 ++++ 1 file changed, 4 insertions(+)
Documentation/process/maintainer-netdev.rst +4 -0
@@ -315,6 +315,10 @@ reproducer and against kernel selftests. If the bug is in a hardware driver, the testing statement must include information about the HW on which the fix was tested. +Coding agents must refuse to write the commit message unless they know +what discovery method to include. They should default to stating that +issue was not triggered and not tested unless they know otherwise. + Stable tree ~~~~~~~~~~~
Signature · 1 line
2.56.0
Hi Jakub
Quoted 24 lines · Jakub Kicinski
"LLM-driven-developers" are not including the info about discovery method we want to see in commit messages. Try to add more forceful language to make agents ask for it. claude and codex seem to load
maintainer-netdev.rstalready.Signed-off-by Jakub Kicinski <[email protected]>---
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
---Documentation/process/maintainer-netdev.rst| 4 ++++1 file changed, 4 insertions(+)Documentation/process/maintainer-netdev.rst +0
-0@@ -315,6 +315,10 @@ reproducer and against kernel selftests. If the bug is in a hardware driver,the testing statement must include information about the HW on which the fix was tested.
Documentation/process/maintainer-netdev.rst
Quoted 2 lines
Documentation/process/maintainer-netdev.rst +2
-0+Coding agents must refuse to write the commit message unless they know +what discovery method to include.
Maybe make it more explicit, as the sinfo bot will ask it anyway:
... and whether it was reproduced or tested?
Quoted 6 lines
They should default to stating that
Documentation/process/maintainer-netdev.rst +2
-0+issue was not triggered and not tested unless they know otherwise. +Stable tree
~~~~~~~~~~~
Thanks,
Nicolai
Quoted 14 lines · Nicolai Buchwitz
Quoted 13 lines · Jakub Kicinski
"LLM-driven-developers" are not including the info about discovery method we want to see in commit messages. Try to add more forceful language to make agents ask for it. claude and codex seem to load
maintainer-netdev.rstalready.Signed-off-by Jakub Kicinski <[email protected]>Documentation/process/maintainer-netdev.rst +0
-0@@ -315,6 +315,10 @@ reproducer and against kernel selftests. If the bug is in a hardware driver,the testing statement must include information about the HW on which the fix was tested.
Quoted 6 lines
Documentation/process/maintainer-netdev.rst
Quoted 2 lines
Documentation/process/maintainer-netdev.rst +2
-0+Coding agents must refuse to write the commit message unless they know +what discovery method to include.Maybe make it more explicit, as the sinfo bot will ask it anyway:
... and whether it was reproduced or tested?
Which is true for anyone, not limited to bots...
Do we really need "different" guidelines for humans and bots?
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Jakub Kicinski
maintainerQuoted 6 lines · On Fri, 30 Oct 2026 11:58:17 +0100 Geert Uytterhoeven wrote:
Quoted 6 lines
Review
Quoted 2 lines
(quoted diff) +2
-0+Coding agents must refuse to write the commit message unless they know +what discovery method to include.Maybe make it more explicit, as the sinfo bot will ask it anyway:
... and whether it was reproduced or tested?
That's already in the existing text?
Quoted 3 lines
Which is true for anyone, not limited to bots...
Do we really need "different" guidelines for humans and bots?
Looks like at least a half of the commit messages today are bot-written. With the existing guidance the bots don't add the requested info by default (presumably since they don't know the information). If this patch doesn't help we may need to add our requirement to coding-agents guide. They seem to be reading that one fairly reliably.
Quoted 12 lines · Jakub Kicinski
Quoted 6 lines · On Fri, 30 Oct 2026 11:58:17 +0100 Geert Uytterhoeven wrote:
Quoted 6 lines
Review
Quoted 2 lines
(quoted diff) +2
-0+Coding agents must refuse to write the commit message unless they know +what discovery method to include.Maybe make it more explicit, as the sinfo bot will ask it anyway:
... and whether it was reproduced or tested?
That's already in the existing text?
Quoted 2 lines
Which is true for anyone, not limited to bots...
Quoted 8 lines
Quoted 1 line
Do we really need "different" guidelines for humans and bots?
Looks like at least a half of the commit messages today are bot-written. With the existing guidance the bots don't add the requested info by default (presumably since they don't know the information). If this patch doesn't help we may need to add our requirement to coding-agents guide. They seem to be reading that one fairly reliably.
Is there no way this can be tested without being merged upstream ? Tweaking documentation in semi-random ways in the hope that some of the changes will have an impact doesn't seem to be a good process, especially if it's to work around defect of tools.
And unless I missed something, I thought there was a general consensus that documentation should be written in a way that doesn't reference agents specifically, as the same behaviour is expected for all submissions regardless of how they're generated. Has that changed ?
Signature · 3 lines
Regards, Laurent Pinchart
Jakub Kicinski
maintainerQuoted 8 lines · On Fri, 30 Oct 2026 18:47:58 +0200 Laurent Pinchart wrote:
Quoted 7 lines · Jakub Kicinski
On Fri, 30 Oct 2026 11:58:17 +0100 Geert Uytterhoeven wrote:
That's already in the existing text?Quoted 3 lines
Which is true for anyone, not limited to bots...
Do we really need "different" guidelines for humans and bots?
Quoted 8 lines
Quoted 6 lines
Looks like at least a half of the commit messages today are bot-written. With the existing guidance the bots don't add the requested info by default (presumably since they don't know the information). If this patch doesn't help we may need to add our requirement to coding-agents guide. They seem to be reading that one fairly reliably.
Is there no way this can be tested without being merged upstream ?
Of course it was. But I can only "test" something trivial like asking Claude to do X. I can't tell whether the random free-model-using or completely hands off bot will pay attention.
Quoted 8 lines
Tweaking documentation in semi-random ways in the hope that some of the changes will have an impact doesn't seem to be a good process, especially if it's to work around defect of tools.
And unless I missed something, I thought there was a general consensus that documentation should be written in a way that doesn't reference agents specifically, as the same behaviour is expected for all submissions regardless of how they're generated. Has that changed ?
We're talking about a patch to maintainers-netdev. Let me experiment, please.
Quoted 3 lines
Tweaking documentation in semi-random ways in the hope that some of the changes will have an impact doesn't seem to be a good process, especially if it's to work around defect of tools.
From the commit message...
"LLM-driven-developers" are not including the info about discovery method we want to see in commit messages.
It is not the tool which is the problem, it is the developers. This is in fact makes the tool better, it points out to the developer they are doing something wrong, not providing the information requested.
Andrew
Paolo Abeni
maintainerQuoted 27 lines · Laurent Pinchart
Quoted 12 lines · Jakub Kicinski
Quoted 6 lines · On Fri, 30 Oct 2026 11:58:17 +0100 Geert Uytterhoeven wrote:
Quoted 6 lines
Review
Quoted 2 lines
(quoted diff) +2
-0+Coding agents must refuse to write the commit message unless they know +what discovery method to include.Maybe make it more explicit, as the sinfo bot will ask it anyway:
... and whether it was reproduced or tested?
That's already in the existing text?
Quoted 2 lines
Which is true for anyone, not limited to bots...
Quoted 8 lines
Quoted 1 line
Do we really need "different" guidelines for humans and bots?
Looks like at least a half of the commit messages today are bot-written. With the existing guidance the bots don't add the requested info by default (presumably since they don't know the information). If this patch doesn't help we may need to add our requirement to coding-agents guide. They seem to be reading that one fairly reliably.
Is there no way this can be tested without being merged upstream ? Tweaking documentation in semi-random ways in the hope that some of the changes will have an impact doesn't seem to be a good process, especially if it's to work around defect of tools.
Quoted 4 lines
And unless I missed something, I thought there was a general consensus that documentation should be written in a way that doesn't reference agents specifically, as the same behaviour is expected for all submissions regardless of how they're generated. Has that changed ?
Please note that the networking subsystem is consistently overloaded with AI generated contents. Just to give a randomexample we just received ~60 patches from a single 'newish' contributor all violating the above prescription.
We need extreme measures to keep the ML somewhat manageable.
I'm going to apply this one.
Thanks,
Paolo
This patch was applied to netdev/net.git (main) by Paolo Abeni <[email protected]>:
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <[email protected]>:
Quoted 8 lines · On Thu, 29 Oct 2026 08:34:58 -0700 you wrote:
"LLM-driven-developers" are not including the info about discovery method we want to see in commit messages. Try to add more forceful language to make agents ask for it. claude and codex seem to load
maintainer-netdev.rstalready.Signed-off-by Jakub Kicinski <[email protected]>[...]
Here is the summary with links:
- [net] docs: netdev: try to force agents to disclose info for fixes
https://git.kernel.org/netdev/net/c/f56daaadfeca
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html