From 5ebcc8b7a465c8018a13015c95317fe3ddf12c1b Mon Sep 17 00:00:00 2001 From: Lukasz Boryn Date: Wed, 23 Sep 2026 14:38:32 +0200 Subject: [PATCH] docs(readme): document commit-msg-check and .commit-lint.toml Nothing explained the validator, the hook install, or how to extend the type set for readers who don't open the skill files directly. Claude-Session: https://claude.ai/code/session_01VZH57yueT8apHdFXffmffE --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 51f6e6d..d0e98d7 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,15 @@ except **sound**, which only reads — see `OKF/decisions/019`. (investigator / builder / reviewer) without the agent-type error; octobot defaults (`jj diff` review, `commit-atomic-jj` commit). - **commit-atomic-jj** — atomic-commit discipline: `jj diff` → split → semantic - message; docs / docstrings / READMEs ship in the same change. + message; docs / docstrings / READMEs ship in the same change. Message + structure (1-3 blank-line-separated blocks, `type(scope): phrase[; + starts|extends|ends REF]`) is checked by `scripts/commit-msg-check` — + mandatory pre-`jj describe` step (jj has no hook mechanism), or a real + `git commit-msg` hook via `--install-hook` in plain git repos. Works in + any repo, not just octobot — resolve the script from this skill's own + base directory, not the target repo's cwd. Extend the closed `type` + set per repo with an optional `.commit-lint.toml` (`extra_types = + [...]`) at that repo's root; no file needed for the default set. ### engineering - **sieve** — Socratic Real / Good / Minimal gate; burden on *keeping*, not