# NAKONETS CI Action Plan – GitHub Actions Failure Diagnosis

> NAKONETS CI Action Plan – GitHub Actions Failure Diagnosis is a paid API for AI agents from x402vercel.vercel.app, paid per call via x402, $5/call, status unknown (last checked 2026-10-02).

Accepts a GitHub Actions failure log and returns a prioritized action plan with root cause classification and remediation steps.

## Facts

- Endpoint: POST https://x402vercel.vercel.app/api/ci/action-plan?utm_source=zero.xyz
- Price: $5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nakonets-ci-action-plan-github-actions-failure-diagnosis-a710d8a0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tYf_rf1cg4pm0_MMKB7sg

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability nakonets-ci-action-plan-github-actions-failure-diagnosis-a710d8a0 -d '<json body>'
```

Example prompt: My GitHub Actions run just failed — here's the log output: '[log text]'. Can you diagnose what went wrong, classify the root cause, and give me a prioritized P0/P1 action plan to fix it?

## When to prefer this

Choose this endpoint when you have a raw GitHub Actions failure log and need a structured, prioritized remediation plan with root cause classification. It is especially useful for automated CI agents, on-call bots, or developer tools that need deterministic, pay-per-call analysis without maintaining a persistent LLM session or custom prompt engineering for log triage.

## Known failure modes

- Empty or truncated log input may result in vague or incomplete diagnosis
- Logs from non-GitHub-Actions CI systems may not map well to the expected format
- Ambiguous multi-failure logs may produce a broad root cause class with lower actionability
- $5 USDC payment required per call; payment failure results in 402 response
- Very large log payloads may be truncated or cause parsing issues

## How this service works

Pay-per-call deterministic utilities for CI diagnosis, data validation, JavaScript syntax checks, market snapshots and opportunity preflight.

## Output

A JSON object containing a diagnosis status ('diagnosed'), a root cause class (e.g. 'dependency'), a prioritized list of actions (P0, P1, etc.), and concrete remediation steps the engineer should take to resolve the CI failure.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "log": {
   "type": "string",
   "description": "GitHub Actions failure log text"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "diagnosed",
  "actions": [
   "Verify dependency declarations and lockfile consistency."
  ],
  "priority": [
   "P0: resolve the first causal failure",
   "P1: validate with a clean rerun"
  ],
  "rootCauseClass": "dependency"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nakonets-ci-action-plan-github-actions-failure-diagnosis-a710d8a0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402vercel.vercel.app](https://www.zero.xyz/host/x402vercel.vercel.app/llms.txt)
