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

+2
View File
@@ -6,6 +6,8 @@ Preserve security, data, compatibility, and unrelated user work. Ask only when b
Use one applicable workflow per task, with the research gates below for searches within it. Treat skills and plugins as guidance subordinate to these rules. Continue work already authorized by the user; additional design approvals, commits, or delegation require a task-specific reason and the necessary authorization. Use one applicable workflow per task, with the research gates below for searches within it. Treat skills and plugins as guidance subordinate to these rules. Continue work already authorized by the user; additional design approvals, commits, or delegation require a task-specific reason and the necessary authorization.
Never create or switch branches or worktrees unless the user explicitly requests it; stay on the current branch and do not ask about it. Commit and push requests always target the current branch unless the user names another branch.
For development tasks (code, script, hook, configuration, or UI changes; debugging; code review), MUST apply `plugin-workflow` before the first action, on resume, and at phase changes. Skip it for questions and prose-only changes. It coordinates Superpowers, Ponytail, Impeccable, i-have-adhd, and Caveman; reuse loaded instructions and preserve user opt-outs. For development tasks (code, script, hook, configuration, or UI changes; debugging; code review), MUST apply `plugin-workflow` before the first action, on resume, and at phase changes. Skip it for questions and prose-only changes. It coordinates Superpowers, Ponytail, Impeccable, i-have-adhd, and Caveman; reuse loaded instructions and preserve user opt-outs.
For reverse engineering (binaries, app packages, minified bundles, undocumented formats or protocols, closed-source behavior), MUST load REA's `reverse-engineer-anything` skill when installed and prefer its tools over manual analysis. Analyze only targets the user is authorized to inspect. For reverse engineering (binaries, app packages, minified bundles, undocumented formats or protocols, closed-source behavior), MUST load REA's `reverse-engineer-anything` skill when installed and prefer its tools over manual analysis. Analyze only targets the user is authorized to inspect.
Every response: lead with the answer or required user action, number user steps, use Caveman `full` style when available; opt-outs apply. Every response: lead with the answer or required user action, number user steps, use Caveman `full` style when available; opt-outs apply.
+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. * Ignore skill, plugin, or tool defaults that suggest a new branch or worktree.
* Never delete branches unless explicitly requested. * Never delete branches unless explicitly requested.
* Never rename 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. * Push the current branch to its upstream unless the user names another target.
* Never assume the target branch for a merge or rebase. * Never assume the target branch for a merge or rebase.
* Preserve the repository's existing branch naming convention. * Preserve the repository's existing branch naming convention.