the controls

Budgets, leases, and a person in the loop.

A run is a batch of agent tasks with one spending limit, one cap on how many run at once, and one switch to pause them all. It's a Kubernetes resource, so you can read it, diff it in git, and hand it to an auditor.

admission

What has to be true before a task runs.

The scheduler admits a task only when the tasks it depends on have merged, the packages it wants are free, there's budget left, and the run is under its concurrency cap. Each admission reserves an estimate against the budget until the agent reports what it actually spent. So a run stops taking on new work before it overruns, rather than after.

Fleet migration — launch plan (dry run) read-only
fleet.v1.FleetService/LaunchPlan · 76 repos
repofixesblast radiusgate
rules_cc_crossC3 · C6blast:rules_cc_cross://srcgreen BuildRun
plugin-depotC6blast:plugin-depot://uigreen BuildRun
rules_leanC3blast:rules_lean:*serializes repo
…73 more
nothing exists yet — no branch, no MR Launch fleet migration
DispatchAll(dry_run=false)
FanoutRun · tbzl-guards Running
17merged 4running 6queued 2blocked 1failed
budget · maxTokens 2.1M / 3.0M
admission stops when the next task would exceed it
concurrency4 leasesHeld4
⏸ pause admit nothing · in-flight agents finish

The launch plan, then the run it creates. Values illustrative.

leases

Two agents want the same package. One waits.

Each task declares the Bazel packages it'll touch. Before admitting it, the scheduler takes a lease on every one of them. Leases are all-or-nothing, they expire if the agent dies, and they're released when the change merges. Values illustrative.

migrate-toolchain-7f3 Running
spec.blastRadius.packages
  • //src/toolchain
  • //src/rules
  • //tests/toolchain
blast:tbzl://src held
//src/rules the contested region
fix-flaky-cache-9c2 Blocked
spec.blastRadius.packages
  • //src/rules
  • //src/cache
blast:tbzl://src waiting
status.blockedReason
conflict: lease blast:tbzl://src held
blastRadius.full: true

A toolchain, MODULE.bazel, or .bazelrc change can reach anything in the repo, so it takes blast:tbzl:* and serializes the whole repo rather than pretending to a narrow radius. Leases carry a TTL — a scheduler or agent that dies releases its region instead of wedging the fleet.

reach

An agent can only do what you can do.

  • Your identity goes with every tool call. The code host records a person, not a bot account.
  • Each capability's own tool server decides what's allowed. The agent host only aggregates them.
  • A write is shown as a preview first. It only happens on a later turn, after you approve it. An agent can't ask and act in the same breath.
asking a person

When an agent needs to ask, it waits.

If an agent needs a person, it raises a prompt, checkpoints its work and its session, and suspends. The prompt outlives the process. When someone answers, the agent picks up from the checkpoint. The same checkpoints run every five minutes and on shutdown, so a crash costs you a few minutes of work, not the whole run. Your verdict and the agent's verdict are recorded separately, and neither overwrites the other.

A change where the human verdict is approved and the agent verdict is changes requested; the human review is recorded without changing the agent's finding
The person approved and the agent asked for changes. Both are recorded. From the design files.
The macOS menu-bar popover: ongoing work across workspaces, four running, two queued, one needs you
The menu bar shows you the one that's waiting on you. From the design files.

Next: how agents coordinate →·what's built today →