Skip to content

Commit af9d5a1

Browse files
committed
docs(agents): require wrapped commit bodies
Add an explicit line-wrapping rule to the commit-message guidance in AGENTS.md. Commit subjects should stay short, and body lines should wrap to roughly 72 columns so git log output remains readable in terminals and other plain-text tooling. This makes the quality bar for future commits more concrete instead of leaving wrapping to taste or luck.
1 parent ed3ed0f commit af9d5a1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ All dependency versions live in the root `Cargo.toml` `[workspace.dependencies]`
9696
1. Subject line: concise, imperative, and specific about the user-visible or architectural change.
9797
2. Blank line.
9898
3. Body: short paragraphs or bullets explaining why the change was needed, what changed, and any important constraints, follow-ups, or migrations.
99+
- Wrap commit message text. Keep the subject short, and wrap body lines to roughly 72 columns so `git log` and terminal tools stay readable.
99100
- The body should capture the reasoning that will matter in `git log` six months later, not just restate the diff.
100101
- Call out behavior changes, fallback paths, performance work, or bug triggers explicitly when they motivated the change.
101102
- If validation was important, mention the key checks in the body instead of making reviewers guess.

0 commit comments

Comments
 (0)