diff --git a/AGENTS.md b/AGENTS.md index 985e189..b8a89d5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -324,6 +324,8 @@ git push origin main - 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 +- **Quote git paths with brackets/parentheses** (e.g., `git add "src/app/[candidate]/**"`) to prevent shell glob/subshell expansion +- **Use non-interactive git rebase** - set `GIT_EDITOR=: GIT_SEQUENCE_EDITOR=:` or pass `--no-edit` to avoid opening editors - Update documentation when changing behavior - Follow existing code style - Use conventional commit messages