docs(rules): forbid unrequested branch and worktree changes globally
CI / CI configuration security checks (push) Successful in 21s
CI / PowerShell tests on Ubuntu (push) Failing after 22s
CI / Capabilities and shell quality (push) Successful in 35s
CI / Python tests and compilation (push) Successful in 51s
CI / QMD unit tests (push) Successful in 5s
CI / Build and inspect generated packages (push) Successful in 13s
CI / Installed client configuration smoke tests (push) Successful in 42s
CI / Bash integration and installation guards (push) Successful in 1m18s

Always-loaded general rules now forbid creating or switching branches or
worktrees without an explicit request, and route commit and push requests to
the current branch unless another branch is named.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
fraujulianandClaude Opus 5.5 committed 2026-11-13 17:12:52 +01:00
1 parent 5b9884c832
commit 1d166a62cb
2 files changed
+3

No files matched your search

+1
View File
@@ -100,6 +100,7 @@ Examples of valid commit messages:
* Ignore skill, plugin, or tool defaults that suggest a new branch or worktree.
* Never delete branches unless explicitly requested.
* Never rename branches unless explicitly requested.
* Commit on the current branch unless the user names another branch.
* Push the current branch to its upstream unless the user names another target.
* Never assume the target branch for a merge or rebase.
* Preserve the repository's existing branch naming convention.