[docs] Require single-issue commits in AGENTS.md

Add an explicit commit-guidance rule to keep each commit focused on a
single issue or concern, instead of combining unrelated fixes,
renames, refactors, or behavior changes.

Co-authored-by: OpenAI Codex <codex@openai.com>
This commit is contained in:
Behdad EsfahbodandOpenAI Codex committed 2026-04-03 16:04:14 -06:00
1 parent a4aff49856
commit 63c7d00e75
1 file changed
+1
+1
View File
@@ -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.