Commit graph

2 commits

Author SHA1 Message Date
ee02437e3d Add a commit-msg hook for this project's attribution form
card-games is published, so its commit messages are permanent public
record.  The new hook refuses a session-link trailer and a
Co-Authored-By trailer naming Claude or anthropic.com, and checks that
any Assisted-by trailer reads NAME (for PERSON; MODEL).  A message with
no Assisted-by line passes: attribution stays the author's call.

* hooks/commit-msg: New hook.
* hooks/applypatch-msg: New hook; runs commit-msg for git am.
* test/commit-msg-tests.el: New ERT tests that drive the sh hook.
* Makefile (GITHOOKS): New variable.
(hooks): Install all three hooks.
(test-hooks): New target.
(check): Run it.

Assisted-by: Mentat (for Corwin; claude-opus-5-5)
2026-10-05 19:45:04 -05:00
69a4de7538 doc: generate README.md from README.org (Emacs batch ox-md)
Add build.el + pre-commit hook so README.org stays the source and
README.md is regenerated for GitHub/MELPA.  Refresh README (screenshots,
Crapette, use-package, new customs).  Makefile: readme/hooks/info-emacs
targets; ship README.md.
2026-07-01 14:06:02 -05:00