From 186b672fdc8f8c976e313cabe1f1a487fee9c077 Mon Sep 17 00:00:00 2001 From: AgentSeal Date: Tue, 14 Apr 2026 09:37:18 -0700 Subject: [PATCH] docs: add external PR authorship rule to CLAUDE.md --- CLAUDE.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 86340890..372df739 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -46,6 +46,9 @@ git push origin main ``` ### Handling external PRs +- NEVER rewrite a contributor's changes on your own branch. Always merge THEIR branch +- Add your improvements as separate commits on top of their branch, not as replacements +- This preserves their authorship in git history so GitHub shows them as a contributor ```bash gh pr checkout # checkout PR locally npx vitest run # test their code