pre_merge_review
Reviews a unified diff with exploit, secret, dependency, SAST, and Unicode/Trojan Source checks, then returns one merge decision for a PR.
Instructions
Pre-merge Review Pack. One unified diff in, one merge decision out: the PR exploit gatekeeper (bug hunter, patch synthesizer, secret/dependency/SAST scans) plus the adversarial Unicode / Trojan Source gate. Runs diff-gatekeeper ($0.50) + unicode-safety-gate ($0.25) in one paid call for 20% less than buying them separately. Charged only when every member succeeds.
Cost: 0.60 USDC per call, paid automatically over x402 on Base when AGENT_PRIVATE_KEY is configured and the price is within MAX_USDC_PER_CALL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | Yes | Unified diff of the change (git diff / PR .diff). | |
| context | No | What the PR is supposed to do. | |
| packageJsonDiff | No |