Repository navigation
chore: drop cosmetic commitlint rules that fail agent commits - #70
Merged
Merged
Conversation
kiro-systemf
Bot
force-pushed
the
chore/commitlint-low-friction
branch
3 times, most recently
from
October 8, 2026 22:52
aa85f18 to
febc790
Compare
kiro-systemf
Bot
force-pushed
the
chore/commitlint-low-friction
branch
from
October 8, 2026 22:58
febc790 to
25addec
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Applies the org low-friction commitlint policy to this fork's own
commitlint.config.ts. Cosmetic rules no longer fail agent commits; theonly error-level message bars kept are the ones with real downstream impact.
Changes
subject-full-stop,header-full-stop,body-full-stop->[0](off). The reported pain: a trailing period no longer rejects a commit.scope-enum->[0]; the staticSCOPESenum deleted. Scope stays free-form; it has zero release impact here (releases run on changesets, not commit messages).scope-case->[1, 'always', 'kebab-case'](warn, never blocks).body-leading-blank,footer-leading-blank->[1, 'always'](warn).type-matches-diff-shapeand its machinery:stagedFiles(),ALLOWED_BY_SHAPE, theisDoc/isTest/isCI/isLockfile/isTooling/matchesAnypath matchers, and theexecFileSync/node:child_processimport. A diff-shape heuristic that hard-failed agents and protected nothing downstream.Kept at error (real bars)
no-ai-coauthors,type-empty,type-case(lower-case),type-enum(this repo's list, verbatim),subject-empty.subject-case[0], lengths[0],references-empty[1], and the repo's subtree-awareignores+ formatter are unchanged. Therepos/xstate-upstreamreference subtree is untouched.Verification
printf 'feat: add thing.' | commitlintexits 0 (trailing period passes); config loads via--print-config; a bogus type still failstype-enumand an AI co-author still failsno-ai-coauthors.Canonical end-state:
plans/2026-10-08-1730-commitlint-friction/RECOMMENDATION.md§4.