diff --git a/AGENTS.md b/AGENTS.md index d92e3d5e4..9cdd52c40 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -94,6 +94,7 @@ For API work: - Before any commit, run the entire test suite with `meson test -C build`. - Exception: simple documentation-only or CI-only changes may be committed without running tests if they do not affect code, build logic, generated outputs, or test inputs. +- Keep each commit focused on a single issue or concern. Do not combine unrelated fixes, API renames, refactors, or behavior changes into one commit unless the user explicitly asks for that. - Never push to the remote repository. The user handles pushing. - Use descriptive commit messages with consistent bracketed subsystem prefixes such as `[subset]`, `[raster]`, `[util]`, or `[meson]`. - Wrap commit message bodies to about 70 columns.