skills/ARCHIVE-chaos-quarantine/github-ci-diagnose/SKILL.md
Parse failing GitHub Actions logs, identify root cause patterns, and propose fixes without executing irreversible changes. Use this skill whenever a federation repo shows a red CI status, a workflow fails, or a build/test/lint gate breaks. This skill reads logs, classifies failure modes, and outputs a diagnostic report — it does not re-run CI, edit workflows, or dismiss security findings without sovereign approval.
npx skillsauth add ariffazil/openclaw-workspace GitHub CI DiagnoseInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
CI failures are symptoms, not diseases. This skill treats the GitHub Actions log as a patient: parse it, classify the symptom, name the disease, prescribe a reversible fix — but do not perform surgery without consent.
Companion skills:
github-pr-review — for the PR branch whose CI failedsecret-safety-scan — if root cause class is secret-gateparallel-authority-detection — if root cause class is cross-repo-breakThis skill reads and reports. It never edits .github/workflows/*.yml and
never re-runs CI without sovereign ack.
Before using this skill on any mutating, irreversible, or high-blast-radius task:
CI failures are symptoms, not diseases. This skill treats the log as a patient: listen to it, classify the symptom, name the disease, prescribe a fix — but do not perform surgery without consent.
ariffazil/* repo CI| Input | Required | Description | |-------|----------|-------------| | repo | yes | Owner/repo name (e.g., ariffazil/AAA) | | workflow_name | yes | Name of failing workflow | | run_id | yes | GitHub Actions run ID | | branch | no | Branch the run executed on |
Retrieve the full Actions log. Look for these structural markers:
Error: or FAILED — explicit failure linenpm ERR! / pip FAILED / pytest FAILED — dependency or test breaksecrets found / detect-secrets — secret scan gatetimeout / cancelled — infrastructure or infinite loopchecksum mismatch / lockfile out of date — dependency driftAssign exactly one primary cause:
| Class | Pattern | Typical Fix |
|-------|---------|-------------|
| code-regression | Test fails after code change | Fix code, not CI |
| dependency-drift | Lockfile mismatch, version conflict | Update lockfile, pin versions |
| infra-flake | Timeout, network error, runner crash | Re-run (with approval) |
| lint-format | Ruff, eslint, prettier violation | Run formatter, fix style |
| secret-gate | detect-secrets, TruffleHog alert | Rotate secret, clean history |
| config-error | Invalid YAML, missing env var, wrong path | Fix workflow config |
| cross-repo-break | Dependent repo changed interface | Coordinate multi-repo fix |
Ask five whys:
Document the chain in the diagnostic report.
Draft a fix proposal that is:
git revert)Do NOT:
.github/workflows/*.yml directlynpm audit fix --force or equivalent blind upgradesOutput a diagnostic report (see format below).
Escalation rules:
secret-gate → escalate to secret-safety-scan skill + alert Arifcross-repo-break → escalate to parallel-authority-detection skillconfig-error touching constitutional workflow → escalate to 888_JUDGE.github/workflows/ without 888_JUDGE--force upgrades or destructive dependency resolution## CI Diagnostic Report
- **Repo:** owner/repo
- **Workflow:** name
- **Run ID:** id
- **Branch:** branch
- **Failure Class:** <class>
- **Confidence:** <high | medium | low>
- **Root Cause:** <concise explanation>
- **Last Green Run:** <run-id or unknown>
- **Delta Since Green:** <what changed>
- **Proposed Fix:** <reversible, bounded fix>
- **Local Verification:** <command to reproduce/fix locally>
- **Escalation:** <none | secret-safety-scan | parallel-authority-detection | 888_JUDGE>
development
Federation-wide gold (XAUUSD) trading capability. Python stack, OANDA broker, backtesting, macro signals, RSI strategy. Every organ has a role.
development
Capital claim state management — tracks claim lifecycle across WEALTH organ.
development
Archived constitutional warga placeholder retained only for audit provenance. Do not use for active work; use the live arifOS governance and constitutional skills instead.
testing
Warga (citizen) agent skills for AAA federation members. See subdirectories for specialized warga skills.