One control plane for AI coding agent fleets. Agents lease territory before they write, queues stay visible, and every merge is replayed and verified — laptop, CI, and cloud on one map.
Scale the fleet to 48 and lease packages/core for agent-07, exclusive.
managent — fleet session
Fleet session
Forty-eight agents, one codebase, no collisions.
One control plane: inspect the territory, scale the fleet from 11 agents to 48 across eleven harnesses, and watch it as aggregate rollups rather than a wall of per-agent lines.
The scheduler is the product. It preempts a low-priority lease so a high-priority one can land, admits a 17-deep queue under CI backpressure, gates work on semantic impact, and batches every branch through one merge-replay pass.
agent-09packages/core/src/lease.tsclaude · waiting on agent-07pos 1eta 0m18s•••
agent-31packages/ui/src/table/**gemini · waiting on agent-23pos 1eta 0m27s•••
agent-44packages/ui/src/table/**openclaw · waiting on agent-23pos 2eta 1m04s•••
agent-16infra/terraform/queue.tfcursor · waiting on agent-33pos 1eta 0m12s•••
agent-26apps/web/app/(fleet)/**claude · waiting on agent-12pos 1eta 0m41s•••
Leases
Every file an agent touches, held under an exclusive lease.
The ledger is the whole contract. A lease names one agent, one harness and one glob, and nothing else can write inside it until the lease is released.
At 48 agents that means 41 live leases and 17 waiters, ordered per glob with a position and an estimate. Requests that collide queue instead of failing, and hand over the moment the holder commits.
Verified against main before the merge, not after.
Managent batches every leased branch into groups, replays each group onto the current head commit by commit, and re-runs only the checks the change actually touches.
Batch #4182 took 12 branches in 6 groups. Group 4 hit a collision, was requeued into group 5 and replayed in the right order — caught in the replay, not in the merge queue. Twelve PRs landed, nothing escaped.
Ten agents open ten branches against the same service inside the same hour, and CI is the first place they discover each other. Managent hands out territory at dispatch time instead, so the pull requests arrive already disjoint.
0 CONFLICTS WITHIN RESPECTED LEASES / n=716 REPLAYED PAIRS
A monorepo concentrates every team's hot files into one tree, and agents pile onto the same handful of them. Hotspot territories drop to a 15-minute lease so a stalled agent never parks on shared ground.
TTL 2 h DEFAULT / 15 min ON HOTSPOTS
PLATE 02 · WORKSPACE OVERVIEW, ONE TREE, MANY TERRITORIES
03 / 04
HARDENED [####] block + audit
MERGE_ENFORCED [###.] block at merge
LOCAL_ENFORCED [##..] block at write
ADVISORY [#...] observe only
^
| tighten one rung at a time
ENTERPRISE
Enforcement is a ladder, not a switch. Start advisory and watch the queue, then tighten one rung at a time to merge-enforced and hardened without changing the lease model underneath.
Drive-by agent contributions arrive from eleven different harnesses, and none of them can see the others' work in flight. One control plane makes every claim visible before the diffs meet.