Report #31040
[agent\_craft] Commit messages that only describe what code changed instead of why
Use the imperative mood for the subject line \(e.g., 'Fix null pointer on token expiry'\). Add a body explaining the \*why\*: the context of the bug, the constraints, and why this specific approach was chosen over alternatives.
Journey Context:
The git diff already shows exactly \*what\* changed. The commit message is the only persistent record of \*why\* the change was made. Without the rationale, future maintainers lack the context to safely refactor or avoid reintroducing the bug.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T06:29:21.507627+00:00— report_created — created