https://gitlab.synchro.net/main/sbbs/-/commit/f65caf0f81181572c918f79f
Modified Files:
src/CLAUDE.md
Log Message:
CLAUDE.md: commit messages are written for a future human
The commit-message guidance in the tree covers style (78-column wrap) and
what to put in a message rather than in a comment, but nothing says who the message is for. Add that: a commit message is read cold, months later, by someone who was not present when the change was made.
The rule that motivated this is the ban on ephemeral local state. Working tree, index, scratch worktrees, a file reverted part-way through, what HEAD happened to be at the time -- none of it exists for the reader and none of it survives the commit, so a sentence like "Both files are therefore back to
HEAD" reads as a stray chat reply. Session narration goes with it: no list
of approaches tried and abandoned, no "as discussed above", no addressing the reader as the person who asked for the change.
Closes with a test to apply before committing -- read the message as though
you had never seen the work happen, and cut any sentence that only makes
sense to someone who did.
Co-Authored-By: Claude Opus 5 (1M context) <
noreply@anthropic.com>
--- SBBSecho 3.37-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)