From b538806d5e903032337774cf1a28c250a2177b9d Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Tue, 10 Feb 2026 14:24:07 +0900 Subject: [PATCH] docs(agents): add merge commit policy to PR rules section --- AGENTS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 98b4ef7f5..d42794a4a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -27,12 +27,14 @@ feature branches (your work) | **ALL PRs → `dev`** | Every pull request MUST target the `dev` branch | | **NEVER PR → `master`** | PRs to `master` are **automatically rejected** by CI | | **"Create a PR" = target `dev`** | When asked to create a new PR, it ALWAYS means targeting `dev` | +| **Merge commit ONLY** | Squash merge is **disabled** in this repo. Always use merge commit when merging PRs. | ### Why This Matters - `master` = production/published npm package - `dev` = integration branch where features are merged and tested - Feature branches → `dev` → (after testing) → `master` +- Squash merge is disabled at the repository level — attempting it will fail **If you create a PR targeting `master`, it WILL be rejected. No exceptions.**