[AGENTS.md] Refine commit message guidance

Root cause: the guide required descriptive commit messages,
but it did not encode the preferred body width or the
preference to skip irrelevant testing boilerplate.

Update AGENTS.md to recommend wrapping commit message
bodies to about 70 columns and to mention testing only
when it was actually performed or otherwise relevant.

Assisted-by: OpenAI Codex
This commit is contained in:
Behdad Esfahbod committed 2026-03-10 02:16:36 -03:00
1 parent 248dd7e56e
commit a87b8897e0
1 file changed
+2 -1
+2 -1
View File
@@ -91,7 +91,8 @@ For API work:
## Commit guidance
- Use descriptive commit messages with consistent bracketed subsystem prefixes such as `[subset]`, `[raster]`, `[util]`, or `[meson]`.
- Explain root cause, fix, and testing in the commit body.
- Wrap commit message bodies to about 70 columns.
- Explain root cause, fix, and testing in the commit body when testing was actually performed or is relevant.
- When relevant, link issues or PRs with trailers such as `Fixes:`.
- Always include an `Assisted-by:` trailer on commits you write through the agent.