diff options
Diffstat (limited to 'claude-rules')
| -rw-r--r-- | claude-rules/commits.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/claude-rules/commits.md b/claude-rules/commits.md index 3bb6724..a3ec0f2 100644 --- a/claude-rules/commits.md +++ b/claude-rules/commits.md @@ -454,7 +454,8 @@ independent gate. 1. Check author identity: `git log -1 --format='%an <%ae>'` — should be the user. 2. Scan the message for AI-attribution language (including emojis and footers). 3. Review the diff — only intended changes staged; no unrelated files. -4. Run tests and linters (see `verification.md`). +4. Confirm staged files belong in the repo: nothing that the project's policy keeps untracked (the personal-tooling set in gitignore-mode projects), and in repos with a canonical/mirror split, the edit is on the canonical side — a mirror-only edit gets reverted by the next sync. +5. Run tests and linters (see `verification.md`). ## If You Catch Yourself |
