Skip to content
Fourohtwo

agents.writerslogic.com/api/v1/gatekeep-diff

Two-stage adversarial review of a unified diff (bug hunter, then patch synthesizer) plus deterministic secret, dependency, and SAST scanning; returns mergeApproved, riskScore 0-100, findings, and drop-in patches.

BaseUnchecked
POSThttps://agents.writerslogic.com/api/v1/gatekeep-diff

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agents.writerslogic.com/api/v1/gatekeep-diff", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"context":"Refactor user lookup for readability.","gitDiff":"diff --git a/src/users.ts b/src/users.ts\n--- a/src/users.ts\n+++ b/src/users.ts\n@@ -10,3 +10,4 @@ export async function findUser(db, req) {\n-  return db.query('SELECT * FROM users WHERE id = $1', [req.params.id]);\n+  const id = req.params.id;\n+  return db.query(`SELECT * FROM users WHERE id = ${id}`);\n }\n"}),
});
console.log(await res.json());

Example input

{
  "context": "Refactor user lookup for readability.",
  "gitDiff": "diff --git a/src/users.ts b/src/users.ts\n--- a/src/users.ts\n+++ b/src/users.ts\n@@ -10,3 +10,4 @@ export async function findUser(db, req) {\n-  return db.query('SELECT * FROM users WHERE id = $1', [req.params.id]);\n+  const id = req.params.id;\n+  return db.query(`SELECT * FROM users WHERE id = ${id}`);\n }\n"
}