From 2c13f4c5d9572f5f4ae7f9ee04cdc21fa239ae0f Mon Sep 17 00:00:00 2001 From: NightStar Date: Tue, 28 Jul 2026 19:14:52 +0800 Subject: [PATCH] docs: remove webui-related rules from AGENTS.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The cross-domain guard and release branch naming patterns referenced cmd/webui/ which doesn't exist in this repo — they were copied from another project template. --- AGENTS.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 6f78bcc..8d7f539 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -3,6 +3,5 @@ ## Safety Rules - **Branch safety**: If the current branch is NOT a dev branch (name does NOT contain `feat`, `refactor`, `docs`, `fix`), do NOT commit directly — warn the user first. - **Commit SOP**: Before every `git commit`, run `git branch --show-current`. If the branch is not a dev branch, ask the user for a branch name, create it, and commit there. -- **Branch naming**: Dev branches must contain `feat`, `refactor`, `docs`, or `fix`. Release branches follow `release/[webui|core]-[fix|refactor]/` (e.g. `release/webui-refactor/glassmorphism-theme`). -- **Cross-domain guard**: If `cmd/webui/` does NOT exist, warn before modifying `cmd/webui/` files (they belong in the other repo). If `cmd/webui/` exists, warn before modifying `internal/` files (they belong in the core repo). +- **Branch naming**: Dev branches must contain `feat`, `refactor`, `docs`, or `fix`. - **CHANGELOG**: Core changes → `docs/CHANGELOG.md` only. Higher versions on TOP, lower versions below.