{"uid":"cap__-BgUEusAyS2a0XHlVs9o","slug":"agentdiet-code-release-security-gate-378237e2","name":"AgentDiet Code Release Security Gate","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.","url":"https://rag-diet.agentdiet.dev/v1/workflows/code-release-security-gate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"repo":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Prif9QJb_O2nFBwLiGyhy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a distilled security-gate workflow against a code repository to detect vulnerabilities and risks before release, returning compressed intelligence with a compression ratio proof.","exampleAgentPrompt":"Run a security gate check on my repo 'my-org/my-app' before I cut the release — I need to know if there are any vulnerabilities or risks that would block shipping.","exampleUseCases":[{"title":"Pre-release vulnerability scan","prompt":"Before I merge this release branch, run the code release security gate on 'acme-corp/payments-api' and tell me if anything would block a safe deployment."},{"title":"CI pipeline security checkpoint","prompt":"As part of our automated pipeline, gate the release for repo 'startup/backend-service' — flag any security issues and give me the compressed findings so I can decide whether to proceed."},{"title":"Audit open-source dependency risks","prompt":"Scan the repo 'myteam/open-source-lib' through the security gate workflow and summarize any vulnerabilities I should address before the public release."}],"resultDescription":"A JSON object with a status field ('ok'), a data object containing security gate findings for the repository, and an roi_proof object showing the compression ratio (e.g. 91.4%) — indicating how much the raw intelligence was distilled before delivery.","failureModes":["Missing or invalid 'repo' query parameter returns an error or empty data object","Repository not accessible or not found returns a failure status","Payment not settled in USDC on Base results in HTTP 402 and no result","Malformed input schema (wrong type or method) returns a validation error","Timeout if the repository is very large or the workflow takes too long"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, pay-per-call ($0.01 USDC) security gate workflow specifically designed for AI agent pipelines (A2A/MCP/x402), with built-in token compression (up to 91%+ ratio) to keep context windows lean — ideal for CI/CD automation or pre-release checks where cost, speed, and context efficiency matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:44:28.181Z","isFirstParty":false,"canonicalSlug":"agentdiet-code-release-security-gate-378237e2"}