agent · built into metaphor
CI investigator
Finds out why the build is red, and whether it is your code. The CI investigator diagnoses failed GitHub Actions and pull request checks. It reads the check annotations first, since they often hold the whole answer, then the failed logs, then the code. It tells you whether the failure is a real bug, a flaky test or an infrastructure problem.
- Built in
- ci
- github actions
- debugging
you ›Why is CI failing on this PR?
metaphor ›Handing this to CI investigator. I'll report back when it's done.
you ›Is this test failure flaky?
you ›Fix the failing check on main
What it does
- Reads check annotations before digging through logs
- Traces the failure to the line of code that caused it
- Separates real bugs from flaky tests and infrastructure problems
- Reports root cause, evidence, gaps and next step
Skills it uses
Questions
What does the CI investigator agent do?
The CI investigator diagnoses failed GitHub Actions and pull request checks. It reads the check annotations first, since they often hold the whole answer, then the failed logs, then the code. It tells you whether the failure is a real bug, a flaky test or an infrastructure problem.
How do I start the CI investigator agent?
It is built into Metaphor. Ask for the work in plain words, for example "Why is CI failing on this PR?", and the main agent hands it off and reports back when it is done.
Can CI investigator change my code?
Reads code and runs commands only after you approve them. It never edits files.
Other agents
- PR reviewerAgentA whole-PR critique with evidence for every finding.built in5 tools5 skills
- Security reviewerAgentApplication and AI-agent security review, tagged against OWASP.built in5 tools2 skills
- AI SREAgentProduction investigations against the logs and metrics you already have.built in3 tools1 skill