From 9238eda0bbcc76372de347bfa9ac3e813c732b1e Mon Sep 17 00:00:00 2001 From: Allan Date: Sun, 27 Sep 2026 09:36:21 -0700 Subject: [PATCH] docs: fix version-bump commit counting and dangling Rule 6 references git log --oneline prefixes each line with the hash, so no line starts with feat:/fix: and the version-bump thresholds could never trigger. Use --format=%s. Where the repo has no Rule 6, describe the human sign-off directly instead of pointing at a rule that is not there. Co-Authored-By: Claude Opus 5.5 --- .claude/CLAUDE.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md index 886dd79..84a9bc2 100644 --- a/.claude/CLAUDE.md +++ b/.claude/CLAUDE.md @@ -128,10 +128,11 @@ git push origin v1.2.3 After every merge to `master`, count commits since the last `v*` tag: ```bash -git log $(git describe --tags --abbrev=0)..master --oneline +git log $(git describe --tags --abbrev=0)..master --format='%s' ``` -Count by type: +Count by type (`--format='%s'` prints subjects only; `--oneline` would put the hash first and nothing +would match): - Lines starting with `feat:` → feature count - Lines starting with `fix:` → fix count