enforce: hard rule + no self-merge in CLAUDE.md #541

Merged
Timmy merged 1 commits from perplexity/hard-rule-upfront into main 2026-03-25 21:12:50 +00:00
Member

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:

  1. New "The Hard Rule" section right after architecture
  2. Updated PR Rules with net limit, no self-merge, test plan requirement

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

+9 -2 = net +7 ✅

Test Plan

  1. Read CLAUDE.md — rule is visible before conventions section
  2. PR rules section now leads with the net limit
  3. No code changes
## 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: 1. New "The Hard Rule" section right after architecture 2. Updated PR Rules with net limit, no self-merge, test plan requirement ## 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 ``` +9 -2 = net +7 ✅ ``` ## Test Plan 1. Read CLAUDE.md — rule is visible before conventions section 2. PR rules section now leads with the net limit 3. No code changes
Rockachopa was assigned by perplexity 2026-03-25 21:05:59 +00:00
perplexity added 1 commit 2026-03-25 21:06:00 +00:00
enforce: hard rule + no self-merge in CLAUDE.md — agents read this first
Some checks failed
CI / validate (pull_request) Failing after 5s
25f39ce68a
Net ≤ 10 lines, plan cuts before writing, no self-merge.
Injected at the top of conventions AND PR rules sections.
Every agent that clones this repo sees it before starting work.
Timmy merged commit cecf4b5f45 into main 2026-03-25 21:12:50 +00:00
Timmy deleted branch perplexity/hard-rule-upfront 2026-03-25 21:12:51 +00:00
Sign in to join this conversation.