e-volv

Review playbook

CommitMessageRewriter

Proposes the correct squash-merge commit message for a PR, derived from the diff, and updates the proposal on each push.

On pull request open and on every push, reads the full diff and proposes the squash-merge commit message the PR should carry: conventional-commit type and scope derived from what actually changed, a subject line describing the effect rather than the activity, a body explaining why, and the correct BREAKING CHANGE footer when the diff contains one.

Identifier
commit-message-rewriter
Version
1.0.0
Steps
3
Triggers
2
  • commits
  • conventional-commits
  • squash-merge
  • history
  • pull-request
  • automated

When it runs

Pull requestpull_request.opened
Settle delay
15s after the event

Only when all hold

  • pullRequest.isDraft not equals true
  • actor.username not in dependabot, dependabot[bot], renovate, renovate[bot], github-actions, github-actions[bot]
  • actor.username not contains [bot]
Pull requestpull_request.synchronize
Settle delay
15s after the event

Only when all hold

  • pullRequest.isDraft not equals true
  • actor.username not in dependabot, dependabot[bot], renovate, renovate[bot], github-actions, github-actions[bot]
  • actor.username not contains [bot]

The pipeline

The graph below is the one the workflow opens with in the builder — same steps, same layout, drawn on the same canvas. The run playing through it is a simulation; the branches and conditions are real.

  1. 01
    PR Opened / Synchronizedtrigger

    The event that starts the run.

  2. 02
    Propose Squash-Merge Messageagent.run

    One agent works the task with its toolkit.

  3. 03
    Publish Commit Message Proposalreport.publish

    Posts or updates a deduplicated report comment.

The agent

Commit Message Writer

Base type
Tech Writer
Temperature
0.2
Max iterations
25
Tools
5

Git provider · 4

  • get_pull_request_diffGet Pull Request Diff · read
  • read_pull_requestRead Pull Request · read
  • update_pull_requestUpdate Pull Request · write
  • create_issue_commentCreate Issue Comment · write

Status · 1

  • update_statusUpdate Status · write