SuperAPI AI Directory

specrail-diagnose-ci

Deployment & operations

View repository

Updated 10-16 00:04

About this skill

SpecRail Diagnose CI

Use this skill for the fix_ci route.

Steps

  1. Collect the failing workflow, job, step, command, logs, PR head SHA, and base branch evidence.
  2. Run the CI route gate when available:
python3 checks/route_gate.py --repo . --route fix_ci --issue <issue-number> --pr <pr-number> --state human_review --json
  1. Reproduce the failure locally when the command is available.
  2. Form one root-cause hypothesis, test it, then fix the smallest responsible code or workflow surface.
  3. Run the failing command again after the fix.
  4. Report fresh command output, remaining CI status, and any remote evidence that could not be verified.

Boundaries

  • Do not claim CI is green from stale, absent, or unrelated evidence.
  • Do not make unrelated improvements while fixing CI.
  • Do not bypass tests, weaken assertions, or hide failures.
  • Do not merge without explicit human authorization and PR-gate evidence.