Claude Code Controller
The control plane for autonomous Claude Code

Keep every lane
coding, never idle.

CCC is the always-on brain that drives a fleet of autonomous Claude Code lanes: it paces each account's usage to the line, redeploys on every commit, heals what wedges, and hot-drives any lane that drifts idle -- in tandem with a human at the wheel, never wasting a token.

usage-pacing governor -- 0.8x-linear pace, hard 90% wall

riding: 2%
target: 80% by window end  |  pause: 85%  |  never cross: 90%
90% wall 80% pace actual (rides the line)
window start+1h -> ~16%+4h -> ~64%reset -> go ham
5
modules, one plane
80/90
pace / wall, percent
5h
usage window, paced
always
systemd Restart
Five modules, one control plane

What CCC runs

Each module is a small, single-purpose systemd service with Restart=always and linger, so the whole plane survives a reboot and heals itself.

GOVERNOR

Usage-pacing governor

Reads each account's 5-hour-window usage every 2 min and throttles the lane's agent-parallelism to ride a 0.8x-linear pace line -- ~16% at 1h, ~64% at 4h -- pausing at 85% and never crossing 90%, then going ham as the window resets.

MONITOR

Lane monitor + auto-deploy

Polls all lanes, classifies WORKING / IDLE / BLOCKED, and hot-drives any lane idle two ticks. On every new DEPLOY-REQUEST sha it rebuilds that app's container so the live surface always tracks the branch.

WATCHDOG

Wedge + dead-session healer

The layer above Restart=always: catches services that are "active but hung" (log stale > 6 min) and resurrects any lane whose Claude session has died -- logging every heal.

DRIVER

Tandem master driver

An always-on driver that runs a real per-lane verify/unblock tick -- but stands down the instant a live human or Claude session stamps the heartbeat, so the two never double-drive and never waste tokens.

LANE-DRIVER

The driver primitive

One command to reach any lane -- run a shell, inject a keystroke, capture the pane, or copy a file -- over SSH + tmux, with passwords pulled from the environment, never printed. Everything above is built on this.

Relentless, prescient, never idle

The drive loop

The plane doesn't wait for failures -- it clears the next blocker before the lane hits it, and keeps every lane saturated.

01 / POLL
ClassifyRead every lane: WORKING, IDLE, BLOCKED, AT-GATE, or a stuck dialog.
02 / DRIVE
InjectIdle or stuck -> a full-throttle next step; resolve dialogs toward max effort.
03 / VERIFY
Never trustRe-run the build, hit endpoints, read the screenshot -- proof, not claims.
04 / SHIP
Auto-deployEvery new commit rebuilds the container; the live surface tracks the branch.
systemd  Restart=always + linger tandem  heartbeat handoff watchdog  heals wedged + dead governor  80% pace / 90% wall auto-deploy  on every sha
Part of the CCDocs suite

Built by the lanes CCC drives

CCC is the control plane behind a suite of production workalikes -- each an independent app on one shared backend, all advanced in parallel by the lanes it keeps saturated.