{"uid":"cap_Tk4WR0pjiOUgmyGMEM_qn","slug":"nakonets-ci-diagnosis-endpoint-6f385d69","name":"NAKONETS CI Diagnosis Endpoint","description":"Pay-per-call deterministic utilities for CI diagnosis, data validation, JavaScript syntax checks, market snapshots and opportunity preflight.","url":"https://x402vercel.vercel.app/api/ci/diagnose?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"log":{"type":"string","description":"GitHub Actions failure log text"}}},"responseSchema":{"type":"json","example":{"status":"diagnosed","actions":["Verify dependency declarations and lockfile consistency."],"evidence":["Error: Cannot find module foo"],"primaryError":"Error: Cannot find module foo","rootCauseClass":"dependency"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"2","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":"$2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ku5TlVqOXqe9__ldNiPZq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"2","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes GitHub Actions failure logs to identify the root cause, classify the error category, and recommend actionable remediation steps","exampleAgentPrompt":"My GitHub Actions build just failed — can you diagnose this log and tell me what the root cause is and how to fix it? Here's the log: 'Error: Cannot find module foo\\n    at Function.Module._resolveFilename...'","exampleUseCases":[{"title":"Automated CI failure triage","prompt":"My GitHub Actions workflow failed again on the main branch. Can you analyze this log and tell me the root cause class and what steps I should take to fix it? Log: 'Error: Cannot find module lodash\\n npm ERR! missing: lodash@^4.17.21'"},{"title":"Dependency resolution debugging","prompt":"I keep getting module-not-found errors in my CI pipeline. Here's the failure log — can you diagnose exactly what's wrong and give me a list of actions to resolve the dependency issue?"},{"title":"PR merge gate diagnosis","prompt":"A contributor opened a PR and CI is blocking the merge with a cryptic error. Can you read this GitHub Actions log and classify what kind of failure it is and what the contributor needs to change to get it passing?"}],"resultDescription":"Returns a JSON object with: a 'status' field ('diagnosed'), a 'rootCauseClass' string categorizing the error type (e.g. 'dependency'), the 'primaryError' string extracted from the log, an 'evidence' array of log snippets supporting the diagnosis, and an 'actions' array of recommended remediation steps.","failureModes":["Empty or malformed log text may yield a generic or low-confidence diagnosis","Logs from non-standard CI systems may not be correctly parsed","Very long logs may be truncated or processed partially","If the error is ambiguous, the rootCauseClass may be overly broad","Payment failure ($2 USDC) will prevent the call from being processed"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, structured diagnosis of a GitHub Actions CI failure log — especially when you want a machine-readable rootCauseClass and a concrete action list for automated remediation workflows. Prefer this over LLM free-form analysis when you need consistent, reproducible categorization of build errors that can be used in downstream automation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:21:49.745Z","isFirstParty":false,"canonicalSlug":"nakonets-ci-diagnosis-endpoint-6f385d69"}