e-volv

Review playbook

MigrationSafetyReview

Reviews PRs that touch database migrations and flags locking, destructive, or ordering risks inline.

Reviews pull requests that touch database migrations and flags operational risks: locking rewrites, destructive changes, missing rollback paths, and unsafe ordering. Posts inline review threads on dangerous statements and a summary verdict.

Identifier
migration-safety-review
Version
1.0.1
Steps
3
Triggers
1
  • review
  • migrations
  • database
  • safety
  • automated

When it runs

Pull requestpull_request.opened
Settle delay
15s after the event

Only when all hold

  • pullRequest.state not equals closed
  • 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
    Migration PR Openedtrigger

    The event that starts the run.

  2. 02
    Clone PR Head Refgit.clone

    Shallow-clones the repository at the right ref.

  3. 03
    Review Migration Safetyagent.run

    One agent works the task with its toolkit.

The agent

Migration Safety Reviewer

Base type
Code Reviewer
Temperature
0.1
Max iterations
35
Tools
8

Git provider · 4

  • get_pull_request_diffGet Pull Request Diff · read
  • read_pull_requestRead Pull Request · read
  • add_pull_request_review_threadAdd PR Review Thread · write
  • submit_reviewSubmit Review · write

Filesystem · 2

  • read_fileRead File · read
  • list_dirList Directory · read

Code search · 1

  • code_searchCode Search · read

Status · 1

  • update_statusUpdate Status · write