treewide: adopt scoped commits for commit message convention
commit
addb513treewide: adopt scoped commits for commit message convention
Replace Conventional Commit types in allowed_types with subsystem/area
scope names, matching scopedcommits.com. committed has no native
scoped-commits style, so the type slot is repurposed to hold the scope
value directly. Drop allowed_scopes so the paren slot is free for
ticket numbers instead of a second enum.
Assisted-by: Claude:claude-sonnet-5
Reviews
No reviews of this commit yet — record a verdict below.
Start a review
.config/committed.toml
@@ -1,3 +1,6 @@
+# Scoped Commits (scopedcommits.com): "<scope>: <description>".
+# `committed` has no native scoped-commits style, so `allowed_types` here
+# holds scope names, not Conventional Commit types.
subject_length = 90
subject_capitalized = false
subject_not_punctuated = true
@@ -6,19 +9,21 @@
line_length = 230
style = "conventional"
allowed_types = [
- "fix",
- "feat",
- "chore",
+ "anchor",
+ "effect",
+ "gate",
+ "meta-ref",
+ "model",
+ "query",
+ "receive",
+ "roots",
+ "sync",
"docs",
- "style",
- "refactor",
- "revert",
- "perf",
- "test",
-]
-allowed_scopes = [
+ "spec",
"checks",
"release",
+ "treewide",
+ "multi",
]
merge_commit = false
no_fixup = false