Re: [PATCH] agents: add a skill to determine the target tree of a change

From: Geert Uytterhoeven

Date: Wed Nov 25 2026 - 03:58:10 EST


Hi Daniel,

On Wed, 25 Nov 2026 at 07:34, Daniel Ramos <capitain_jack@xxxxxxxxx> wrote:
> From: Daniel Campos Ramos <Capitain_Jack@xxxxxxxxx>
>
> Whether a change goes into the current release during its -rc weeks or
> waits for the next merge window is decided by hand, and being a fix is
> often taken as enough. Linus asked that new development and test cases
> be kept on a separate branch so that they can be merged during the merge
> window, and noted that fixes for subtle bugs that went unnoticed for a
> long time can themselves be buggy.
>
> Add a skill that sends the agent to the parts of 2.Process.rst,
> howto.rst and handling-regressions.rst that describe the cycle, and to
> the maintainer profiles of the changed files, and adds the checks agents
> tend to get wrong: reading where the cycle stands, using the kernel's
> meaning of a regression, keeping fixes for old bugs, new tests, cleanups
> and new development for the next merge window, splitting mixed changes,
> and counting every added line when judging a change sent during the -rc
> weeks. The skill proposes a target; the maintainer decides.
>
> Most of the skill points at existing documents. Keeping new tests on a
> separate branch for the merge window, and counting lines that are not
> built by default, come from Linus's mail and are not in Documentation/
> yet.
>
> Point the bug-fix procedure in coding-assistants.rst at the skill.
>
> Link: https://lore.kernel.org/r/CAHk-=whyUfwzMDMTpih8Xs1MxmhwTCDAc_YwUSZG79vXFMLU=Q@xxxxxxxxxxxxxx
> Link: https://lore.kernel.org/r/CAHk-=whOCnAwXz-FMRdQEDJQ+9b2YXh9M=GHgRay0o4cxSmPVg@xxxxxxxxxxxxxx
> Signed-off-by: Daniel Campos Ramos <Capitain_Jack@xxxxxxxxx>

Thanks for your patch!

> --- /dev/null
> +++ b/agents/skills/target-tree/SKILL.md

[...]

All of this seems to apply to humans, too.
Either this duplicates existing general documentation, or fills in
gaps in general documentation.
So IMHO it does not belong under agents.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

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