chore: add no-implicit-push rule and StartupWMClass to desktop entry
This commit is contained in:
parent
92b513dd9d
commit
e92e54d6c2
3 changed files with 12 additions and 0 deletions
|
|
@ -108,3 +108,4 @@ All operational rules live in `.claude/rules/`. Every `.md` file in that directo
|
|||
| 17 | `document-imports.md` | Resolve @ imports in CLAUDE.md before acting |
|
||||
| 18 | `relative-units.md` | Use rem/em for layout, px only for icons/borders |
|
||||
| 51 | `theme-integration.md` | All colors via --ctp-* CSS vars, never hardcode |
|
||||
| 52 | `no-implicit-push.md` | Never push unless explicitly asked |
|
||||
|
|
|
|||
10
.claude/rules/52-no-implicit-push.md
Normal file
10
.claude/rules/52-no-implicit-push.md
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# No Implicit Push
|
||||
|
||||
Never push to a remote repository unless the user explicitly asks for it.
|
||||
|
||||
## Rules
|
||||
|
||||
- Commits are local-only by default. Do not follow a commit with `git push`.
|
||||
- Only push when the user says "push", "push it", "push to remote", or similar explicit instruction.
|
||||
- When the user asks to "commit and push" in the same request, both are explicitly authorized.
|
||||
- Creating a PR (via `gh pr create`) implies pushing — that is acceptable.
|
||||
|
|
@ -193,6 +193,7 @@ Type=Application
|
|||
Categories=System;TerminalEmulator;Development;
|
||||
Terminal=false
|
||||
StartupNotify=true
|
||||
StartupWMClass=bterminal
|
||||
EOF
|
||||
info "Desktop entry created"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue