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

# Verification recipe

> The recipe format — how Remigent builds, tests and runs each repository in its sandbox, which services it starts, and which hosts it may reach.

A **recipe** tells Remigent how to work with one repository: the environment, setup, services, build, test and run
commands, and where the app answers once it's running. Remigent builds its sandboxes **only** from the confirmed
recipe.

Remigent proposes a recipe during the [onboarding interview](https://docs.burakov.net/remigent/setup.md) from what it
finds in the repository; an **Owner or Admin** confirms it. The confirmed recipe is shown on the project's page
(**Projects** → the project → **Recipes**), and a copy arrives in the repository as `.remigent/recipe.yaml` by pull
request. Changes go through the same interview (**Onboarding**) and are confirmed the same way — the copy in the
repository follows.

## Example

A Vue front end with an API that needs Postgres and Redis:

```yaml theme={null}
schemaVersion: 1
stack: node
image: standard
workdir: .
setup:
    - npm ci
services:
    - name: postgres
      version: "18"
      env:
          POSTGRES_PASSWORD: test
    - name: redis
env:
    DATABASE_URL: postgres://postgres:test@127.0.0.1:5432/postgres
build: npm run build
test: npm test
lint:
    - npm run lint
serve: npm run preview -- --port 5173
health: http://127.0.0.1:5173/
routes:
    - /
    - /login
    - /settings
egress:
    - api.example.com
web:
    url: http://127.0.0.1:5173/
api:
    baseUrl: http://127.0.0.1:3000/
    openapi: openapi.yaml
```

## Fields

| Field | What it is | Default |
| - | - | - |
| `stack` | `node`, `python`, `rust`, `go` — full check coverage — or `other` for everything else | `other` |
| `image` | `standard` or `full` (Remigent's sandbox images), or your own image reference, optionally pinned by digest | `standard` |
| `workdir` | The sub-directory commands run in — for monorepos and shared repositories | `.` |
| `setup` | Commands that prepare the sandbox, in order (up to 20) | none |
| `services` | Up to 6 services started next to the app: `postgres`, `redis`, `mysql`, `mongodb` — each with an optional `version` and `env` | none |
| `env` | Non-secret environment variables for every command | none |
| `build`, `test`, `serve` | The build, test and run commands | none |
| `lint` | Your linters (up to 10 commands) | none |
| `health` | A URL inside the sandbox that answers once the app is up | none |
| `routes` | Key routes the judge always checks | none |
| `egress` | Extra hosts the sandbox may reach — a host name or `*.domain` | none |
| `web` | Turns on the web-UI checks: the app's `url`, plus `viewports` and `themes` | off |
| `api` | Turns on the API checks: the `baseUrl`, and an optional `openapi` document path | off |
| `timeouts` | `setupSeconds` (30–3600) and `commandSeconds` (30–7200) | 900 / 1200 |
| `platform` | `linux`, or `macos` for iOS and macOS builds — such a repository's work runs only on a [self-hosted runner on a Mac](https://docs.burakov.net/remigent/self-hosted-runner.md#ios-builds) | `linux` |

With `web` on, pages are checked at **1280×800** and **390×844**, in **light** and **dark**, unless you list your own
(up to 4 viewports). See [Verification](https://docs.burakov.net/remigent/verification.md) for what each layer runs.

## Network access

A sandbox can reach only **package registries** and **your git host**. Every other host the build or tests need — a
third-party API, a private registry — must be listed in `egress`, and you confirm each one.

## Test secrets

Some tests need a credential — a sandbox payment key, a test account's password. Store it in the dashboard and
**attach it to the recipe**; it's then available to that repository's sandboxes as an environment variable. Test
secrets never appear in `recipe.yaml`, and they're the only secrets that knowingly enter a sandbox — model keys and git
credentials never do.

> [!TIP]
>
> Keep `serve` and `health` accurate: the web and API checks need the app running to test it.


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