Skip to content

Diagnose a pipeline red across several jobs

Tell apart one cause with many symptoms from several unrelated causes before debugging any single red job.

Also usessuperpowers

Several jobs red at once is usually one cause with several symptoms, or several unrelated causes that must not be debugged as one. The first move is telling those two cases apart.

Start here

One prompt to start
Several CI jobs went red at once -- audit the CI config itself first to rule out one config-level cause explaining everything, then split the failures into genuinely independent tracks from the real dependency graph, and work each track to root cause before proposing any fix.

Needsself-assess, compass, superpowers

Beats

Run these in order. Each prompt is copy-pasteable straight into Claude Code.

  1. self-assess:self-assess-ci-topologyalso in 1 other recipe

    A config-level defect explains all the symptoms at once; chasing symptoms first wastes the whole first pass.

    Run this beat on its own
    prompt
    several CI jobs went red at once — audit the CI config itself before we look at any individual failure
  2. compass:compass-decompose-chainalso in 1 other recipe

    Derives which failures are genuinely independent and can be worked in parallel, from the dependency graph rather than by guess.

    Run this beat on its own
    prompt
    break these five red jobs into independent tracks — tell me what depends on what and what can be worked in parallel
  3. superpowers:systematic-debuggingalso in 2 other recipes

    Required before proposing any fix; a fix proposed ahead of a root cause is a second failure mode.

    Run this beat on its own
    prompt
    work the lint failure to root cause first — no fixes proposed until the cause is nailed down

Worked example

Grounded in — why this beat order is trustworthy

`.github/workflows/plugin-checks.yml` runs twelve checks with `continue-on-error: true` and collapses them into a single "Fail the job if any check failed" step. One red job can therefore mean any of twelve independent causes, which is exactly the shape this entry exists to untangle.

Do / Don't

  • Audit the CI config itself before looking at any individual failure -- a config-level defect can explain every symptom at once.
  • Derive independent failure tracks from the actual dependency graph, not from how the jobs happen to be laid out.
  • Work each track to root cause before proposing any fix -- a fix proposed ahead of a root cause is a second failure mode.
  • Don't debug the first red job you see without first checking whether one config-level cause explains all of them.
  • Don't split the red jobs into tracks by guesswork -- derive independence from the dependency graph.
  • Don't propose a fix before the cause is nailed down for that track.