{"uid":"cap_LbG9loiUDvo74sVEmXeJ5","slug":"saylor-code-verifier-aae24603","name":"Saylor Code Verifier","description":"Clone a public GitHub repository into a disposable Firecracker microVM, install dependencies, run one declared test, lint, or build script, and return structured logs plus the resolved commit. The service verifies execution, not semantic correctness; private repositories and arbitrary shell commands are not accepted.","url":"https://saylorinnovations.com/api/code/verify?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ref":{"type":"string","description":"Optional branch or tag to verify."},"task":{"enum":["test","lint","build"],"type":"string","description":"Bounded package script to run."},"repository":{"type":"string","format":"uri","description":"Public GitHub HTTPS repository URL."},"packageManager":{"enum":["auto","npm"],"type":"string","default":"auto","description":"Version 0.1 supports npm projects; auto selects npm."},"timeoutSeconds":{"type":"integer","default":60,"maximum":120,"minimum":15}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_C4pjO93EUO4I9QMcvv5wQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Clones a public GitHub repository into a disposable Firecracker microVM and runs a declared test, lint, or build script, returning structured logs and the resolved commit hash.","exampleAgentPrompt":"Can you verify that the test suite passes on the main branch of https://github.com/acme/my-lib? Run the test task with a 60-second timeout.","exampleUseCases":[{"title":"Pre-merge test verification","prompt":"Before I merge this PR, can you check that the tests still pass on the feature branch of https://github.com/acme/payments-sdk — use the test task and give me up to 90 seconds."},{"title":"Open-source dependency health check","prompt":"I'm thinking of using https://github.com/lodash/lodash — can you run its build task on the main branch so I can see if it compiles cleanly right now?"},{"title":"Lint audit before code review","prompt":"Run lint on https://github.com/my-org/api-server at the v2.3.1 tag and show me the full output — I want to see if there are any style violations before I do the code review."}],"resultDescription":"The agent receives structured JSON logs from the test, lint, or build script execution, including stdout/stderr, exit code, task outcome (pass/fail), and the resolved git commit SHA that was checked out in the Firecracker microVM.","failureModes":["Private or inaccessible repository URL — returns error indicating repository cannot be cloned","Invalid or nonexistent branch/tag ref — returns git clone failure with details","Script not found or misconfigured package.json — returns dependency install or script-not-found error","Timeout exceeded (up to 120s) — returns timeout error with partial logs","Unsupported package manager or non-npm project — returns unsupported configuration error","Repository too large to clone within timeout — returns timeout or resource error"],"whenToPreferThis":"Use this endpoint when you need to verify that a specific npm-based public GitHub repository's test, lint, or build script actually executes and exits cleanly — particularly when you want sandboxed, reproducible execution in an isolated microVM without setting up your own CI. Prefer this over manual CI inspection when you need programmatic, structured log output tied to a specific commit or branch.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:50:53.552Z","isFirstParty":false,"canonicalSlug":"saylor-code-verifier-aae24603"}