feat(merger): generate AI summary subject for merge commits
Replace bare `feat(FN-XXXX): merge fusion/fn-XXXX` subjects with an AI-generated summary describing what landed (e.g. `feat(FN-XXXX): add webhook handler`). Calls the existing `summarizeCommitSubject` lane alongside the body summarizer; falls back to `merge <branch>` when the summarizer is disabled, unavailable, or returns nothing. Default for `useAiMergeCommitSummary` flips to true so existing projects without an explicit override pick up the new behavior. The Settings UI already exposes the toggle. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
7
.changeset/merge-commit-subject-summary.md
Normal file
7
.changeset/merge-commit-subject-summary.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"@runfusion/fusion": minor
|
||||
---
|
||||
|
||||
Merge commits now get an AI-generated summary subject describing what changed (e.g. `feat(FN-XXXX): add user-invited webhook handler`) instead of the bare `feat(FN-XXXX): merge fusion/fn-XXXX`. The merger calls the existing `summarizeCommitSubject` lane alongside the body summarizer; on failure or when disabled, falls back to the legacy `merge <branch>` form.
|
||||
|
||||
Default for `useAiMergeCommitSummary` is now `true` (was `false`). Existing projects that haven't explicitly set the flag will pick up the new behavior on next start. The Settings UI already exposes the toggle.
|
||||
Reference in New Issue
Block a user