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.

Install CCC, free How to try it

Runs on your machine. Works with the Claude Code and Codex sessions you already have.

CCC showing CI runs above the session list: one running, one passed and one failed. Demo data.
CI runs sit above the session list. Demo data.

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

  1. Set up On-call from a checkout that has workflows and a saved gh login. Interactive setup offers CI monitoring with one yes or no.
    ccc oncall setup
  2. Or add the CI source yourself.
    ccc oncall source add ci
  3. Use a stored token instead of the gh login if you prefer.
    ccc oncall source add ci --vault token=actions-read
  4. Include pull requests from authors you name.
    ccc oncall source add ci --set pull_requests=yes --set pr_allowlist=dependency-bot

Good to know

Full documentation: docs/guides/fix-red-build.md

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