Script Review Agent
Rates the risk of a SQL change script and explains each problem it finds.
What you provide
- Script (required).
- Connection, if you choose one: the review uses its engine and schema, so it can point out objects that do not exist. Without one, choose the Engine.
- Notes, if any, such as the ticket or the rollout plan.
What you get
- A risk of Low, Medium, High or Critical, shown as, for example, High risk, with a one-paragraph summary.
- Each finding with its type (Destructive, Performance, Security, No rollback, No WHERE clause, Data loss, Concurrency, Best practice), severity (Info, Warning, Error, Critical), the line when known and a suggested fix.
- A suggested rollback when one can be written.
An answer from the model that lacks a risk, uses an unknown finding type or severity, or cannot be read fails the run with The AI model's answer ... Run the agent again. rather than showing an empty review.
On approvals
The same review runs on approval requests: from Run AI Review in manual mode, or by itself in automatic mode. See AI Settings and Privacy.