[docs] Add never-amend rule to AGENTS.md

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Behdad EsfahbodandClaude Opus 4.6 committed 2026-03-29 12:57:53 -06:00
1 parent 58f84001c3
commit f4bf4724f1
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.
- Never amend commits unless explicitly asked. Always create new commits.
- Use descriptive commit messages with consistent bracketed subsystem prefixes such as `[subset]`, `[raster]`, `[util]`, or `[meson]`.
- Wrap commit message bodies to about 70 columns.
- For multi-line commit messages, write the message from a file or editor-backed input. Do not pass escaped `\n` sequences via shell `-m` arguments.