Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

T15 Add cog.toml commit grammar

Question

lefthook’s commit-msg runs cog verify -f {1}, but there is no cog.toml, so cocogitto enforces its defaults, not an argued grammar. The standard (ADR 14) fixes the grammar in config: conventional types, capitalised subject, 72-char length, the same structured history that feeds git-cliff’s changelog (ADR-0012).

Exit predicate

cog.toml present declaring the conventional types, capitalised subject, and 72-char cap, matched to cerebro’s actual commit style (a few sample commits show it already leans conventional). A message that can’t feed a changelog is rejected. No change to the git-cliff changelog pipeline itself.

Resolution

To be recorded when the ticket closes.