From a87b8897e0aca7fe362ddaaa7bff04e7ee6fd69d Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 10 Mar 2026 02:16:36 -0300 Subject: [PATCH] [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 --- AGENTS.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index b5aac5e0c..faa3171fa 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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.