3,000 Hours of Coding with AI Agents: Inside a 213-Commit-a-Day Pipeline with Cloud VMs, Cross-Review, and Script GatesLongread · digest for December 2
Architectural tabletop diorama of a cloud AI agent pipeline: a calm laptop in the foreground routes tasks into an ordered grid of isolated virtual machine modules with cross-review and a control gate before the main branch.
Longread7 sections≈ 21 min

3,000 Hours of Coding with AI Agents: Inside a 213-Commit-a-Day Pipeline with Cloud VMs, Cross-Review, and Script Gates

In 30 days, he shipped 6,403 unique commits. That averages 213 per day, hitting nearly 300 on peak days. Seven hundred went straight into the production main branch, with only eight rollbacks across the entire month — a 0.1% revert rate. Meanwhile, he opened the built-in terminal exactly six times and wrote zero code by hand.

Those numbers sound like a fairy tale about a magic button, but there's no secret prompt behind them. They come from four years and over 3,000 hours of practice by David Ondrej, who uses this pipeline to build his own orchestrator, Cloudroom. To push dozens of commits an hour without drowning in bugs, laptop lag, and token bills, he had to wrap the models in strict engineering systems. Let's walk through all seven layers in order: where they actually work, what they cost, and which pieces you can adopt today without locking into someone else's platform.

Calibrating Trust and the Limits of 'Zero-PR'

Any engineer's first reaction to 213 commits a day is predictable: "That must be pure junk that breaks production by evening." You can test that claim easily. Don't look at green squares on GitHub — look at the rollback rate and real user behavior. Ondrej had eight reverts out of more than six thousand commits, and his paying customer retention has climbed over the past two months. Cloudroom also puts a public changelog right in its top header, so you can scan it in 20 seconds or click into full GitHub releases.

His pace of 45 contributions per active hour relies on a zero-PR approach, where verified small and medium changes go straight to main without a manual Pull Request. This isn't blind autopilot. The rule scales with risk. If you're working solo and fixing an affiliate link in the footer or a minor UI bug, a manual PR just wastes time — an automated review by another model is enough. Once a teammate submits a change, an autonomous background bot steps in, or a task touches critical core logic, normal branches and Pull Requests with checks take over. In team development, fintech, or healthcare, turning off PRs and CI gates isn't an option at all, because one mistake costs far more than a few saved clicks.

The second secret behind this speed is thread hygiene. If you try to solve five tasks in one long chat, the model loses context and mixes up files. Instead, he follows a "one thread, one task" rule: flat, independent top-level threads without deep trees of subagents. Child threads rarely multiply — 87% of them exist solely for code review. On top of that, 45 recurring cloud loops run in the background.

Over a month, more than 7,300 threads pass through this grid. Nearly 800 open branches pile up in the UI, but only a pinned list stays in active focus. His working corridor is 40–70 threads, capped at 100 before older ones get unpinned. To avoid turning into a dispatcher clicking a mouse all day, switching relies on keyboard shortcuts (Cmd+1/2/3, Cmd+E to jump to the end of pinned threads, Cmd+G to pin, double Cmd+W to archive a running thread), voice input (2–4x faster than typing), and message queues. You queue up 4–7 messages in a row inside one thread, and the agent works through them in sequence while you move to the next task.

The Ceiling of Local git worktree and 50 Cloud Linux VMs

If you run dozens of agents on a single repository, they'll overwrite each other's files immediately. The simplest way to keep them separated on your own machine is Git's built-in git worktree feature. It lets you check out several separate working folders from one repository on different branches while sharing the commit history. Each agent stays in its own directory and never gets in the way.

# Create an isolated worktree and a new branch from main
git worktree add ../repo-fix-auth -b fix-auth main

# Copy .env (do not symlink) and install dependencies
cp .env ../repo-fix-auth/.env
cd ../repo-fix-auth && npm ci

# After review and merge to main, remove the folder and prune refs
git worktree remove ../repo-fix-auth
git worktree prune

This setup handles 3–10 parallel tasks very well. You copy .env instead of symlinking it so one agent's accidental config edit doesn't break the environment for everyone else, and git worktree prune cleans up deleted directory references at the end. The trouble starts when you try to scale further.

Even a top-spec MacBook Pro with 128 GB of RAM hits a hardware wall around 20 parallel local threads. Agents share one CPU, memory pool, disk, and network connection. As soon as several threads run builds or tests at once, the machine slows down noticeably. Things get worse with computer use, where an agent controls the UI directly. If a local bot opens a browser, configures a GitHub App, and clicks buttons, it steals screen focus and basically kicks you off your own laptop.

When local hardware becomes the bottleneck, the only move left is shifting agents into isolated cloud Linux VMs — one virtual machine per thread, with its own CPU, RAM, disk, and Git branch. Over two autumn months in 2026, Ondrej's setup flipped completely. At the end of September, almost everything ran on his laptop; by late November, the vast majority of threads had moved to the cloud, leaving the laptop with only occasional worktree tasks.

How agent thread launches shifted over two months: laptop vs. cloud

Here's a clear scale test: while recording 4K video on that same laptop, his cloud thread orchestrator uses the room-cli tool to spin up 50 parallel read-only subagents on Claude Haiku 5.5 in seconds to audit codebase performance. Each gets its own Linux VM and an auto-created branch, while the laptop's fans don't even spin up. Across the cloud fleet, that setup holds 13 active sandboxes, 153 sleeping ones, and 8,000 archived sessions.

You can inspect how this works under the hood in the Apache 2.0-licensed Cloudroom repository. The system splits into a desktop client gui/ (built on BB for macOS 13+ Apple Silicon, Linux x64, and Windows 11) and a fast Rust service core/ (requiring Rust 1.89+). core/ manages sandboxes, queues, native session recording, and crash recovery. It supports seven harnesses — CLI wrappers for agents like Claude Code, Codex, Antigravity CLI, Cursor CLI, Pi, and OpenCode — over four native protocols. It follows a BYOM model: you plug in your own subscriptions and API keys with no token markup.

Official Cloudroom architecture diagram: an isolated cloud sandbox with a Rust core for each agent (Source: GitHub davidondrej/cloudroom)

Inside the Linux containers, there's protection against runaway child processes. Every command the agent launches gets oom_score_adj=500, while the harness itself and core/ stay at 0. If a heavy test run eats all available memory, the Linux kernel kills the child process, and the orchestrator survives to report the error cleanly in chat. At the same time, OMP_NUM_THREADS, PYTHON_CPU_COUNT, and Node's os.cpus() are capped by the cgroup quota so scripts don't try to grab every host core.

To avoid paying for idle machines, sandboxes sleep automatically when inactive: after 5 minutes on the Free plan, 20 minutes on Pro, and 60 minutes on Ultra. A pool of warm standby VMs speeds up startup, history and backups go to Cloudflare R2, and metadata and logins live in Supabase. Another handy feature is Teleport: you can freeze a running agent and move the live session — complete with full history, selected model, and reasoning level — between your laptop and the cloud if you're heading out with spotty internet.

This convenience comes with security trade-offs. Agents in sandboxes run without approval prompts, because 50 parallel threads would stall immediately on manual "Allow" clicks. When self-hosting core/ on Ubuntu 24.04 (via the official install.sh), agents run under a dedicated non-root Linux user cloudroom-agent. The API listens strictly on localhost with a required secret token, and harness auth happens separately under that same user so tokens never pass through the GUI. Each trusted team member also needs their own isolated sandbox.

The UI/UX Paradox: Why Agents Write Code, Not Interfaces

When a model cranks out hundreds of commits a day, it's tempting to hand over the whole product. Reality cures that excitement fast. Coding agents write backends, optimize queries, and fix bugs faster than humans, but they have zero instinct for user friction.

Cloudroom's own referral program — offering a 40% lifetime commission per referred customer — is a clear example. The terms were generous and the code worked without errors, yet agents designed an interface so convoluted that real users couldn't even find where to copy their referral link. A human had to step in and rebuild the sidebar and footer.

That led to a strict split of responsibilities in AGENTS.md and a dedicated David input skill. Autonomous agents handle bug fixes, backend speedups, Pull Request reviews, refactoring, and even an hourly dependency diet (a loop that rewrites third-party packages into in-house code to shrink the attack surface and patch vulnerabilities faster). Three areas stay locked to humans: UI/UX, product direction (what to build next), and pricing.

Instead of trying to describe a new screen in plain text, the team uses a /designs skill. Rather than dry descriptions, the agent renders four real UI mockup images right inside the chat. For a task displaying computer use sessions, rendering took 11 minutes, but the result sat right in front of him. Using voice input, he combined the clean minimalism of layouts one and three, kept the blue sidebar accent, and cut the heavy embedded widgets from layout two. Discussing a real image is ten times faster than fixing overcomplicated markup after the fact.

Six-Step Cross-Review, the Fight for 100 ms, and Memory Without RAG

If you ask a model to review code it wrote a minute ago, it will likely nod lazily and say everything looks great. Catching real bugs requires a fresh look from an independent model — cross-review. By late 2026, Ondrej's stack settled into a clear split of models by speed and role.

Pipeline roleCurrent models (late 2026)Mode and usage notes
Primary fast developmentGemini 4 Neon (1M context, Antigravity CLI), Claude Opus 5.5 (Claude Code 2.1.280+)95% of runs at high, xhigh, or max effort; speed keeps the flow unbroken
Independent cross-reviewGPT-6.2 Astra, Claude Fable 5.1/5.2, Gemini 4 CarbonSlow but thorough; painful to code with, great at catching bugs
Mass read-only scanningClaude Haiku 5.5Dozens of parallel VMs for fast codebase audits

He deliberately dropped cheaper models like Sonnet 5.5 and Haiku 5.5 for primary development. The math is simple: once you've paid for $100–$200/month flat-rate subscriptions, saving tokens on a weaker model only to spend your own time fixing its work is a bad trade. He treats limits like venture capital: if even 10–20% of background loop runs produce a real improvement, the cost pays for itself.

Flat-rate subscriptions have a downside, though. Providers cut limits without warning: over the autumn, Codex slashed quotas by 40%, and he had to cancel two Anthropic subscriptions outright. Google AI Pro/Ultra for Antigravity CLI carries its own risk: buying it on your main Gmail account is dangerous, because heavy agent traffic can trigger an account ban and lock out your personal email. It's safer to set up a separate account from the start.

When you manage dozens of threads, even fractions of a second get annoying. Standard snippets in Raycast had a 100–200 ms delay, which broke his rhythm when chaining 5–7 commands in a row. Cloudroom ended up with its own snippet plugin responding in single-digit milliseconds using short triggers (ii, jj, zz, pp, .ss, .dd, .ww).

Those macros power a six-step loop you can run after every major feature or across the last 24 hours of changes:

  1. Run an independent cross-review with another model (/gemini-review or /gpt-review) on the latest diff.
  2. Ask for a clean list of every issue and gap found, with no fluff.
  3. Triage with a critical constraint: "Check which issues are real and serious, and which ones are worth fixing assuming development cost is $0 and each fix takes less than a minute." Without that line, models act overly cautious and refuse to fix real bugs, claiming they'd take "two weeks of work."
  4. Ask for a minimal, practical fix plan.
  5. Execute the plan without overengineering (and push to main if the task is safe).
  6. Check "is anything left to do?" and queue a compression macro right behind it: "Rewrite your last message shorter and clearer."

That compression prompt ran 654 times in 30 days, making it the second most frequent macro in the pipeline. When dozens of agents work for you, your own attention becomes the bottleneck — reading three-screen walls of text for every ticket is impossible. To fight verbosity and overthinking, AGENTS.md and skills (stop-overthinking, occams-razor) ban unnecessary tests and invented abstractions. The .dd snippet forces the agent to state a root cause and a confidence percentage: auto-fix is allowed at 95% or higher, while 60–80% requires a second model to double-check. Meanwhile, .ww starts by rebasing the branch onto fresh main so an old thread doesn't waste time fixing something already resolved an hour ago.

Technical blueprint of the six-step cross-review loop between independent AI models, the response compression node, and text-based project memory in docs/adr/ files inside Git.

You can adopt most of these habits without Cloudroom. The open davidondrej/skills repository (MIT license) holds more than 50 ready-to-use skills following the agentskills.io standard, compatible with Claude Code, Codex, Pi, and Antigravity CLI. You install them with one command — though instead of grabbing the whole pile, it's better to pick just 2–4 files that fit your workflow.

# Install specific skills into your project (or use -g for global)
npx skills add davidondrej/skills --skill gemini-review
npx skills add davidondrej/skills --skill adr-verbatim
npx skills add davidondrej/skills --skill git-worktree

# Check model availability before running a cross-review
room-cli provider models acp-antigravity --json

# Independent reviewer flags from skills/gemini-review/SKILL.md
# Primary: --provider acp-antigravity --model gemini-4-neon \
#   --reasoning-level xhigh
# Fallback: --provider acp-cursor --model gemini-4-neon \
#   --reasoning-level xhigh

npx skills add pulls the ready SKILL.md files into your project, and gemini-review already encodes a tested route: it first checks gemini-4-neon at xhigh reasoning via Antigravity CLI, falling back to Cursor CLI if that fails.

Another smart choice in this setup is ditching vector databases and RAG for plain text files in Git. Long-term project memory lives in subsystem summaries (docs/scopes/) and short ADR files (Architectural Decision Record) in docs/adr/. One ADR captures one decision and the reason behind it.

# 0042 — Do not throttle spinners in unfocused tabs

Status: accepted (user, 2026-11-29)

Keep animations smooth by default; do not trade them for
negligible CPU and RAM savings.

A four-line note like that prevents endless loops: a new agent a week later won't decide to "optimize" the animation back down. To keep discipline from slipping, analytics track a LOC / ADR metric — how many lines of production code exist per document. Around 1,000 lines per ADR is a healthy baseline (500 is great, while 5,000 signals that the team is accumulating unwritten rules and agents will soon start breaking past decisions).

Your Own ClickHouse for $5–$8 a Month: Telemetry for Agents

So agents don't have to guess how people use the product, they need access to real data. Here, AGENTS.md draws a hard line: agents never get write access to the production database. Instead, they get read-only Postgres roles (GRANT SELECT) and scoped Supabase tokens. Before designing a feature or investigating a weird bug, the agent queries the data itself to see what's actually happening in production.

Paying hundreds of dollars a month for heavy SaaS analytics like PostHog makes little sense with this stack. Instead, you spin up self-hosted ClickHouse on a standard $5–$8/month VPS (or an existing Linux box). ClickHouse is a columnar database that stores tables by column rather than row, letting it aggregate millions of telemetry events in fractions of a second. Web server logs flow into Supabase, while agents write SQL queries against ClickHouse and generate charts on demand. Once a day, an automated webhook drops a fresh set of roughly 30 charts into Discord, including that LOC / ADR index.

Official architecture diagram of the ClickHouse columnar database for analytical telemetry queries (Source: ClickHouse)

Cheap VPS machines come with a trap, though, and the official ClickHouse documentation warns about it directly. Default settings assume servers with 32 GB of RAM or more. If you launch the standard Docker image on a 2–4 GB box, ClickHouse quickly eats all memory with system log tables and mark caches, then crashes with an OOM error. To prevent that, you place a minimal ch-lowmem.xml file next to the container.

<clickhouse>
  <!-- Cap mark cache at 512 MB for servers with up to 16 GB RAM -->
  <mark_cache_size>536870912</mark_cache_size>
  <!-- Disable system log tables to save memory -->
  <query_log remove="remove" />
  <text_log remove="remove" />
  <trace_log remove="remove" />
  <metric_log remove="remove" />
  <asynchronous_metric_log remove="remove" />
</clickhouse>

This config turns off the five heaviest system tables and caps mark_cache_size. You mount it read-only at container startup and bind port 8123 strictly to 127.0.0.1 so the database isn't exposed to the open internet.

# Run self-hosted ClickHouse with a 4 GB RAM limit
docker run -d \
  --name clickhouse-server \
  --memory=4g \
  --ulimit nofile=262144:262144 \
  -p 127.0.0.1:8123:8123 \
  -v ch_data:/var/lib/clickhouse \
  -v "$PWD/ch-lowmem.xml:/etc/clickhouse-server/config.d/lowmem.xml:ro" \
  clickhouse/clickhouse-server

# Quick check that the database responds over HTTP
curl -s "http://127.0.0.1:8123/?query=SELECT+1"

If it returns 1, your analytics engine is ready. All that's left is adding a read-only user and letting agents run aggregating SELECT queries. For $5–$8 a month, this setup covers 90% of a small product's analytics needs.

10-Minute Script Gates: Zero Tokens When Everything Is Quiet

When you start building background agent loops, it's easy to make an expensive mistake: putting Claude Opus 5.5 on a 10-minute schedule just to check if the server is alive. Ninety-nine percent of the time production is fine, and your token meter spins around the clock for nothing.

A simple engineering filter solves this: a script-gated loop. Every 10 minutes, a cron job runs a plain deterministic system health watch script. It hits HTTP endpoints, checks the database, and reads basic metrics. If everything looks good, the script exits silently — zero tokens spent. Only when a real anomaly shows up does the script spawn an agent thread on a heavy model (Opus 5.5 in xhigh mode) and send it to inspect read-only logs.

#!/usr/bin/env bash
# /etc/cron.d/health-gate: */10 * * * * /opt/ops/health-gate.sh
set -euo pipefail

# Cheap check with no LLM call
STATUS=$(curl -s -o /dev/null -w "%{http_code}" \
  https://api.example.com/health)
if [ "$STATUS" -eq 200 ]; then
  exit 0
fi

# Escalate to an expensive model only on a real failure
room-cli thread create \
  --model claude-opus-5-5 \
  --reasoning-level xhigh \
  --prompt "Health endpoint returned HTTP $STATUS. Inspect read-only logs."

The trick here is that a cheap bash script filters out 99% of empty checks, and the frontier model wakes up at the exact minute you need deep log analysis and root-cause hunting. You can swap room-cli for any other CLI harness or webhook just as easily.

Testing the script gate before your first midnight outage

Before leaving monitoring on autopilot, run health-gate.sh manually with a mocked 500 status code to make sure the agent actually launches with read-only log access. Also add a simple lock file or cooldown check — otherwise an endpoint that stays down for two hours will spawn twelve identical agent threads in a row.

Company-Wide Agents, the Feedback Loop, and Honest Limits

Inside Ondrej's company, agent loops go far beyond writing code: everyone is required to work through them, including accountants, personal assistants, and the video editor. Recurring background jobs handle marketing, sales, backlog prioritization, and even employee onboarding — a dedicated loop picks daily training Loom videos for new hires from an internal playbook library based on their role. Meanwhile, a security loop runs 24/7: automated bug hunting and patching (fuzz-and-fix), vulnerability tracking (CVE watch), that hourly dependency diet, and a twice-weekly simplify sweep to cut unnecessary complexity.

The most interesting piece is a self-improving feedback loop. The app UI has a Report a bug button, and if a user doesn't feel like filling out a form, they can simply tell their agent something like "the app is lagging, tell David." The agent calls room-cli feedback and logs a ticket in Postgres. That mechanism has already collected over 7,000 reports, across 350,000 unique agents launched on the platform. A background loop triages the queue: it fixes obvious small bugs itself with mandatory cross-review, and routes larger or product-level issues to David and three teammates.

Cloudroom interface running parallel subagents across different harnesses in isolated cloud sandboxes (Source: Cloudroom)

Sitting on top of this pyramid is a meta-orchestrator called The Director, built to remove the chore of manually unblocking dozens of threads. First, the plugin goes through 50 rounds of dry-run training: it suggests what you'd reply in each stuck thread and learns from your edits. Once trained, it wakes up every 5–15 minutes and moves threads forward when the next step is 99% obvious — like triggering the standard follow-up chain after a code review finishes. Ondrej is upfront that the plugin is still early with rough edges, and no real error rate for autonomous unblocking has been published yet.

The whole architecture looks impressive, but it needs a clear-eyed filter. David Ondrej is the founder of Cloudroom, and his case study directly promotes his own platform. Claims on cloudroom.dev of an 84% jump in GitHub contributions during the first four weeks for power users switching to Cloudroom — just like his personal 213 commits a day at a 0.1% rollback rate — remain vendor-reported metrics without an independent audit. Commit volume alone doesn't guarantee business results, and exact pricing for paid tiers (Pro, Business, Super, Ultra) isn't listed in the public README; you only see it on the billing page.

Even so, the engineering blueprint itself holds plenty of value. If you don't need 50 cloud Linux VMs tomorrow, you can take almost every working building block separately for free: local git worktree, open SKILL.md skills from the MIT-licensed repo, short ADRs instead of heavy RAG, cross-review between two different models, read-only access to your own ClickHouse, and script gates in front of expensive LLMs. A cloud orchestrator only starts paying for itself the exact moment your laptop first chokes on its twentieth parallel agent.

Want a deep diveVotes help us choose what to break down in detail. This material has 0 votes.
Sources · 6