Recomposing a commit message
Rewrite this commit's message (LLM) reads the commit's own diff — not its current message, which is withheld from the prompt on purpose, so the model describes the change instead of paraphrasing what is already written — and proposes a replacement. Nothing is written until you review it: the proposal is editable, and applying goes through a real rebase, so every commit from here to HEAD gets a new SHA, whether or not its message changed.
Recomposing a commit's message from its diff
Selecting a commit and choosing "Rewrite this commit's message (LLM)" opens a review dialog with the model's proposed replacement pre-filled — editable, and not written anywhere until you apply it. The warning above the proposal is not decoration: rewording a commit gives every commit after it a new SHA too, so a branch you already pushed needs a force-push afterwards.

Captured from the running app by this scenario.
Do this
- Select the
HEADcommit in the graph - Choose
Rewrite this commit's message (LLM)from the commit's row menu - Apply the rewritten message
You should see
- The proposed message becomes
refactor: streamline the fake commit - The recompose warning about rewriting history is shown
- The repository HEAD commit subject is
refactor: streamline the fake commit
This page is generated from apps/e2e/features/ai-commit-recompose.feature, the end-to-end test that drives the feature it describes.