docs(agents): make branch naming identity-neutral (#6772)

This commit is contained in:
GatewayJ
2026-08-28 11:44:30 +08:00
committed by GitHub
parent 1585308f0f
commit 7136062c75
+7 -2
View File
@@ -31,8 +31,13 @@ This file contains repository-wide rules. Use the nearest subdirectory
- An existing clean, isolated task worktree is sufficient. Create another - An existing clean, isolated task worktree is sufficient. Create another
worktree only when the current checkout is shared, dirty with unrelated work, worktree only when the current checkout is shared, dirty with unrelated work,
or belongs to another task. or belongs to another task.
- Never commit from a shared checkout. Use an `overtrue/` feature branch unless - Never commit from a shared checkout.
the user requests another name. - Use a task-specific branch named `<type>/<topic>`, 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. - Check free space before artifact-heavy builds, tests, coverage, or downloads.
Re-check before a broad gate when space is tight. Re-check before a broad gate when space is tight.
- Remove only task-owned temporary/build artifacts. Never delete another task's - Remove only task-owned temporary/build artifacts. Never delete another task's