Diagnose CI Failure
A bounded command wrapper around the CI failure procedure and specialist. It collects the failing step, ranks evidence-backed hypotheses, and returns discriminating checks without changing CI state.
Runs on
Scope
$npx @youdede/toolkit add diagnose-ci-failure --target claude-code
What it does
Diagnose a failing CI run from supplied logs and repository evidence without mutating workflows or rerunning jobs.
When it fires
- review
- incident
How it behaves
Do not rerun, cancel, approve, or mutate any CI job or workflow.
Do not claim a root cause from a downstream error without causal evidence.
Do not inspect unrelated logs, secrets, or repository areas outside the bounded failure.
- Version
- 1.0.0
- Licence
- RiskThis command diagnoses a failing CI run from supplied logs and repository evidence without mutating workflows or rerunning jobs; it does not rerun, cancel, approve, or mutate any CI job or workflow.
- Low
- ModeHow it works: fixed rules, model instructions, or both.
- Prompt only
- Behaviour
- Advises, never blocks
- On failure
- Stops and reports
- LatencyThe command follows multiple workflow steps while it diagnoses a failing CI run from supplied logs and repository evidence without mutating workflows or rerunning jobs.
- Bounded
- Data retentionWhether data remains after use and who manages its storage.
- Not retained
- In packs
- Remote review evidence
Often used with
All in Operations