> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hex65.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Laps

> One lap is one graded run of one agent version through one case, inside containment, against the twin.

`proving run` runs **laps**: each selected case, several times (five by default), in parallel up to a limit. Each lap starts your agent through its adapter, sends it the case's request, and points its MCP servers at the twin.

## How the agent is started

The project file's `agent.adapter` says how:

* `single-shot`: the request on the command line, the answer on standard output.
* `jsonl`: one JSON message per line on standard input and output (the examples use this).
* `http`: your agent's own HTTP server.
* `sdk`: an SDK helper for your code (coming, M3).

The messages are the Lap Protocol. During a lap the agent finds its MCP configuration in `PROVING_MCP_CONFIG`; see [Environment variables](https://docs.hex65.com/reference/environment.md).

## Containment

Each lap's agent runs inside containment, so nothing real happens:

* **enforced\_os**: an operating system sandbox (macOS `sandbox-exec`; on Linux, bubblewrap) denies network access beyond the twin, and reading or writing outside the lap's scratch folder.
* **observed**: the lap runs, and what it reaches is recorded, but nothing is enforced.
* **none** (unenforced): labelled so on every result, and never enough to back a license.

`--require-enforced` (the default in CI) refuses to run without enforced containment. The containment level is printed with every run and every result.

## Void laps

A lap that could not be judged through no fault of the agent is **void**, not failed: the twin missed, the agent crashed before its first action, the machine ran out of something. Void laps are listed with their reason and are not counted in the rate.

## Seeds

`--seed <n>` fixes the run's plan: the same seed plans the same laps in the same order. Once a set has rates, later runs focus their laps where the rate is least certain, so the same seed then plans differently.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.