outerlayer runner process. It claims the items that your
factory queues with Build, and it builds each one. A runner on a host, a
machine you control, is a self-hosted runner. Each build and its code stay on
that host, unless you use a managed sandbox. The
platform stays at app.outerlayer.ai. Self-hosting the platform
itself is not available yet.
A runner takes work from two queues:
implementbuilds an item from its issue.amendanswers the review threads on an item’s open pull request.
runner.commands keys in
The config file say when.
You decide two things on the host: how each build is isolated, and which
command starts your agent. outerlayer runner init sets both for you.
Choose how to run the runner
Find your machine in the first column. The last column names the page that sets it up. “Builds get” is the isolation each build records.Four ways to run the runner. The table adds Docker Desktop on Windows and managed sandboxes.
On any other machine,
outerlayer runner init refuses and names the fix for
that machine.
With a managed sandbox, the runner and its credentials stay on your machine.
OuterLayer bills the build’s time as managed build-hours.
Three limits apply:
- The runner image cannot run microVM builds.
- A runner installed on a Mac, or in WSL2, does not use Docker Desktop.
- A host that builds in containers needs Docker’s Buildx plugin, version 0.18 or later. The runner image carries its own.
What isolation a build gets
The hooks in the runner’s config file decide what a build can reach on the host.outerlayer runner init picks the strongest isolation the machine
supports.
builtin:vmruns each build in a Firecracker microVM with its own kernel and no network device. Every connection goes through the runner’s tunnel.builtin:containerruns each build in a container with no host files and no network but loopback. It shares the host’s kernel.- Your own hooks isolate whatever your provision hook sets up. See Write your own hooks.
What happens to one build
- Claim. The runner claims an item that someone queued with Build on
the Work page, or with
outerlayer work build. - Provision. The provision hook makes the working directory, such as a clone inside a container of its own.
- Command. Your command starts the agent in that directory. The runner renews its claim while the build runs.
- Proofs and judge. When the command exits 0, the runner records the item’s proofs, judges its criteria and runs the repository’s judges. See The proofs stage and The judge stage.
- Sync. The runner uploads the build’s sessions.
- Cleanup. The cleanup hook runs, however the command ended.
- Outcome. The runner decides the outcome, ends the claim and reports the outcome.
When the command exits 0
An exit of 0 says only that the agent’s session ended. So the runner reads the item’s verdict before it decides the outcome:ok: the item has a pull request and its verdict is pass. A person’s review does not count. A build that recorded that no change is needed also endsok.incomplete: anything else. The reason names what is missing: no pull request, each row that failed or has no result, or a status that could not be read.
not passing: Acceptance criteria: Failed (failing: AC-13-01, AC-13-02).
A judge’s result can arrive after the build ends. So the runner reads a result
that is not passing again for up to 5 minutes before it decides.
An incomplete build uses up its build request, as an ok build does. No
runner takes the item again until a person asks for another build. To ask,
select Rerun on the item page, or run outerlayer work build --item <n>.
See Rerun a Stuck item.
Which items a runner takes
A runner takes one item for each free slot. A build starts within seconds of its request. The runner also looks for work everyrunner.pollSeconds, 60 by
default.
The runner takes work in this order:
- A draft spec to revise, then criteria to record. A runner with hooks of
your own, or with
repos.includeorrepos.exclude, takes neither. - The amend queue, if the runner takes
amend. - A code review of a new commit, if the runner has built-in hooks.
- The implement queue, if the runner takes
implement. - Runs of schedule automations.
repos.include or repos.exclude rules skips items for other
repositories. The runner log says how many items its rules skipped. See
The config file.
Personal and shared runners
A runner is personal or shared. It depends on its runner key.- A personal runner has a key that belongs to one member.
outerlayer runner initmakes one when you approve its request in the browser. It builds only the work that member asked for. - A shared runner has a key made in Settings → API keys. It builds work that no member with a personal runner asked for. Give it an API key, not a Claude subscription: a subscription belongs to one person.
Where to go next
- Set up your first host: install a runner and build your first item.
- Run the runner as a service: size a host, move a runner, run several runners, or remove one.
- Update a runner: the commands for each way a runner runs.
- What a build gets: what a container or microVM build gets and can reach.
- Give a build instructions: text for the agent of one build.
- Troubleshoot builds.