Repository navigation
pr-text: fail AI attribution on every ready PR, and in added patch files - #21
Closed
RyanTheTide wants to merge 1 commit into
Closed
RyanTheTide wants to merge 1 commit into
RyanTheTide wants to merge 1 commit into
Conversation
The 2026-12-01 merged-PR audit found 31 PRs merged after the 11-24 ban
with AI attribution in the body, and Assisted-by lines shipped inside
packages/*.patch files (alarm-aurora#495, fedora-aurora#575). Most were
opened before 2026-11-25, where every finding was a warning.
- AI attribution in the title, body, commits or added patch lines now
fails on any ready PR, whatever its age. Tested:/Risk: structure stays
warn-only for PRs opened before the cutoff; drafts still only warn.
- A trailer folded into a sentence ("Fixed. Assisted-by: LLM (X)") is
caught; inline-code quotes still pass.
- Lines a PR adds to *.patch/*.diff files are checked.
- Commits authored before the cutoff are not checked (they cannot be
rewritten without a force push).
Tests: pr-text-test.sh 30/30; the new script fails linux#3374,
mesa#1307 and fedora-aurora#575 and passes mesa#937 and aura#391.
Signed-off-by: Ryan Murray <[email protected]>
There was a problem hiding this comment.
Verdict: MERGE at 16a5559
No runtime change; meets the 12-01 bar (better than before, cannot break a Mac).
Checked: ran pr-text-test.sh at this head: all checks ok (count >= 30 guard). Stricter rule (attribution fails on every ready PR) checked against the backlog: 0 of 263 open ready linux PRs carry an attribution trailer in their commits, so no merge is newly blocked.
Blockers: none (CI to finish green).
Contributor
Author
|
Replaced by #22: same tree, reworded commit message (it quoted an example trailer, so the new check failed on itself). No force push. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What: close the gaps that let AI attribution merge after the 11-24 ban (merged-PR audit 2026-12-01, section 6): attribution in the title, body, the author's commits or lines added to
*.patch/*.difffiles now fails on every ready PR, whatever its age.Tested:/Risk:structure stays warn-only for PRs opened before 2026-11-25; drafts still only warn. Also catches a trailer folded into a sentence. Commits authored before the cutoff are skipped (no force push, so they can't be fixed).Tested: no runtime change (CI only).
bash .github/aurora/pr-text-test.sh: 30/30 ok (8 new). Ran the new script on real PR text: fails linux#3374 and mesa#1307 (bodies) and fedora-aurora#575 (wine-sve-guard.patchadded line, via the workflow's jq filter); passes mesa#937 and aura#391 (prose quoting the trailer).Risk: two-way · none (no runtime change). Older open PRs that still carry attribution in their body will go red on their next edit/push; the B1-HYGIENE lane is scrubbing those bodies now.
Not yet:
pr-textisn't a required status on anymainruleset, so a red check still doesn't block a merge. Making it required is an owner call.