Skip to content

fix: allow conventional commit for pr title gen#1666

Merged
k11kirky merged 1 commit intomainfrom
04-13-fix_allow_conventional_commit_for_pr_title_gen
Apr 15, 2026
Merged

fix: allow conventional commit for pr title gen#1666
k11kirky merged 1 commit intomainfrom
04-13-fix_allow_conventional_commit_for_pr_title_gen

Conversation

@k11kirky
Copy link
Copy Markdown
Contributor

@k11kirky k11kirky commented Apr 15, 2026

Problem

Pull request descriptions generated by the AI assistant don't follow project-specific commit conventions, making them inconsistent with team standards and potentially causing issues with automated tooling that expects conventional commit formats.

Changes

  • Added getCommitConventions() call to retrieve project-specific commit convention settings
  • Integrated conventional commit format hints into the AI prompt when conventional commits are enabled
  • Updated the system prompt to include guidance on using conventional commit prefixes (feat, fix, docs, chore, etc.)
  • Added conventionalCommits flag to telemetry tracking for monitoring adoption

The AI will now generate PR titles that follow conventional commit format when the project has this convention enabled, improving consistency across the codebase.

Copy link
Copy Markdown
Contributor Author

k11kirky commented Apr 15, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@k11kirky k11kirky marked this pull request as ready for review April 15, 2026 14:42
@k11kirky k11kirky mentioned this pull request Apr 15, 2026
Copy link
Copy Markdown
Contributor Author

k11kirky commented Apr 15, 2026

Merge activity

  • Apr 15, 3:26 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Apr 15, 3:27 PM UTC: @k11kirky merged this pull request with Graphite.

@k11kirky k11kirky merged commit c0ef4cd into main Apr 15, 2026
16 checks passed
@k11kirky k11kirky deleted the 04-13-fix_allow_conventional_commit_for_pr_title_gen branch April 15, 2026 15:27
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.

2 participants