A real /mow go run in Claude Code
in Multi-agent orchestration
Agent lanes and reviewers can turn every test green while the production settings they never touch stay wrong, and nobody finds out until someone runs the real thing.
- What did the run have to build?
- What did it run on?
- How was the work split?
- What did the build waves and gates do?
- What did the live walk find?
- What did ship-check find after everything passed?
- What did the run cost?
- Strong and weak points
- Summary
This is one real mow go run in Claude Code. The same chat first ran public-launch, which put a private photo app for two people online. This post follows its second run, launch-hardening, which made the app safe to hold real photos. Supabase's Free plan pauses a project after a quiet week and keeps no backups, nothing watched the site, sign-in had no CAPTCHA, and a withdrawn photo stayed in the R2 backup although the consent text promises otherwise. I chose to stay on Free and build around it.
What did the run have to build?
Nine requirements, in five build todos and one walk with me:
| Todo | What it does |
|---|---|
| A | An hourly GitHub Action checks the site, keeps the database awake, and restores a paused project, failing so GitHub emails me |
| B | A nightly dump encrypted to my public key, kept 14 days in private R2 |
| C | Two review leftovers: a half-sent photo says "Didn't arrive"; ingest pins supabase below 3 |
| D | The web login sends a Cloudflare Turnstile token |
| E | The nightly backup deletes R2 folders whose photo row is gone |
| Z | I set the real keys, then we prove a pause, a restore and the CAPTCHA live |
What did it run on?
| Tool | Used for |
|---|---|
| Supabase (Free, Frankfurt) | Postgres, auth, storage, and the Management API that restores a paused project |
| Supabase CLI 3.1.0 | the dump, and throwaway local stacks for the restore drill |
| Cloudflare R2 (EU) | two private buckets, one scoped token each |
| Cloudflare Turnstile | the CAPTCHA, in Managed mode |
age |
encrypting the dump; the private key lives only in 1Password |
| rclone 1.75.1 | the photo backup and the sweep |
| GitHub Actions | the three scheduled jobs, so they run while my laptop is off |
You need a mow setup and a person at the keyboard for anything that creates a key. No agent in this run typed a secret.
How was the work split?
The plan made six lanes in three waves. Figure 1 shows the run as six parts.
- A plan and a grill of three questions.
- Five build lanes, each a test-first agent in its own git worktree.
- Review gates after each wave.
- A live walk where I hold the keys and the orchestrator checks results.
- Ship-check by a fresh agent that built nothing.
- Shipped.
The dashed arrow is the walk sending back fixes no test had caught. Wave 1 ran A, B and C at once; wave 2 ran D and E after another run that owned ops/backup.sh landed. The grill put the secrets in GitHub repo secrets, scoped per project or bucket.
Figure 2 is the run graph, drawn from the tracker.
Figure 3 splits the run between the agents and me.
- I approve the plan and answer three grill questions.
- Wave 1: three build lanes, then a review gate and two fix rounds.
- Wave 2: two build lanes, then a review gate.
- The gate waits overnight for my call on CAPTCHA and the studio.
- I walk the live setup: keys, CAPTCHA, a pause, a restore drill.
- A fresh agent runs ship-check on the finished work.
- One warning goes back for a fix, then the run ships.
What did the build waves and gates do?
The gates sent all five lanes back for at least one fix round. Builder times:
| Lane | Builder time | Tests at the end |
|---|---|---|
| A, health check | 4 min 43 s | 46 shell tests |
| B, encrypted dump | 14 min 14 s | 49 shell tests, a restore drill passing 589 pgTAP tests |
| C, leftovers | 11 min 56 s | jest 1,791 passing |
| D, CAPTCHA | 14 min 17 s | jest 1,807 passing |
| E, backup sweep | 12 min 37 s | 48 shell tests |
The gates found no critical issue, but these mattered:
- Secrets leaked between tools. The dump step could see the R2 keys, and the copy step could see the database URL. Each call now runs with only its own variables.
- The restore was not a working app. The first drill restored a schema dump. The fix restores from the migrations plus the data, proven by all 589 database tests.
- A wrong key looked like an empty library. A key that can't read the tables reads zero rows, and the sweep would have taken that as "every photo is gone" and deleted the backup. It now refuses when it reads no space owners or no photo rows.
- A press before the token. Pressing Enter before Turnstile answered sent a sign-in with no token. The button now waits and sends.
- Copy rules. The chip text used an em dash, which the app's UI rules ban. It became a chip and a short note.
Wave 2's gate stopped for a question only I could answer: with CAPTCHA on, the laptop studio can't sign in to hosted. I chose CAPTCHA on, studio local for v1. That wait cost a night.
What did the live walk find?
The walk found three things every test had passed. I created the buckets, tokens and keys and set 18 GitHub secrets; the orchestrator ran each workflow and read the logs. The health check and the dump went green first time. The backup refused, as designed, because the other account had not agreed to the new consent text yet, but its sweep printed swept 0, proving the R2 token.
Sign-up was on. Before turning on CAPTCHA, the runbook says to confirm sign-ups are off by trying one. The probe was refused, but because Supabase rejects example.com addresses as invalid before it checks the sign-up flag. Reading the flag directly gave "disable_. Anyone with the public key could have made an account. Only our two accounts existed. I switched sign-up off, along with magic links (the app signs in by password only), and raised the minimum password length to 12. The runbook now reads the flag instead of probing. Then CAPTCHA went on: a script sign-in without a token gets 400 captcha_, and I signed in through the widget in a private window.
The pause test settled a guess. The Management API's status list has no PAUSED value, so the health check assumed INACTIVE. I paused the project from the dashboard, and a run started by hand read INACTIVE, sent one restore request, and failed on purpose. GitHub's failure email arrived, and the database answered again about 4 minutes later. The following run was green.
The restore drill broke twice. I downloaded the 82,136-byte encrypted dump and decrypted it by pasting the key at a prompt, so it never touched disk. Loading it into a throwaway local stack failed twice:
- The hosted dump sets a timeout on
supabase_, a role theadmin postgresuser may not change. A real restore into a new project would stop on that line too. - The local CLI's auth tables are older than hosted, and an empty block for a newer column stopped the load.
Both fixes are in the runbook. After them the counts matched the dump, and 20 of 21 database test files passed. The one that fails checks the demo seed's fixed user ids, which real data never has.
The orchestrator's own decrypt script also printed decrypted OK after age failed: set -e without pipefail checks only a pipe's last command. That became a harness lesson.
What did ship-check find after everything passed?
A fresh reviewer that built nothing read the plan, the diff and the evidence. It found no critical issue and judged all nine requirements met. One of its five warnings broke a promise. The backup refuses to delete more than 20% of the R2 folders in one run, which protects against a bad read. But in a small library, one person withdrawing is likely more than 20% of the photos. The nightly job would refuse, and "gone from the backup by the next night" would need me to rerun it by hand.
I had it fixed in the same chat. Each purged photo leaves a tombstone row, so the sweep now lets that many missing folders past the limit. Two review rounds tightened it:
- The allowance counted every purge in the last 7 days, so one purge could excuse a later bad read. It now counts only purges since the last clean sweep, from a marker file the sweep writes to R2.
- A second purge of the same photo kept the old date. It now re-dates the tombstone, using the database's clock and not the laptop's.
- One space's purge could excuse another space's missing folders. The count is now per space.
- An R2 error reading the marker gives no allowance at all.
The backup tests went from 48 to 54. Four deliberate breaks (drop the per-photo count, ignore the marker, write the marker on a single-space run, drop the per-space count) each failed a test. The ingest suite passed with 504 tests.
What did the run cost?
About 208 million tokens: 202.3 million cache reads, 5.3 million cache writes, 0.78 million output. The orchestrating chat used 144.5 million, the lanes 55.7 million, the fix rounds 8.2 million. I have no dollar figure.
Lanes were active 1 h 46 min and fix rounds 48 min, but the run spans 41 hours, because two waits were mine: a night before wave 3, and the walk. It made 25 commits, closed seven board tasks and filed three follow-ups.
Strong and weak points
Where it wins:
- The split held. The plan gave each file one owning lane, so three lanes built at once in wave 1 and two in wave 2.
- The review gates earned their time: a secret leak, a restore that wasn't one, and a guard that could not fire were all fixed before anything ran live.
- Ship-check by an agent that did no building caught a broken promise that the builders and two gates had read past.
Where it loses:
- Tests ran against the local stack, so the open sign-up on hosted was invisible to every lane.
- The runbook's own check could not have shown the open sign-up. A check that expects a refusal has to match the refusal's reason.
- The orchestrator wrote and fixed the sweep itself at close-out, outside a lane. Two independent reviews made up for it, but the gate rule says the author never signs off.
- The photo copy and a full-bucket restore are still unproven live. They wait on the other account's consent.
Summary
- Green tests and clean reviews say the code is right; they say nothing about production settings no test reads.
- A live walk with a person holding the keys found a public sign-up, a guessed API status and two broken restore steps in one session.
- Prove a refusal by its reason: a check that expects "no" must match why it said no.
- A reviewer who did not build the thing found the one requirement the builders had quietly bent.
- Agent time was 2 h 34 min; the calendar time was 41 hours, and the difference was waiting for a person.
- Give every run that touches a hosted service a walk lane with real keys, and write its evidence to a file.
- Turn each runbook check that expects a refusal into one that reads the setting itself.
- Rehearse a restore into a throwaway stack before you need it, and fix the runbook while the failures are fresh.