/mow: multi-agent orchestration for AI coding agents

in Multi-agent orchestration

One AI chat building a dozen todos runs out of context and forgets its own decisions, and a dozen fresh chats each rediscover the plan and edit the same files.

  1. What is mow?
  2. What does a lane agent get?
  3. How does mow decide what runs in parallel?
  4. What happens during /mow go?
  5. What do the gates catch?
  6. How is a lane kept from running forever?
  7. Where does a human step in?
  8. What does a run cost?
  9. Where does mow lose?
  10. Summary

mow gives each agent only the context its todo needs, and settles who owns which file while planning, not at merge time.

Every mechanism below is shown in one real run, site-hardening, which added security scans, a rate limit, a latency budget and tracing to this site on 13-OCT-2026. It ran 6 of 8 lanes and 2 of 4 waves in 2:02:03 of chat time, for $41.68 at list prices; waves 3 and 4 had not started by 31-OCT-2026. The figures are drawn from its tracker.

Tool Used for
Claude Code the orchestrating chat and its subagents
git worktrees one checkout per lane
Python, taskman.mow the gate scripts that refuse
taskman the board of todos and decisions
tracker.json one state file per run

What is mow?

mow (Multi Agent Orchestration Workflow) is a skill that turns a finished plan into one brief per todo, groups the briefs into waves, and runs each wave as parallel subagents with a review gate after it. It has no runtime: it drives the host's subagents and git, and scripts hold the checks an agent might forget. The accent arrow is the gate's findings going back to the lanes.

plandecisions, live chat briefs + INDEX1 per lane, wave map orchestrator/mow go lanesown worktree each tracker.jsonevery event review gatereads the whole wave fix round
Figure 1. What a mow run is made of.

/mow plan writes the briefs and a wave map, /mow ready grills the plan one question at a time, /mow go runs the waves, and /mow list shows active runs. Plan runs in the old chat, where the unwritten decisions live; after it everything is on disk, so go runs anywhere. In the ai-wow repo, 120 plans have a dispatch folder and 114 are shipped, from 389 brief files (counted 2026-11-03).

What does a lane agent get?

Its brief and nothing else, so a decision left out gets made again, maybe the other way. /mow plan refuses to write the folder until every brief passes a thin-brief check:

Section Passes when Refused when
Goal a concrete done-state an echo of the todo title
Context & decisions two facts a blind agent needs "see plan", "see chat"
Files in scope real paths owned, plus tests it will break empty, "TBD", "the backend"
Do NOT a real scope trap "don't break things"
Acceptance check a SHALL line, a GIVEN/WHEN/THEN case, a command "tests pass"
QA contract a failing test first for a bug, a screenshot for UI missing on a code lane

Site-hardening had 8 briefs of 81 to 123 lines. Part of lane C's, the rate limit:

- Mechanism and numbers are settled (d#18, operator grill Q1): the module above,
  one zone per_ip, key {remote_host}, events 120, window 1m.
- There is no proxy in front of Caddy, so {remote_host} is the client IP.
  Do not trust X-Forwarded-For (anyone can send it).

## Do NOT
- Do not add an app-level limiter (slowapi or similar) or a Python dependency.

Each line closes a choice. Briefs cite decisions by id; a script expands them into one hydrated-specs.md. A thin brief is worse than none: the lane follows it to the letter.

How does mow decide what runs in parallel?

From the briefs' file lists, before anything runs: two lanes editing one file make a conflict that stops the wave. Two todos share a wave only when their files don't overlap and neither needs the other's output; otherwise they share a lane or go in consecutive waves. Destructive work, or work outside the repo, runs in the foreground with me.

W1AscansBzapCrateDqualityW2EspeedFtracingW3GweeklyW4Zrunbook W1AscansBzapCrateDqualityW2EspeedFtracingW3GweeklyW4Zrunbook
Figure 2. Site-hardening's four waves, as its tracker draws them.

Yellow landed after a fix round; grey has not started. Wave 1's four lanes own disjoint files. F waits for wave 2 because it edits deploy.yml after A and C; G's live check needs F deployed; Z documents the rest.

Preflight also stops on overlap with any other active run's owned files. A lane releases its files once its wave lands.

What happens during /mow go?

Preflight, then each wave in turn; no wave starts until the last one landed and passed review.

/mow go plan readygrilled preflightbriefs, overlap, waits lanes buildown worktree each review gateon the landed wave ✕ findings? ship-checkthen close-out shipped fix rounda lane closes the finding operatorrecover, wait last wave Critical re-review 3rd failed round clear, more waves: the next wave's lanes 1 2 3 4 5 6
  1. Preflight refuses an ungrilled plan, a thin brief, a file owned twice, or an uncleared wait on another run.
  2. The wave's lanes build in parallel, each in its own worktree, and the wave lands as one commit.
  3. Reviewers in a separate context read the whole landed wave.
  4. Clear with more waves to go: the next wave starts. Clear after the last wave: go to step 6. A Critical: step 5.
  5. A fix round closes the finding and is reviewed again. After a third failed round on one finding, the run stops for me.
  6. Ship-check judges every requirement, and close-out refuses the shipped flip until the verdict, the action report and the tracker are complete.
Figure 3. One run of /mow go.

Each lane builds in its own git worktree. Reviewers who wrote none of it read the whole landed wave, since only they see the seams. Lanes never commit. land_wave merges them, checks every path against the wave's owned files, and commits exactly those. It used to leave them uncommitted, and another session's sync committed a whole unreviewed wave under its own name (What happens when two agent sessions share a checkout).

build review fix round 21:30 21:45 22:00 22:15 22:30 22:45 23:00 23:15 23:30 UTC site-hardening, waves 1 and 2 A ci 15 min · 116k lane A builds · 21:31–21:46 UTC B zap 14 min · 95k lane B builds · 21:31–21:44 UTC C rate 14 min · 115k lane C builds · 21:31–21:44 UTC D quality 17 min lane D builds · 21:31–21:48 UTC gate 38 min · 487k wave 1 gate: review · 21:49–21:57 UTC wave 1 gate: review · 21:49–21:55 UTC wave 1 gate: fix round · 21:57–22:16 UTC wave 1 gate: review · 22:16–22:20 UTC E perf 15 min · 107k lane E builds · 22:20–22:35 UTC F tracing 15 min · 160k lane F builds · 22:20–22:35 UTC gate 63 min · 354k wave 2 gate: review · 22:36–22:42 UTC wave 2 gate: review · 22:36–22:43 UTC wave 2 gate: fix round · 22:43–23:00 UTC wave 2 gate: review · 23:00–23:10 UTC wave 2 gate: fix round · 23:10–23:21 UTC wave 2 gate: review · 23:21–23:32 UTC
  1. 21:31 site-hardening, waves 1 and 2, wave 1: lanes A, B, C and D build until 21:48; gate until 22:20, 3 review calls and 1 fix call.
  2. 22:20 site-hardening, waves 1 and 2, wave 2: lanes E and F build until 22:35; gate until 23:32, 4 review calls and 2 fix calls.
Figure 4. Site-hardening's waves 1 and 2 on 13 October (UTC), per lane.

Each row is a lane: build, then review and fix-round bars, with agent minutes and tokens. Building took 17 of wave 1's 49 minutes. Wave 2's lanes built in 15 minutes; the gate and two fix rounds took 57 more. Every event goes into the tracker as it happens, so another chat can resume the run.

What do the gates catch?

Seams: each lane tests its part against its own idea of the others. Five checkpoints stand before "shipped"; two are scripts, three are agents.

Checkpoint When Stops
preflight before wave 1 an ungrilled plan, a thin brief, a file owned twice, overlap with another run
verification each wave a lane with no verification record or an unmet QA item
review gate each wave stack reviewers, plus security when prompts or tools changed
ship-check last wave any plan requirement unmet
close-out shipped flip a missing or stale verdict, a skeletal report; no --force

A Critical is fixed and re-reviewed before the next wave; warnings go onto one checklist task. Reviewers run at the top model tier: one weaker than the builder passes everything. Every gate, with its source, is on the mow docs page.

Site-hardening's gates found no Critical. Wave 1 had 7 warnings, one fix round, and 1 warning left; wave 2 had 3 and two fix rounds, and its last re-review closed both warnings still open. Wave 2's latency lane, E, took seven agent calls in 1:12:19, and each review found something the call before had left:

Call Found or did
1. Builder a k6 load test with a latency budget, seen failing first
2. Backend review the test measured a site with 1 post
3. Security review traces sent each visitor's IP, browser and full query string
4. Fix round 1 stripped those, tested at 20 posts; 3 speed fixes took home p95 from 575-745 ms to 21-29 ms
5. Re-review the new cache raced: 500 errors under concurrent requests
6. Fix round 2 closed the race; every new test guard mutation-checked
7. Re-review closed; then 25 of 25 runs on Linux

The speed fix made the race; a gate that only re-checked the first findings would have shipped it. A test written with its fix shares its blind spot, so each guard is checked by breaking the code and watching it go red (A guard you never saw fire isn't a guard). The same run, for a reader new to agent teams: Supervisor agents catch what worker agents miss.

How is a lane kept from running forever?

With a turn cap per agent type. Claude Code has no time or token limit per subagent, only maxTurns, so the harness sets it from measured runs (2026-10-05):

Agent type Runs p50 p99 Max Cap
tdd-builder 427 48 212 272 320
backend-reviewer 129 11 51 69 80
llm-sec-review 43 12 46 46 70

The cap is the larger of the longest run and 1.5 × p99, rounded up to ten. No measured run would have been cut. A capped lane has no verification record, so the gate refuses it. It gets one resume with a fresh cap; capped again, it goes to a narrower lane or to me. A hook refuses the 4th identical failing call.

Where does a human step in?

At five fixed points, for trade-offs and accounts the agents can't hold:

  • The grill, in /mow ready. Site-hardening's wrote 7 decisions and 7 requirements before any lane ran.
  • Foreground lanes, like G's cloud routine.
  • A merge conflict: the ownership check failed, so no agent resolves it.
  • A third failed fix round on one finding.
  • A lane capped twice.

The build log gets a line each time I correct, unblock, decide or rescue. The run that built this site has 9: 7 decisions, one correction, one design change. The other four runs have none yet, so the runs page shows "-", not a 0 that looks like a count.

What does a run cost?

Checking cost more than building. The five runs behind this site cost $169.22 at API list prices, priced from their session logs:

Phase Cost Share
Plan (the chat before wave 1) $1.02 0.6%
Build lanes $49.29 29.1%
Review $45.44 26.9%
Fix rounds $23.21 13.7%
Coordinate (the orchestrating chat after wave 1) $50.25 29.7%

A run cost $19.45 to $49.36. Site-hardening's rework, fix cost over build cost, was 80%, the highest of the five; the lowest was 19%. Coordination costs as much as building; my unmeasured guess is the orchestrator re-reading briefs and findings each wave. The review share bought the trace leak and the cache race.

Where does mow lose?

mow is expensive and intricate. The skill is 1,878 lines across six files; its gate package is 28 Python modules and 9,267 lines (counted 2026-11-03). On 8 October several open defects sat in the gates themselves, so a run could stop itself. The limits below are from that date.

Limit What it costs
Wave maps are often serial a shared deploy file forces lanes apart; the speed-up is below the lane count
Worktrees aren't full environments no virtualenv or ignored env files; in one project every lane test errored at import while lanes still reported coverage
Turn caps are per agent type a docs lane and a multi-module build share one 320-turn cap
Overlap is checked per repo two runs in different repos editing one shared file aren't caught
Claude Code first Cursor has no worktree isolation, so lanes share one tree

One-file work skips mow. Briefs, a grill and two reviewers per wave pay only when several todos would collide.

Summary

  • A lane agent knows only its brief. Put decisions, file ownership and scope traps in it; refuse a brief that says "see plan".
  • Decide parallelism from file sets. When two todos touch one file, run them in order.
  • Gate the whole wave and re-review every fix. In site-hardening the gate found a privacy leak, and the re-review found the race the fix made.
  • Expect checking to cost more than building: 41% against 29% over five runs.
  1. Start with 3 to 5 todos and a review gate after each wave, before any parallel lanes. I'd do this first: the gate caught the defects.
  2. Add the thin-brief check next, as a script that refuses to write the briefs.
  3. Log every time you step in, so your time sits next to the token cost.