CCC / Features / Fix a red build
The build went red.
An agent is already on it.
CCC watches your CI. A new failure becomes a ticket with the last green commit, the failing commit, the first failing job and a log excerpt, and a worker agent picks it up.
Runs on your machine. Works with the Claude Code and Codex sessions you already have.
The problem
A red main blocks everyone until someone looks.
The failure is usually small: a test that no longer matches, a type error, a missed import. Finding the failing step and the commit that caused it takes longer than the fix.
CCC gathers that context when the run fails and hands it to an agent, so the investigation starts without you.
What it does
Files one ticket per failure
One ticket per workflow, branch and failure episode. Consecutive red runs share the same ticket.
Gives the agent what it needs
The last observed green commit, the failing commit, the first failing job, failing steps when supplied, and a scrubbed log excerpt.
Waits for green
A committed fix is not announced as successful until CI is observed green.
Sets ground rules
Tickets forbid force-pushes, workflow changes made to pass CI, and disabling, deleting, skipping or weakening tests.
Works with your CI
GitHub Actions by default, plus Gitea, Forgejo and GitLab pipelines.
Can watch pull requests too
Optional, with an exact-author allow-list. Forks are excluded, and each ticket names the only branch the worker may push.
Try it
Two commands from a GitHub checkout
- Set up On-call from a checkout that has workflows and a saved
ghlogin. Interactive setup offers CI monitoring with one yes or no.ccc oncall setup
- Or add the CI source yourself.
ccc oncall source add ci
- Use a stored token instead of the
ghlogin if you prefer.ccc oncall source add ci --vault token=actions-read
- Include pull requests from authors you name.
ccc oncall source add ci --set pull_requests=yes --set pr_allowlist=dependency-bot
Good to know
- Runs that are already red when you set this up are left alone.
- CCC polls your CI every 300 seconds by default. It does not use webhooks.
- The ground rules are instructions to the agent, not a sandbox. Keep your branch protection.
- CCC does not merge or close a pull request.
- The checks passed on local Gitea and Forgejo servers with one seeded bug each. The GitLab adapter has not been run against a real GitLab server.
Install
Free, local, and yours in one command.
CCC runs on your machine and reads the sessions your agents already wrote. macOS, Linux and Windows.
curl -fsSL https://raw.githubusercontent.com/amirfish1/claude-command-center/main/scripts/install.sh | CCC_FROM=landing bash
Related
On-call
Bugs from customers and monitoring go to coding agents. You get a message only for a real decision.
Read more →Errors from monitoring
New Sentry issues, failed health checks and log errors become tickets that agents work.
Read more →GitHub issues
An issue becomes a session or a queue ticket. Your product can open the issue itself.
Read more →