From 7136062c75aaaca22dcc1e5d751e2b9220701855 Mon Sep 17 00:00:00 2001 From: GatewayJ <835269233@qq.com> Date: Fri, 28 Aug 2026 11:44:30 +0800 Subject: [PATCH] docs(agents): make branch naming identity-neutral (#6772) --- AGENTS.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 2d9535399..f252c1347 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -31,8 +31,13 @@ This file contains repository-wide rules. Use the nearest subdirectory - An existing clean, isolated task worktree is sufficient. Create another worktree only when the current checkout is shared, dirty with unrelated work, or belongs to another task. -- Never commit from a shared checkout. Use an `overtrue/` feature branch unless - the user requests another name. +- Never commit from a shared checkout. +- Use a task-specific branch named `/`, such as `fix/...`, + `feat/...`, `test/...`, or `docs/...`, unless the user specifies a name. +- Do not include agent, tool, contributor, account, or organization names in + branch names. +- Push to the user-requested remote or the repository's configured push remote. + Do not hard-code or infer a remote from an account name. - Check free space before artifact-heavy builds, tests, coverage, or downloads. Re-check before a broad gate when space is tight. - Remove only task-owned temporary/build artifacts. Never delete another task's