| name | wdad-ci-failure-diagnosis |
| description | Use when `verify`, release, or scheduled CI checks fail repeatedly. Produces a diagnosis, a likely root cause, and the smallest safe next step. |
Skill: CI failure diagnosis
Purpose
Shorten the loop when the slower gates fail.
Mode
Read-only first. Do not guess blindly.
Required inputs
- failing command or CI log
- current wave issue
- recent related changes
TESTING.md, if present
Procedure
- Reproduce or inspect the failure.
- Identify whether it belongs to
quick, verify, or release/scheduled.
- Narrow the likely root cause.
- Decide whether the fix belongs in the current wave or a follow-up.
- If the failure blocks an approved outcome, included issue, or acceptance check, do not recommend deferring it without explicit user signoff.
- Recommend the smallest safe next step.
Output
- failure summary
- likely root cause
- immediate next step
- whether the gate placement itself should change