* Make commit and PR messages argue why, not inventory what
Every AI-written message in this repo had the same two faults: it
re-listed each edit the diff already shows, and it signed off with
attribution nobody asked for. Both are now banned. Messages record the
motivation, the alternative dropped and the cost that killed it, and one
grep-able anchor to the surface touched — the per-file detail that used
to bloat the body belongs in the diff and the prototype PLAN.md blocks.
The guardrail against this sliding into vague prose is that anchor: it is
mandatory, so bisect and blame stay meaningful.
Lands the convention in CLAUDE.md, a motivation-first PR template, and
includeCoAuthoredBy=false as backup — though the CLAUDE.md rule is the
real control, since a session-injected trailer is suppressed only by
instruction the model reads, not by a setting.
* Retire the Conventional Commits mandate
The prefix ritual (feat:/fix:/docs:) bought us nothing here and grated on
the one person writing the commits. §7 now asks only for a plain
imperative subject and hands message style to CLAUDE.md, where the real
rule lives — argue why, not what, and no AI attribution. Dropping the
mandate rather than making it optional keeps a single source of truth
instead of two half-rules.
Changes PROJECT-INVARIANTS §7 and its change log.
---------
Co-authored-by: Claude <noreply@anthropic.com>
6060 adapters that defer to them. adapters that defer to them.
61616. Cargo is the sole build system. See `docs/PROJECT-INVARIANTS.md` §1.6. Cargo is the sole build system. See `docs/PROJECT-INVARIANTS.md` §1.
62627. Agents must not modify `docs/SPEC.md` or `docs/PROJECT-INVARIANTS.md` without approval.7. Agents must not modify `docs/SPEC.md` or `docs/PROJECT-INVARIANTS.md` without approval.
280280- **VCS:** jj (Jujutsu) — modern DVCS with git compatibility.- **VCS:** jj (Jujutsu) — modern DVCS with git compatibility.
281281- **No merge commits:** Use `jj squash` or `jj rebase` for linear history.- **No merge commits:** Use `jj squash` or `jj rebase` for linear history.
282+- **Commit messages:** Plain imperative subject naming the decision or its effect; no required type prefix. Messages argue *why*, not *what* — see CLAUDE.md "Writing commits and PRs". No AI attribution trailers.
283283- **Branch naming:** Not applicable with jj (bookmarks), but if using git: `feature/description`, `fix/description`.- **Branch naming:** Not applicable with jj (bookmarks), but if using git: `feature/description`, `fix/description`.