The manifest, section by section
Every key of the manifest is one the parser takes, and a key it does not know is a problem, not a warning.
Every key below is the one the parser takes. A key it doesn't know is a problem, not a warning: a
misspelt expect would otherwise check nothing and the rig would pass.
Text a person reads in an install sheet (names, where, way_in, questions, commands) must be
plain: no control characters, no line breaks. A name is at most 120 characters, a sentence at most
600. Ids are lower-case letters, digits, dots, underscores and hyphens, 64 at most, starting with a
letter or digit. The manifest is at most 1 MiB.
The head
| Key | Meaning |
|---|---|
schema | Always 1. |
id | The rig's plain id. The installed copy is in a folder of this name. |
name | Optional. What the install sheet calls it. The id stands in when there is none. |
core | The id of the core that drives the app. |
[match]
Which project the rig is for. The app evaluates it, as it does a core's detect, and no code runs.
Every kind of rule you give must hold.
| Key | Holds when |
|---|---|
any_files = ["a", "b/*.json"] | one of these paths or globs exists |
all_files = [...] | each of them exists |
contains = [{ glob = "package.json", text = "..." }] | for each entry, some file matching glob contains text as written |
Match on what only this project has, such as its package name, so the app offers the rig for this
project and for no other. The search skips .git, node_modules, dist, build, .next,
.pitafix and other generated or vendored folders, so a marker inside them never counts.
[app]
What the app under capture needs set, beyond what its core knows about the stack.
| Key | Meaning |
|---|---|
build, run | Commands that make the app in a copy of the commit and start it, for a core that asks the rig how. A web core builds and starts the app itself, so a Next.js rig leaves both out. Each is a list, the program first. |
env | A table of environment variables for the app. A value may hold a blank, such as "{{api.url}}". Names are letters, digits and underscores. |
locale, timezone | The app's locale and time zone, as "en-GB" and "Europe/London". |
clock | The time every frame shows, in RFC 3339, as "2026-08-02T12:00:00Z". Leave it out for the real time. |
preload | Files of the project, loaded into the app's process before it starts. The install sheet lists them. Paths stay inside the project. |
params | A table that fills the dynamic parts of a route, as { locale = "en" }. |
facets | A table of the conditions of a run the rig decides, written into its trace. The keys are locale, role, account, seed, theme, textScale and widthClass. Where the app is drawn, on what device and how taps arrive are the core's to say, so those keys are refused. |
[[services]]
What the app calls: a backend, a database, a third party. Each service says how it stands behind the
app during a capture, with run.
| Key | Meaning |
|---|---|
id | Plain id, unique among the services. A blank names it as {{id.url}} or {{id.port}}. |
name, where | For the person: what it is, and where the real one is (a folder on this Mac, a compose file, a host). |
run | "fixture", "local" or "remote". Required. |
env, facets | Added to the app's env and the run's facets while this service stands behind the app. |
run = "fixture": the rig answers for the service with its own code. It takes:
| Key | Meaning |
|---|---|
handler | Required. A file in the rig's folder that answers for the service, as "handlers/api.mjs". It is the one place a rig carries code. |
always | true keeps the fixture answering the app's own process whatever data a journey runs on, as for a font the build fetches. What a page asks on staging still goes to staging. |
run = "local": the service is started on this Mac. It takes start, ready, seed and reset.
| Key | Meaning |
|---|---|
start | Required. The command that starts it, a list, as ["bin/rails", "server", "-p", "{{port}}"]. |
ready | How to tell it is up: { http = "{{api.url}}/up" } for an address that answers (here the service's id is api), or { port = 3000 } for a port that takes a connection. |
seed, reset | Commands that fill its data and put it back. |
run = "remote": the service is reached where it is. It takes hosts and app_host.
| Key | Meaning |
|---|---|
hosts | Required. Every host the capture may reach for this service, as DNS names with no scheme, port or wildcard, and at least one dot. |
app_host | The name the app is served under there, for a key that is bound to it. |
A key of another kind of service is refused: handler on a remote one, hosts on a fixture, and
so on. The data a service stands for is fixture for a fixture, local-core for a local service
and staging for a remote one. People and journeys name that data with their own data key.
[sign_in]
| Key | Meaning |
|---|---|
where | One sentence for the person and the agent that reads the rig: where signing in lives. It does nothing by itself. The people below get in. |
[[people]]
A test person a journey signs in as. A person gets in one way: by cookies the rig sets, or by steps that sign in. Giving both or neither is refused.
| Key | Meaning |
|---|---|
id, name | Plain id, unique among the people; and a name for the person. |
data | The data the person belongs to: "fixture" (the default), "local-core" or "staging". The rig must have a service that runs that way. |
cookies | A list of { name = "session", value = "..." }, or { name = "session", ask = "the question" } where the capture asks the person for the value and keeps the answer nowhere. A cookie has a name and either value or ask, not both. ask_name names the question where the cookie's own name won't do, and needs an ask. |
steps | The steps that sign this person in, in the form of steps. They may not hold a sign_in step. |
[[states]]
A screen or scenario a tap alone doesn't reach, and the way in. The sheet shows these words to the person, so write them as plain sentences.
| Key | Meaning |
|---|---|
id, name | Plain id, unique among the states; and a name, as "An order paid thirty days ago". |
blocked_by | What stands in the way, in words. |
way_in | Required. How the rig gets there, in a sentence. |
prepare | A list of commands, each a list, run before the app starts. |
as | The person to sign in as. It must be one of [[people]]. |
open | The address that shows the state, a path of the app that begins with /. |
A journey puts a state in its place with a state step, which uses as and open. See
Runs, states and sign-in.
[steps]
Named runs of steps that a journey puts in its place with use. The names are keys, and each
holds a list of steps:
[steps]
home = [{ id = "open-home", open = "/en", label = "Open the home page" }]
signed-in = [
{ use = "home" },
{ id = "sign-in", sign_in = "shopper", label = "Sign in with the fixture session" },
]A run may use another. A run that uses itself, directly or through others, is refused, and so is a nesting more than eight deep.
[[journeys]]
One walk through the app. The core walks its steps in order and leaves a step record for each.
| Key | Meaning |
|---|---|
id | Plain id, unique among the journeys. |
name | Required. What a person does in it. |
section | The group it sits in on the map. |
role | Who walks it, as "shopper". Shown to the core. |
intent, expects | What the walk is for, and what must be so at its end, each a sentence. |
sources | A list of files that describe or test the flow, such as ["e2e/refund.spec.ts"]. |
data | The data it runs on: "fixture" (the default), "local-core" or "staging". A rig with no service that runs that way refuses it. |
in | The id of a state the app is prepared in before it starts. |
whole | true says the journey goes through all of the app it can reach, where others walk one flow, as a walk's whole does in a core's answer. See What works today. |
steps | Required, at least one. See Steps. |
[[screens]]
The rig's claims. See Screens: what the rig claims.
[crawl]
Where a core's own exploring starts, as whom, and what it leaves alone.
| Key | Meaning |
|---|---|
start | The address the crawl starts at, a path that begins with /. |
as | The person it signs in as. |
deny | A list of words naming what it never taps, such as a language switch. |
[crawl.staging] | The same three keys for a crawl on staging. It has no [crawl.staging.staging], and the rig needs a remote service for it. |