Re: [PATCH 1/2] docs: coding-assistants: ask for short changelogs and a cover letter

From: Mark Brown

Date: Mon Nov 30 2026 - 10:01:54 EST


On Thu, Nov 26, 2026 at 12:19:24PM -0500, Sasha Levin wrote:
> Commit messages written by AI coding assistants are too long.
> Maintainers keep asking for them to be cut down [1][2][3][4]: they read
> like a copy of the assistant's analysis and bury what a reader needs.

> +Cover letter
> +============
> +
> +Every patch or series prepared with an AI assistant **MUST** come with a cover
> +letter, the "[PATCH 0/N]" mail that the patches are sent as replies to. This
> +includes a single patch; tool use that
> +Documentation/process/generated-content.rst puts out of scope does not count.
> +The cover letter holds the evidence that reviewers need to check the work. It
> +is posted with the patches and stays in the list archive.

Just echoing something Lorenzo said, please don't add this - if it's
just a single patch anything that needs to be said should be either in
the actual commit log or for administrative stuff that shouldn't make it
in there after the ---.

> +The cover letter **MUST** contain the following items, in this order. Do not
> +drop an item: if there is nothing to say, write that. For a series, say which
> +patch each item is about.
> +
> +1. The commit ID the work was done on, the architecture and configuration, and
> + everything that was added to that tree to trigger or observe the problem:
> + other patches, out-of-tree modules, fault injection, debugging code.

This can go at the bottom of the mail like b4 does.

> +2. How the problem was found: a report (give the link), a test, a tool, or
> + reading the code. Name the tools that were used, as
> + Documentation/process/generated-content.rst asks.
> +3. Whether the problem was seen to happen: on the unmodified tree, only with
> + the additions from item 1, or never (found by analysis only).
> +4. The reproducer, or the exact steps that trigger the problem. See below for a
> + bug that is or may be a vulnerability.
> +5. How the change was tested: the commands, and the results without and with
> + the change. Leave out the output of successful builds.
> +6. The complete output that shows the problem. For a runtime failure this is
> + the kernel log from boot up to and including the failure; for a build
> + failure, a failing test or a tool report it is all the output of that
> + command.

I don't desparately want people sending me the full output of an
allmodconfig even if there is an error message somewhere in there, like
people have been saying this is going way too far to the other extreme
and will just annoy everyone.

Attachment: signature.asc
Description: PGP signature