Skip to content

fix(commitlint): align subject-case with conventional-commits standard#187

Merged
0xKT merged 1 commit into
mainfrom
fix/commitlint_subject_case_standard
Jul 22, 2026
Merged

fix(commitlint): align subject-case with conventional-commits standard#187
0xKT merged 1 commit into
mainfrom
fix/commitlint_subject_case_standard

Conversation

@0xKT

@0xKT 0xKT commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Change description

The bespoke subject-case: [2, "always", ["lower-case"]] rule forced
all-lowercase subjects and rejected proper nouns (EverOS, HTTP), so a PR title
like "... with EverOS HTTP backend" passed the pre-merge PR-title check but
failed commit-lint on the squash commit after merge.

This switches subject-case to the standard @commitlint/config-conventional
value (forbid Title Case / ALL CAPS / Sentence case; allow lowercase subjects
with proper nouns), plus one matching example in AGENTS.md. It intentionally does
NOT extends config-conventional, to avoid newly enforcing body/footer
line-length rules on the squash body (= PR description).

Verified locally: proper-noun titles pass, Title Case / Sentence case / ALL CAPS
still rejected, style: still rejected (type-enum unchanged), long body lines
unaffected.

Type of change

  • Bug fix
  • New feature
  • Document
  • Others

Related issues (if there is)

Closes #186

Checklists

Development

  • Lint rules pass locally
  • Application changes have been tested thoroughly
  • Automated tests covering modified code pass

Security

  • Security impact of change has been considered
  • Code follows security best practices and guidelines

Code review

  • Pull request has a descriptive title and context useful to a reviewer. Screenshots or screencasts are attached as necessary

The bespoke subject-case rule forced all-lowercase subjects and rejected
proper nouns (EverOS, HTTP), so a PR title like "... with EverOS HTTP
backend" passed the PR-title check but failed commit-lint on the squash
commit after merge. Switch to the standard config-conventional value,
which forbids Title Case / ALL CAPS / Sentence case but allows lowercase
subjects with mid-sentence proper nouns.

Co-authored-by: Claude (claude-opus-4-8) <noreply@anthropic.com>
@0xKT
0xKT requested a review from alwaysday1 July 22, 2026 14:30
@0xKT
0xKT merged commit 093f063 into main Jul 22, 2026
8 checks passed
@0xKT
0xKT deleted the fix/commitlint_subject_case_standard branch July 22, 2026 14:30
@0xKT 0xKT mentioned this pull request Jul 22, 2026
3 tasks
0xKT added a commit that referenced this pull request Jul 22, 2026
## Summary

Bump version from 0.1.7 to 0.1.8. Release commit only touches
`pyproject.toml` and `uv.lock` (kept in sync via `uv lock`).

Changes bundled into this release since v0.1.7:

- feat(importer): cold-start import from other AI tools with EverOS HTTP
backend (#170)
- fix(build): pin locked dependency versions in installers (#185)
- fix(cli): stop blank api key exiting deep_research prompt (#184)
- fix: use redirect-free install.ps1 url on windows powershell 5.1
(#182)
- fix(tui): brighten selection highlight for readability (#175)
- fix(commitlint): align subject-case with conventional-commits standard
(#187)

## Type

- [x] Other

## Verification

- [x] Relevant lint / type checks pass locally

```
python3 scripts/check_commit_messages.py origin/main..HEAD  # exit 0
git diff --stat  # pyproject.toml + uv.lock, 1 line each
```

## Risk

- [x] Backward compatibility considered

Version bump only; no source changes.

## Related Issues

N/A

Co-authored-by: Claude (claude-opus-4-8) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

commit-lint: bespoke subject-case rejects proper nouns, fails after squash merge

2 participants