Skip to Content

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

KeyMeaning
schemaAlways 1.
idThe rig's plain id. The installed copy is in a folder of this name.
nameOptional. What the install sheet calls it. The id stands in when there is none.
coreThe 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.

KeyHolds 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.

KeyMeaning
build, runCommands 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.
envA table of environment variables for the app. A value may hold a blank, such as "{{api.url}}". Names are letters, digits and underscores.
locale, timezoneThe app's locale and time zone, as "en-GB" and "Europe/London".
clockThe time every frame shows, in RFC 3339, as "2026-08-02T12:00:00Z". Leave it out for the real time.
preloadFiles of the project, loaded into the app's process before it starts. The install sheet lists them. Paths stay inside the project.
paramsA table that fills the dynamic parts of a route, as { locale = "en" }.
facetsA 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.

KeyMeaning
idPlain id, unique among the services. A blank names it as {{id.url}} or {{id.port}}.
name, whereFor 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, facetsAdded 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:

KeyMeaning
handlerRequired. 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.
alwaystrue 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.

KeyMeaning
startRequired. The command that starts it, a list, as ["bin/rails", "server", "-p", "{{port}}"].
readyHow 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, resetCommands that fill its data and put it back.

run = "remote": the service is reached where it is. It takes hosts and app_host.

KeyMeaning
hostsRequired. Every host the capture may reach for this service, as DNS names with no scheme, port or wildcard, and at least one dot.
app_hostThe 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]

KeyMeaning
whereOne 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.

KeyMeaning
id, namePlain id, unique among the people; and a name for the person.
dataThe data the person belongs to: "fixture" (the default), "local-core" or "staging". The rig must have a service that runs that way.
cookiesA 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.
stepsThe 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.

KeyMeaning
id, namePlain id, unique among the states; and a name, as "An order paid thirty days ago".
blocked_byWhat stands in the way, in words.
way_inRequired. How the rig gets there, in a sentence.
prepareA list of commands, each a list, run before the app starts.
asThe person to sign in as. It must be one of [[people]].
openThe 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.

KeyMeaning
idPlain id, unique among the journeys.
nameRequired. What a person does in it.
sectionThe group it sits in on the map.
roleWho walks it, as "shopper". Shown to the core.
intent, expectsWhat the walk is for, and what must be so at its end, each a sentence.
sourcesA list of files that describe or test the flow, such as ["e2e/refund.spec.ts"].
dataThe data it runs on: "fixture" (the default), "local-core" or "staging". A rig with no service that runs that way refuses it.
inThe id of a state the app is prepared in before it starts.
wholetrue 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.
stepsRequired, 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.

KeyMeaning
startThe address the crawl starts at, a path that begins with /.
asThe person it signs in as.
denyA 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.

On this page