You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reduce the PR-body contract to its three safety checks #5049
pr-body-contract.sh plus tests is ~8.1k lines with about 40 rules, mostly style (no tables, sentence counts, section lengths). Agents spend loops rewording PR bodies to satisfy it.
What
Keep three checks and delete the rest:
the leading AI-disclosure line;
exactly one issue relationship;
the non-public hostname / sensitive-detail check (a real privacy control that secret scanning does not cover).
The PR template and the existing Conventional Commit title rule cover the rest.
What is lost
Style uniformity of PR bodies only.
First step
Split the rules into a safety group and a style group, then delete the style group and its tests.
Activity