docs: add commit hygiene rules to AGENTS.md

- Double-check git status before any commit
- Delete unused/obsolete files when refactoring

💘 Generated with Crush

Assisted-by: GLM-5 via Crush <crush@charm.land>
This commit is contained in:
Charles N Wyble
2026-02-17 11:45:35 -05:00
parent 0b9ede5f84
commit f15dcda6ff

View File

@@ -322,6 +322,8 @@ git push origin main
- Use exact text matching (whitespace matters)
- Test after every change
- Run full test suite before committing
- **Double-check `git status` before ANY commit** - verify staged files match intent
- **Delete unused/obsolete files** when refactors or feature removals make them irrelevant
- Update documentation when changing behavior
- Follow existing code style
- Use conventional commit messages