]> git.ipfire.org Git - thirdparty/openwrt.git/commit
github: extend LLM review rules with three new categories 23184/head
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 1 May 2026 16:02:22 +0000 (18:02 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 1 May 2026 18:12:18 +0000 (20:12 +0200)
commit0bef7411885e9f6e4d4f4224ec4a94565396010f
tree552532a10911fdc996a16cf199b30ea698be6873
parentaf3cbd4013a2c8c82450e4a4b21a73d28ab4cda2
github: extend LLM review rules with three new categories

Tightened from real bot reviews:

- Patch regeneration: spell out which make ... refresh command
  to recommend for each patch directory class, so the bot stops
  suggesting git format-patch for quilt-managed patches.
- Backports / cherry-picks: a backport's diff should match the
  upstream commit on main verbatim; flag only deviations and
  the missing (cherry picked from commit <sha>) trailer, not
  pre-existing style issues.
- New device support: require Hardware specification, Flash
  instructions, and MAC address layout sections in the commit
  message that introduces a new device. Two reference commits
  (986ca4c887f4a2dcbd79a446) named so the bot can sample the
  expected shape.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Link: https://github.com/openwrt/openwrt/pull/23184
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
.github/llm-review-rules.md