MirrorDimensions

Docs / Reference

A scenario file

One situation: what is true, how the work arrives and the checks that score it.

Mostly read byQA and test engineers

Print its JSON Schema with mirror schema scenario. mirror validate checks a project's files and reports each problem with file and line.

Top level

Field Type Needed What it is
acts_as ActsAs Yes
cast map No Other people the scenario names: {{ hire.name }}, {{ hire.username }}
checks Checks No
delivery Delivery Yes
devices map No Devices the scenario names; the world must have them
id text Yes
kind functional or injection or permission Yes
limits Limits No
mcp McpNeeds No An MCP variant: the agent works only through an MCP server with these tools
overlay list of map No
title text Yes

ActsAs

Field Type Needed What it is
person text No
role text No

Checks

Field Type Needed What it is
forbidden list of map No
side_effects SideEffects No
success list of map No

Delivery

How work reaches the agent. Fields beyond channel belong to the channel.

Field Type Needed What it is
channel text Yes
from PersonRef No

DeviceRef

A device the scenario names, chosen from the world's own: the first by id with this type (and sensitivity, site) not already chosen. {{ door.id }}, {{ door.room }}.

Field Type Needed What it is
same_site_as text No Another device the scenario names
sensitivity normal or restricted No
site text No
type text Yes

Limits

Field Type Needed What it is
done_when process_exit or idle or issue_closed_or_idle No
max_minutes whole number No

McpNeeds

Field Type Needed What it is
tools list of text Yes

PersonRef

Someone in the world: by role or by person, optionally not the agent's own person, and optionally outside some chat channels (outside: [platform-team]).

Field Type Needed What it is
not acts_as No
outside list of text No
person text No
role text No
without list of text No Skip people with these roles

SideEffects

Field Type Needed What it is
allow list of map of map No

This page is written from the program itself when the site is built.