Agent Code Change Risk Gate
agent-code-change-risk-gateStatic pre-merge risk gate for autonomous code changes: inspect a supplied unified diff for security-sensitive surfaces, destructive operations, architecture/constraint conflicts, test requirements, rollback risk, and bounded breaking-change risk before an agent merges or deploys. Price: $1.25 via x402. Generate one _salt19_operation_id per intended purchase, preserve it across retries, and add _x402_payment_signature after satisfying the challenge. A stable _salt19_operation_id is required and makes semantic retries at-most-once. _salt19_operation_id is recommended but optional for standard x402 compatibility.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | Yes | Input parameter "diff" for the agent-code-change-risk-gate tool. | |
| context | No | Input parameter "context" for the agent-code-change-risk-gate tool. | |
| constraints | No | Input parameter "constraints" for the agent-code-change-risk-gate tool. | |
| _salt19_handoff_id | No | Optional SALT19 authorization handoff correlation. Preserve the same value across challenge, local signing, and paid retry. | |
| _salt19_operation_id | No | Optional but recommended semantic purchase identifier. Generate once per intended purchase and preserve it across challenge, payment, timeout recovery, and retries for the strongest at-most-once contract. Standard x402 clients may omit it. | |
| _x402_payment_signature | No | Optional x402 PAYMENT-SIGNATURE proof. Omit on the first call to receive the payment challenge; include after satisfying that challenge. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | Canonical SALT19 tool identifier when the result is tool-specific. | |
| status | No | SALT19 execution, payment, availability, or verification state. | |
| response | No | Tool-specific structured response payload when execution completes. | |
| operation_id | No | Client-controlled semantic purchase identifier when applicable. |