Files
Salon_Assistant/.grok/rules/git-hygiene.md
T
Ty 47327d90d8 Require Git hygiene for all agents in this workspace.
Bind commit/push/PR safety, gitea_vps-only remote ops, and secret
scans in AGENTS.md, with CLAUDE.md and Grok rules so every harness loads them.
2026-07-27 10:04:19 -07:00

18 lines
944 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Git hygiene (Salon_Assistant)
Mandatory. Full rules: repository root `AGENTS.md` → section **Git hygiene (mandatory)**.
Quick binding rules:
- **gitea_vps only** for this products remote Git/PR MCP (`Ty_Tech/Salon_Assistant`). Never `gitea_mcp_for_ty` or localhost Git MCP.
- **No secrets** in commits, messages, PRs, or issues.
- **No `git config`** changes.
- **No force-push to `main`**, no `--no-verify`, no amend of published commits unless the user explicitly orders it.
- **Commit / push / open-or-merge PR only when the user asks.**
- Before commit: `status` + staged diff; stage explicit paths only; scan for credentials.
- Feature work on named branches (`docs/`, `design/`, `chore/`, `fix/`, `feat/`); base PRs on `main`.
- Confirm before destructive Git (hard reset, clean -fd, remote branch delete, history rewrite).
- Subagents inherit these rules.
Detail and checklists: `AGENTS.md`, `CONTRIBUTING.md`, `SECURITY.md`.