]> git.99rst.org Git - openwrt-packages.git/commit
ci: add LLM review rules
authorJosef Schlehofer <redacted>
Tue, 28 Jul 2026 06:28:02 +0000 (08:28 +0200)
committerJosef Schlehofer <redacted>
Tue, 28 Jul 2026 21:11:53 +0000 (23:11 +0200)
commit774ec304f73e7554592805d946abac09852fad8e
tree53ccd34d183852ae84ee80027a2f02157e45f060
parent7933a6fe8e85ea0bd9bfe33126e0858962eb5128
ci: add LLM review rules

Add `.github/llm-review-rules.md` to define project-specific patterns
and guidelines for the LLM review bot, alongside the equivalents in
openwrt/openwrt and openwrt/luci.

The rules cover what the review routine cannot infer from the diff
alone: quilt-managed patch refresh, the generic version check and the
test.sh / test-version.sh overrides, procd init scripts, conffiles
layout, source and mirror macro preferences, and Makefile indentation
per block type.

They also set the review posture. Formatting that changes what gets
built is treated as a defect, while cosmetic style is not worth
blocking a merge over; findings the formality bot already posts are
not repeated; and CI results are a reference rather than a gate.
Patches only need to be upstream-ready when they are candidates for
upstream, since many here are OpenWrt-specific hacks with nowhere to
go. Stable branches may carry a minor LTS update that has no
counterpart on master, so not every stable-branch PR is a cherry-pick.

Signed-off-by: Josef Schlehofer <redacted>
Co-Authored-By: Claude Opus 5 <redacted>
.github/llm-review-rules.md [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT