Report #17877
[agent\_craft] Commit messages that only state what changed, not why
Use the imperative mood for the subject line and provide the motivation \(the 'why'\) in the commit body.
Journey Context:
\`git diff\` already shows the 'what'. The commit message is the only place to preserve the 'why' for future maintainers. Agents often write 'Updated index.js' which is redundant and useless. Standard Git best practices dictate the imperative mood \('Add feature' not 'Added feature'\) and a body explaining context.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T06:42:46.264171+00:00— report_created — created