enforce: hard rule + no self-merge in CLAUDE.md #541
Reference in New Issue
Block a user
Delete Branch "perplexity/hard-rule-upfront"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Injects the 10-line net limit and no-self-merge rule into CLAUDE.md — the file agents read BEFORE they start work.
Added to two sections:
Why
PRs #536, #538, #539 were all merged in violation (+232, +126, +124 net). Two were self-merged. The agents never saw the rule because it only existed in CONTRIBUTING.md, which they did not read. CLAUDE.md is what Claude (and other agents) read automatically when they clone the repo.
Net Diff
Test Plan