Repository navigation
chore: low-friction commitlint for agent commits - #71
Merged
Merged
Conversation
ryanleecode
force-pushed
the
chore/commitlint-low-friction
branch
from
October 8, 2026 22:01
1eaf362 to
eb5d752
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-decided low-friction commitlint policy to root
commitlint.config.ts. Commitlint change only.Why: the error-level cosmetic rules fail whole commits for things with zero downstream impact. Trailing periods (
subject/header/body-full-stop) and an unguessablescope-enumhard-failed otherwise-fine agent commits, andtype-matches-diff-shapeis a staged-diff heuristic that guessed wrong and blocked. Releases in these repos run on changesets (.changeset/*.md), not commit messages, so none of these rules gate correctness or versioning.Changes:
subject-full-stop,header-full-stop,body-full-stop-> offscope-enum-> off (SCOPES enum deleted);scope-case-> warn (kebab-case)type-matches-diff-shapedeleted along with its plugin machinery (stagedFiles(),ALLOWED_BY_SHAPE, path matchers,node:child_processimport)body-leading-blank,footer-leading-blank-> warnno-ai-coauthors,type-empty,type-case(lower-case),type-enum(existing list verbatim),subject-emptyVerified:
printf 'feat: add thing.' | pnpm exec commitlintexits 0; unguessable scope passes; AI-coauthor and out-of-list type still block.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.